mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-08 11:41:10 +00:00
Remove "normal" from usage of create command
This commit is contained in:
parent
1b34ba1fbd
commit
443cab6df5
@ -16,7 +16,6 @@ import de.epiceric.shopchest.ShopChest;
|
||||
import de.epiceric.shopchest.config.Config;
|
||||
|
||||
class ShopTabCompleter implements TabCompleter {
|
||||
|
||||
private ShopChest plugin;
|
||||
|
||||
ShopTabCompleter(ShopChest plugin) {
|
||||
@ -27,7 +26,7 @@ class ShopTabCompleter implements TabCompleter {
|
||||
public List<String> onTabComplete(CommandSender sender, Command command, String label, String[] args) {
|
||||
if (command.getName().equalsIgnoreCase(Config.mainCommandName)) {
|
||||
|
||||
List<String> createSubCommands = Arrays.asList("admin", "normal");
|
||||
List<String> createSubCommands = Arrays.asList("admin");
|
||||
List<String> configSubCommands = Arrays.asList("add", "remove", "set");
|
||||
List<String> areaShopRemoveEvents = Arrays.asList("DELETE", "RESELL", "SELL", "UNRENT");
|
||||
List<String> townyShopPlots = Arrays.asList("ARENA", "COMMERCIAL", "EMBASSY", "FARM", "INN", "JAIL", "RESIDENTIAL", "SPLEEF", "WILDS");
|
||||
|
@ -2265,7 +2265,7 @@ public class LanguageUtils {
|
||||
messages.add(new LocalizedMessage(Message.COMMAND_DESC_HEADER, langConfig.getString("message.commandDescription.header", "&6==== &c/%COMMAND% &6Help")));
|
||||
messages.add(new LocalizedMessage(Message.COMMAND_DESC_FOOTER, langConfig.getString("message.commandDescription.footer", "&6==== End")));
|
||||
messages.add(new LocalizedMessage(Message.COMMAND_DESC_CREATE, langConfig.getString("message.commandDescription.create", "&a/%COMMAND% create <amount> <buy-price> <sell-price> - Create a shop.")));
|
||||
messages.add(new LocalizedMessage(Message.COMMAND_DESC_CREATE_ADMIN, langConfig.getString("message.commandDescription.create-admin", "&a/%COMMAND% create <amount> <buy-price> <sell-price> [normal|admin] - Create a shop.")));
|
||||
messages.add(new LocalizedMessage(Message.COMMAND_DESC_CREATE_ADMIN, langConfig.getString("message.commandDescription.create-admin", "&a/%COMMAND% create <amount> <buy-price> <sell-price> [admin] - Create a shop.")));
|
||||
messages.add(new LocalizedMessage(Message.COMMAND_DESC_REMOVE, langConfig.getString("message.commandDescription.remove", "&a/%COMMAND% remove - Remove a shop.")));
|
||||
messages.add(new LocalizedMessage(Message.COMMAND_DESC_INFO, langConfig.getString("message.commandDescription.info", "&a/%COMMAND% info - Retrieve shop information.")));
|
||||
messages.add(new LocalizedMessage(Message.COMMAND_DESC_REMOVEALL, langConfig.getString("message.commandDescription.removeall", "&a/%COMMAND% removeall - Remove all shops of a player.")));
|
||||
|
@ -81,7 +81,7 @@ message.noPermission.extend-protected=&cDu hast keine Berechtigung diesen Shop n
|
||||
message.commandDescription.header=&6==== &c/%COMMAND% &6Hilfe
|
||||
message.commandDescription.footer=&6==== Ende
|
||||
message.commandDescription.create=&a/%COMMAND% create <amount> <buy-price> <sell-price> - Erstelle einen Shop.
|
||||
message.commandDescription.create-admin=&a/%COMMAND% create <amount> <buy-price> <sell-price> [normal|admin] - Erstelle einen Shop.
|
||||
message.commandDescription.create-admin=&a/%COMMAND% create <amount> <buy-price> <sell-price> [admin] - Erstelle einen Shop.
|
||||
message.commandDescription.remove=&a/%COMMAND% remove - Entferne einen Shop.
|
||||
message.commandDescription.info=&a/%COMMAND% info - Rufe Informationen über den Shop ab.
|
||||
message.commandDescription.removeall=&a/%COMMAND% removeall - Entferne alle Shops eines Spielers.
|
||||
|
@ -81,7 +81,7 @@ message.noPermission.extend-protected=&cDu hast keine Berechtigung diesen Shop n
|
||||
message.commandDescription.header=&6==== &c/%COMMAND% &6Hilfe
|
||||
message.commandDescription.footer=&6==== Ende
|
||||
message.commandDescription.create=&a/%COMMAND% create <amount> <buy-price> <sell-price> - Erstelle einen Shop.
|
||||
message.commandDescription.create-admin=&a/%COMMAND% create <amount> <buy-price> <sell-price> [normal|admin] - Erstelle einen Shop.
|
||||
message.commandDescription.create-admin=&a/%COMMAND% create <amount> <buy-price> <sell-price> [admin] - Erstelle einen Shop.
|
||||
message.commandDescription.remove=&a/%COMMAND% remove - Entferne einen Shop.
|
||||
message.commandDescription.info=&a/%COMMAND% info - Rufe Informationen über den Shop ab.
|
||||
message.commandDescription.removeall=&a/%COMMAND% removeall - Entferne alle Shops eines Spielers.
|
||||
|
@ -292,7 +292,7 @@ message.commandDescription.create=&a/%COMMAND% create <amount> <buy-price> <sell
|
||||
|
||||
# Set the command description message for '/shop create' when you type '/shop' and have permission "shopchest.create.admin"
|
||||
# Usable Placeholders: %COMMAND%
|
||||
message.commandDescription.create-admin=&a/%COMMAND% create <amount> <buy-price> <sell-price> [normal|admin] - Create a shop.
|
||||
message.commandDescription.create-admin=&a/%COMMAND% create <amount> <buy-price> <sell-price> [admin] - Create a shop.
|
||||
|
||||
# Set the command description message for '/shop remove' when you type '/shop'.
|
||||
# Usable Placeholders: %COMMAND%
|
||||
|
@ -285,7 +285,7 @@ message.commandDescription.create=&a/%COMMAND% create <amount> <buy-price> <sell
|
||||
|
||||
# Set the command description message for '/shop create' when you type '/shop' and have permission "shopchest.create.admin"
|
||||
# Usable Placeholders: %COMMAND%
|
||||
message.commandDescription.create-admin=&a/%COMMAND% create <amount> <buy-price> <sell-price> [normal|admin] - Create a shop.
|
||||
message.commandDescription.create-admin=&a/%COMMAND% create <amount> <buy-price> <sell-price> [admin] - Create a shop.
|
||||
|
||||
# Set the command description message for '/shop remove' when you type '/shop'.
|
||||
# Usable Placeholders: %COMMAND%
|
||||
|
Loading…
Reference in New Issue
Block a user