diff --git a/.travis.yml b/.travis.yml index cda309c14..d8fdbb3f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,32 +1,32 @@ language: java jdk: -- openjdk8 + - openjdk8 install: true script: -- mvn clean -- mvn install + - mvn clean + - mvn install after_success: -- rm -rf push -- mkdir push -- cp ./target/*.jar ./push/ -- mkdir devbukkit -- cp ./target/*.jar ./devbukkit/ -- rm -f ./devbukkit/original-*.jar -- rm -f ./devbukkit/*-javadoc.jar -- rm -f ./devbukkit/*-shaded.jar -- rm -f ./devbukkit/*-sources.jar -- rm -f ./target/original-*.jar -- ls ./devbukkit -1 | grep ".jar$" > jarname.txt + - rm -rf push + - mkdir push + - cp ./target/*.jar ./push/ + - mkdir devbukkit + - cp ./target/*.jar ./devbukkit/ + - rm -f ./devbukkit/original-*.jar + - rm -f ./devbukkit/*-javadoc.jar + - rm -f ./devbukkit/*-shaded.jar + - rm -f ./devbukkit/*-sources.jar + - rm -f ./target/original-*.jar + - ls ./devbukkit -1 | grep ".jar$" > jarname.txt deploy: - skip_cleanup: true - provider: releases - api_key: - secure: $Github_token - file: + skip_cleanup: true + provider: releases + api_key: + secure: $Github_token + file: - ./push/* - file_glob: true - on: - tags: true + file_glob: true + on: + tags: true after_deploy: -- chmod +x deploy.sh -- ./deploy.sh $Curse_token \ No newline at end of file + - chmod +x deploy.sh + - ./deploy.sh $Curse_token \ No newline at end of file diff --git a/pom.xml b/pom.xml index 8df20b3f5..307fb01a8 100644 --- a/pom.xml +++ b/pom.xml @@ -265,9 +265,10 @@ - org.apache.clerezza.ext - org.json.simple - 0.4compile + org.apache.clerezza.ext + org.json.simple + 0.4 + compile diff --git a/src/main/java/org/maxgamer/quickshop/Command/CommandContainer.java b/src/main/java/org/maxgamer/quickshop/Command/CommandContainer.java index 9993ebe26..402749677 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/CommandContainer.java +++ b/src/main/java/org/maxgamer/quickshop/Command/CommandContainer.java @@ -11,6 +11,7 @@ import java.util.List; public class CommandContainer { private CommandProcesser executor; private boolean hidden; // Hide from help, tabcomplete - @Singular private List permissions; // E.g quickshop.unlimited + @Singular + private List permissions; // E.g quickshop.unlimited private String prefix; // E.g /qs } diff --git a/src/main/java/org/maxgamer/quickshop/Command/CommandManager.java b/src/main/java/org/maxgamer/quickshop/Command/CommandManager.java index 64e169194..6dc9b9a82 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/CommandManager.java +++ b/src/main/java/org/maxgamer/quickshop/Command/CommandManager.java @@ -13,6 +13,7 @@ import org.maxgamer.quickshop.Command.SubCommands.*; import org.maxgamer.quickshop.QuickShop; import org.maxgamer.quickshop.Util.MsgUtil; import org.maxgamer.quickshop.Util.Util; + import java.util.HashSet; import java.util.List; import java.util.Set; @@ -124,7 +125,7 @@ public class CommandManager implements TabCompleter, CommandExecutor { if (container.getPermissions() != null) { for (String requirePermission : requirePermissions) { - if (requirePermission != null && !requirePermission.isEmpty() && ! QuickShop.getPermissionManager().hasPermission(sender,requirePermission)) { + if (requirePermission != null && !requirePermission.isEmpty() && !QuickShop.getPermissionManager().hasPermission(sender, requirePermission)) { Util.debugLog("Sender " + sender.getName() + " trying execute the command: " + commandLabel + " " + Util .array2String(cmdArg) + ", but no permission " + requirePermission); sender.sendMessage(MsgUtil.getMessage("no-permission")); @@ -167,7 +168,7 @@ public class CommandManager implements TabCompleter, CommandExecutor { List requirePermissions = container.getPermissions(); if (container.getPermissions() != null) { for (String requirePermission : requirePermissions) { - if (requirePermission != null && !requirePermission.isEmpty() && !QuickShop.getPermissionManager().hasPermission(sender,requirePermission)) { + if (requirePermission != null && !requirePermission.isEmpty() && !QuickShop.getPermissionManager().hasPermission(sender, requirePermission)) { Util.debugLog("Sender " + sender .getName() + " trying tab-complete the command: " + commandLabel + " " + Util .array2String(cmdArg) + ", but no permission " + requirePermission); diff --git a/src/main/java/org/maxgamer/quickshop/Command/CommandProcesser.java b/src/main/java/org/maxgamer/quickshop/Command/CommandProcesser.java index 899010144..c786787b4 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/CommandProcesser.java +++ b/src/main/java/org/maxgamer/quickshop/Command/CommandProcesser.java @@ -18,8 +18,8 @@ public interface CommandProcesser { * When player type /qs unlimited 123 * cmdArg's content is 123 * - * @param sender Sender - * @param cmdArg Args + * @param sender Sender + * @param cmdArg Args * @param commandLabel The command prefix /qs is qs */ void onCommand(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg); @@ -35,8 +35,8 @@ public interface CommandProcesser { * When player type /qs unlimited 123 * cmdArg's content is 123 * - * @param sender Sender - * @param cmdArg Args + * @param sender Sender + * @param cmdArg Args * @param commandLabel The command prefix /qs is qs * @return The result for tab-complete lists */ diff --git a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Clean.java b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Clean.java index a1f576cc7..97274bb33 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Clean.java +++ b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Clean.java @@ -24,41 +24,41 @@ public class SubCommand_Clean implements CommandProcesser { @Override public void onCommand(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { - if(sender instanceof Server){ + if (sender instanceof Server) { sender.sendMessage("Can't run this command by Console"); return; } sender.sendMessage(MsgUtil.getMessage("command.cleaning")); - Iterator shIt = plugin.getShopManager().getShopIterator(); - int i = 0; - java.util.ArrayList pendingRemoval = new java.util.ArrayList<>(); + Iterator shIt = plugin.getShopManager().getShopIterator(); + int i = 0; + java.util.ArrayList pendingRemoval = new java.util.ArrayList<>(); - while (shIt.hasNext()) { - Shop shop = shIt.next(); + while (shIt.hasNext()) { + Shop shop = shIt.next(); - try { - if (shop.getLocation().getWorld() != null && shop.isSelling() && shop.getRemainingStock() == 0 - && shop instanceof ContainerShop) { - ContainerShop cs = (ContainerShop) shop; - if (cs.isDoubleShop()) { - continue; - } - pendingRemoval.add(shop); // Is selling, but has no stock, and is a chest shop, but is not a double shop. - // Can be deleted safely. - i++; + try { + if (shop.getLocation().getWorld() != null && shop.isSelling() && shop.getRemainingStock() == 0 + && shop instanceof ContainerShop) { + ContainerShop cs = (ContainerShop) shop; + if (cs.isDoubleShop()) { + continue; } - } catch (IllegalStateException e) { - pendingRemoval.add(shop); // The shop is not there anymore, remove it + pendingRemoval.add(shop); // Is selling, but has no stock, and is a chest shop, but is not a double shop. + // Can be deleted safely. + i++; } + } catch (IllegalStateException e) { + pendingRemoval.add(shop); // The shop is not there anymore, remove it } + } - for (Shop shop : pendingRemoval) { - shop.delete(); - } + for (Shop shop : pendingRemoval) { + shop.delete(); + } - MsgUtil.clean(); - sender.sendMessage(MsgUtil.getMessage("command.cleaned", "" + i)); - return; + MsgUtil.clean(); + sender.sendMessage(MsgUtil.getMessage("command.cleaned", "" + i)); + return; } } diff --git a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Create.java b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Create.java index b5238df61..3e6904f63 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Create.java +++ b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Create.java @@ -36,56 +36,56 @@ public class SubCommand_Create implements CommandProcesser { Player p = (Player) sender; ItemStack item = p.getInventory().getItemInMainHand(); if (item.getType() != Material.AIR) { - BlockIterator bIt = new BlockIterator((LivingEntity) sender, 10); - while (bIt.hasNext()) { - Block b = bIt.next(); - if (Util.canBeShop(b)) { - if (p.isOnline()) { - if (!plugin.getPermissionChecker().canBuild(p, b)) { - Util.debugLog("Failed permission build check, canceled"); - return; - } - } - BlockFace blockFace; - try { - blockFace = p.getFacing(); - } catch (Throwable throwable) { - blockFace = Util.getYawFace(p.getLocation().getYaw()); - } - - if (!plugin.getShopManager().canBuildShop(p, b, - blockFace)) { - // As of the new checking system, most plugins will tell the - // player why they can't create a shop there. - // So telling them a message would cause spam etc. - Util.debugLog("Util report you can't build shop there."); + BlockIterator bIt = new BlockIterator((LivingEntity) sender, 10); + while (bIt.hasNext()) { + Block b = bIt.next(); + if (Util.canBeShop(b)) { + if (p.isOnline()) { + if (!plugin.getPermissionChecker().canBuild(p, b)) { + Util.debugLog("Failed permission build check, canceled"); return; } + } + BlockFace blockFace; + try { + blockFace = p.getFacing(); + } catch (Throwable throwable) { + blockFace = Util.getYawFace(p.getLocation().getYaw()); + } - if (Util.getSecondHalf(b) != null && !QuickShop.getPermissionManager().hasPermission(p,"quickshop.create.double")) { - p.sendMessage(MsgUtil.getMessage("no-double-chests")); - return; - } - if (Util.isBlacklisted(item.getType()) - && !p.hasPermission("quickshop.bypass." + item.getType().name())) { - p.sendMessage(MsgUtil.getMessage("blacklisted-item")); - return; - } - - if (cmdArg.length < 1) { - // Send creation menu. - Info info = new Info(b.getLocation(), ShopAction.CREATE, - p.getInventory().getItemInMainHand(), - b.getRelative(p.getFacing().getOppositeFace())); - plugin.getShopManager().getActions().put(p.getUniqueId(), info); - p.sendMessage( - MsgUtil.getMessage("how-much-to-trade-for", Util.getItemStackName(item))); - } else { - plugin.getShopManager().handleChat(p, cmdArg[0]); - } + if (!plugin.getShopManager().canBuildShop(p, b, + blockFace)) { + // As of the new checking system, most plugins will tell the + // player why they can't create a shop there. + // So telling them a message would cause spam etc. + Util.debugLog("Util report you can't build shop there."); return; } + + if (Util.getSecondHalf(b) != null && !QuickShop.getPermissionManager().hasPermission(p, "quickshop.create.double")) { + p.sendMessage(MsgUtil.getMessage("no-double-chests")); + return; + } + if (Util.isBlacklisted(item.getType()) + && !p.hasPermission("quickshop.bypass." + item.getType().name())) { + p.sendMessage(MsgUtil.getMessage("blacklisted-item")); + return; + } + + if (cmdArg.length < 1) { + // Send creation menu. + Info info = new Info(b.getLocation(), ShopAction.CREATE, + p.getInventory().getItemInMainHand(), + b.getRelative(p.getFacing().getOppositeFace())); + plugin.getShopManager().getActions().put(p.getUniqueId(), info); + p.sendMessage( + MsgUtil.getMessage("how-much-to-trade-for", Util.getItemStackName(item))); + } else { + plugin.getShopManager().handleChat(p, cmdArg[0]); + } + return; } + } } else { sender.sendMessage(MsgUtil.getMessage("no-anythings-in-your-hand")); diff --git a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Help.java b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Help.java index d77ddf54f..d16938e21 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Help.java +++ b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Help.java @@ -32,7 +32,7 @@ public class SubCommand_Help implements CommandProcesser { if (requirePermissions != null) { if (!requirePermissions.isEmpty()) { for (String requirePermission : requirePermissions) { - if (requirePermission != null && !requirePermission.isEmpty() && !QuickShop.getPermissionManager().hasPermission(s,requirePermission)) { + if (requirePermission != null && !requirePermission.isEmpty() && !QuickShop.getPermissionManager().hasPermission(s, requirePermission)) { //noinspection UnnecessaryContinue continue; } diff --git a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Info.java b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Info.java index 36e546af9..846fcb5dc 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Info.java +++ b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Info.java @@ -34,7 +34,7 @@ public class SubCommand_Info implements CommandProcesser { for (HashMap inChunk : inWorld.values()) { chunks++; //noinspection unchecked - for (Shop shop : (ArrayList)new ArrayList<>(inChunk.values()).clone()) { + for (Shop shop : (ArrayList) new ArrayList<>(inChunk.values()).clone()) { if (shop.isBuying()) { buying++; } else if (shop.isSelling()) { diff --git a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Price.java b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Price.java index b423ac762..2341e0566 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Price.java +++ b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Price.java @@ -71,7 +71,7 @@ public class SubCommand_Price implements CommandProcesser { while (bIt.hasNext()) { Block b = bIt.next(); Shop shop = plugin.getShopManager().getShop(b.getLocation()); - if (shop != null && (shop.getModerator().isModerator(((Player) sender).getUniqueId()) || QuickShop.getPermissionManager().hasPermission(sender,"quickshop.other.price"))) { + if (shop != null && (shop.getModerator().isModerator(((Player) sender).getUniqueId()) || QuickShop.getPermissionManager().hasPermission(sender, "quickshop.other.price"))) { if (shop.getPrice() == price) { // Stop here if there isn't a price change sender.sendMessage(MsgUtil.getMessage("no-price-change")); diff --git a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_ROOT.java b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_ROOT.java index 9a24724d6..f1b518b81 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_ROOT.java +++ b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_ROOT.java @@ -22,16 +22,16 @@ public class SubCommand_ROOT implements CommandProcesser { List requirePermissions = container.getPermissions(); if (requirePermissions != null) { for (String requirePermission : requirePermissions) { - if (requirePermission != null && !requirePermission.isEmpty() && !QuickShop.getPermissionManager().hasPermission(sender,requirePermission)) { + if (requirePermission != null && !requirePermission.isEmpty() && !QuickShop.getPermissionManager().hasPermission(sender, requirePermission)) { Util.debugLog("Sender " + sender .getName() + " trying tab-complete the command: " + commandLabel + ", but no permission " + requirePermission); return null; } } } - if (!container.isHidden()) { - candidate.add(container.getPrefix()); - } + if (!container.isHidden()) { + candidate.add(container.getPrefix()); + } } } return candidate; diff --git a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Remove.java b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Remove.java index 912886ab0..40ef0a01d 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Remove.java +++ b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_Remove.java @@ -39,7 +39,7 @@ public class SubCommand_Remove implements CommandProcesser { Block b = bIt.next(); Shop shop = plugin.getShopManager().getShop(b.getLocation()); if (shop != null) { - if (shop.getModerator().isModerator(((Player) sender).getUniqueId()) || QuickShop.getPermissionManager().hasPermission(p,"quickshop.other.destroy")) { + if (shop.getModerator().isModerator(((Player) sender).getUniqueId()) || QuickShop.getPermissionManager().hasPermission(p, "quickshop.other.destroy")) { shop.onUnload(); shop.delete(); } else { diff --git a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_SilentRemove.java b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_SilentRemove.java index 01dc5ce0b..581db656e 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_SilentRemove.java +++ b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_SilentRemove.java @@ -37,7 +37,7 @@ public class SubCommand_SilentRemove implements CommandProcesser { sender.sendMessage(MsgUtil.getMessage("not-looking-at-shop")); return; } - if (shop.getModerator().isModerator(p.getUniqueId()) || QuickShop.getPermissionManager().hasPermission(sender,"quickshop.other.destroy")) { + if (shop.getModerator().isModerator(p.getUniqueId()) || QuickShop.getPermissionManager().hasPermission(sender, "quickshop.other.destroy")) { shop.onUnload(); shop.delete(); } else { diff --git a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_SuperCreate.java b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_SuperCreate.java index 92081e553..26d2e5db9 100644 --- a/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_SuperCreate.java +++ b/src/main/java/org/maxgamer/quickshop/Command/SubCommands/SubCommand_SuperCreate.java @@ -36,51 +36,51 @@ public class SubCommand_SuperCreate implements CommandProcesser { Player p = (Player) sender; ItemStack item = p.getInventory().getItemInMainHand(); if (item.getType() != Material.AIR) { - BlockIterator bIt = new BlockIterator((LivingEntity) sender, 10); - while (bIt.hasNext()) { - Block b = bIt.next(); - if (Util.canBeShop(b)) { - BlockFace blockFace; - try { - blockFace = p.getFacing(); - } catch (Throwable throwable) { - blockFace = Util.getYawFace(p.getLocation().getYaw()); - } + BlockIterator bIt = new BlockIterator((LivingEntity) sender, 10); + while (bIt.hasNext()) { + Block b = bIt.next(); + if (Util.canBeShop(b)) { + BlockFace blockFace; + try { + blockFace = p.getFacing(); + } catch (Throwable throwable) { + blockFace = Util.getYawFace(p.getLocation().getYaw()); + } - if (!plugin.getShopManager().canBuildShop(p, b, - blockFace)) { - // As of the new checking system, most plugins will tell the - // player why they can't create a shop there. - // So telling them a message would cause spam etc. - Util.debugLog("Util report you can't build shop there."); - return; - } - - if (Util.getSecondHalf(b) != null && !QuickShop.getPermissionManager().hasPermission(sender,"quickshop.create.double")) { - p.sendMessage(MsgUtil.getMessage("no-double-chests")); - return; - } - if (Util.isBlacklisted(item.getType()) - && !QuickShop.getPermissionManager().hasPermission(p,"quickshop.bypass." + item.getType().name())) { - p.sendMessage(MsgUtil.getMessage("blacklisted-item")); - return; - } - - if (cmdArg.length < 1) { - // Send creation menu. - Info info = new Info(b.getLocation(), ShopAction.CREATE, - p.getInventory().getItemInMainHand(), - b.getRelative(p.getFacing().getOppositeFace())); - plugin.getShopManager().getActions().put(p.getUniqueId(), info); - p.sendMessage( - MsgUtil.getMessage("how-much-to-trade-for", Util.getItemStackName(item))); - } else { - plugin.getShopManager().handleChat(p, cmdArg[0], true); - } + if (!plugin.getShopManager().canBuildShop(p, b, + blockFace)) { + // As of the new checking system, most plugins will tell the + // player why they can't create a shop there. + // So telling them a message would cause spam etc. + Util.debugLog("Util report you can't build shop there."); return; } + + if (Util.getSecondHalf(b) != null && !QuickShop.getPermissionManager().hasPermission(sender, "quickshop.create.double")) { + p.sendMessage(MsgUtil.getMessage("no-double-chests")); + return; + } + if (Util.isBlacklisted(item.getType()) + && !QuickShop.getPermissionManager().hasPermission(p, "quickshop.bypass." + item.getType().name())) { + p.sendMessage(MsgUtil.getMessage("blacklisted-item")); + return; + } + + if (cmdArg.length < 1) { + // Send creation menu. + Info info = new Info(b.getLocation(), ShopAction.CREATE, + p.getInventory().getItemInMainHand(), + b.getRelative(p.getFacing().getOppositeFace())); + plugin.getShopManager().getActions().put(p.getUniqueId(), info); + p.sendMessage( + MsgUtil.getMessage("how-much-to-trade-for", Util.getItemStackName(item))); + } else { + plugin.getShopManager().handleChat(p, cmdArg[0], true); + } + return; } - sender.sendMessage(MsgUtil.getMessage("not-looking-at-shop")); + } + sender.sendMessage(MsgUtil.getMessage("not-looking-at-shop")); } else { sender.sendMessage(MsgUtil.getMessage("no-anythings-in-your-hand")); } diff --git a/src/main/java/org/maxgamer/quickshop/Database/BufferStatement.java b/src/main/java/org/maxgamer/quickshop/Database/BufferStatement.java index 7def61b83..b0f6bd74b 100644 --- a/src/main/java/org/maxgamer/quickshop/Database/BufferStatement.java +++ b/src/main/java/org/maxgamer/quickshop/Database/BufferStatement.java @@ -38,7 +38,6 @@ public class BufferStatement { * @param con The connection to prepare this on using * con.prepareStatement(..) * @return The prepared statement, ready for execution. - * * @throws SQLException Throw exception when failed to execute something in SQL */ PreparedStatement prepareStatement(@NotNull Connection con) throws SQLException { diff --git a/src/main/java/org/maxgamer/quickshop/Database/DatabaseHelper.java b/src/main/java/org/maxgamer/quickshop/Database/DatabaseHelper.java index a278cde6c..37daa5820 100644 --- a/src/main/java/org/maxgamer/quickshop/Database/DatabaseHelper.java +++ b/src/main/java/org/maxgamer/quickshop/Database/DatabaseHelper.java @@ -100,7 +100,7 @@ public class DatabaseHelper { public void createShop(@NotNull String owner, double price, @NotNull ItemStack item, int unlimited, int shopType, @NotNull String world, int x, int y, int z) throws SQLException { - removeShop(x,y,z,world); //First purge old exist shop before create new shop. + removeShop(x, y, z, world); //First purge old exist shop before create new shop. String sqlString = "INSERT INTO " + QuickShop.instance .getDbPrefix() + "shops (owner, price, itemConfig, x, y, z, world, unlimited, type) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)"; //QuickShop.instance.getDB().execute(q, owner, price, Util.serialize(item), x, y, z, world, unlimited, shopType); diff --git a/src/main/java/org/maxgamer/quickshop/Database/DatabaseManager.java b/src/main/java/org/maxgamer/quickshop/Database/DatabaseManager.java index bd8ef8bc1..05179b6de 100644 --- a/src/main/java/org/maxgamer/quickshop/Database/DatabaseManager.java +++ b/src/main/java/org/maxgamer/quickshop/Database/DatabaseManager.java @@ -30,7 +30,7 @@ public class DatabaseManager { * Use queue to solve run SQL make server lagg issue. * * @param plugin plugin main class - * @param db database + * @param db database */ public DatabaseManager(@NotNull QuickShop plugin, @NotNull Database db) { this.plugin = plugin; @@ -50,6 +50,7 @@ public class DatabaseManager { /** * Add preparedStatement to queue waiting flush to database, + * * @param ps The ps you want add in queue. */ public void add(@NotNull PreparedStatement ps) { diff --git a/src/main/java/org/maxgamer/quickshop/Database/MySQLCore.java b/src/main/java/org/maxgamer/quickshop/Database/MySQLCore.java index e9ebfbbbb..51f5f3980 100644 --- a/src/main/java/org/maxgamer/quickshop/Database/MySQLCore.java +++ b/src/main/java/org/maxgamer/quickshop/Database/MySQLCore.java @@ -12,7 +12,9 @@ import java.util.Properties; public class MySQLCore implements DatabaseCore { private static final int MAX_CONNECTIONS = 8; private static ArrayList pool = new ArrayList<>(); - /** The connection properties... user, pass, autoReconnect.. */ + /** + * The connection properties... user, pass, autoReconnect.. + */ private Properties info; private String url; diff --git a/src/main/java/org/maxgamer/quickshop/Economy/EconomyType.java b/src/main/java/org/maxgamer/quickshop/Economy/EconomyType.java index df102f596..6d2a43a18 100644 --- a/src/main/java/org/maxgamer/quickshop/Economy/EconomyType.java +++ b/src/main/java/org/maxgamer/quickshop/Economy/EconomyType.java @@ -4,11 +4,12 @@ import org.jetbrains.annotations.NotNull; public enum EconomyType { /* - * UNKNOWN = FALLBACK TO VAULT - * VAULT = USE VAULT API - * RESERVE = USE RESERVE API - * */ + * UNKNOWN = FALLBACK TO VAULT + * VAULT = USE VAULT API + * RESERVE = USE RESERVE API + * */ UNKNOWN(-1), VAULT(0), RESERVE(1); + public static EconomyType fromID(int id) { for (EconomyType type : EconomyType.values()) { if (type.id == id) { diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopClickEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopClickEvent.java index 0fde3274c..0b0dd9346 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopClickEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopClickEvent.java @@ -22,7 +22,9 @@ public class ShopClickEvent extends Event implements Cancellable { this.shop = shop; } - public static HandlerList getHandlerList() {return HANDLERS;} + public static HandlerList getHandlerList() { + return HANDLERS; + } @NotNull @Override diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopCreateEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopCreateEvent.java index 670afb417..4021c9253 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopCreateEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopCreateEvent.java @@ -35,7 +35,9 @@ public class ShopCreateEvent extends Event implements Cancellable { return HANDLERS; } - public static HandlerList getHandlerList() {return HANDLERS;} + public static HandlerList getHandlerList() { + return HANDLERS; + } @Override public boolean isCancelled() { diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopDeleteEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopDeleteEvent.java index 56845e1b8..063775837 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopDeleteEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopDeleteEvent.java @@ -10,7 +10,8 @@ import org.maxgamer.quickshop.Shop.Shop; public class ShopDeleteEvent extends Event implements Cancellable { private static final HandlerList handlers = new HandlerList(); private boolean cancelled; - @Getter private boolean fromMemory; + @Getter + private boolean fromMemory; @Getter @NotNull private Shop shop; @@ -33,7 +34,9 @@ public class ShopDeleteEvent extends Event implements Cancellable { return handlers; } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } @Override public boolean isCancelled() { diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemDespawnEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemDespawnEvent.java index ec13a667d..0581bc210 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemDespawnEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemDespawnEvent.java @@ -29,7 +29,8 @@ public class ShopDisplayItemDespawnEvent extends Event implements Cancellable { /** * This event is called before the shop display item created - * @param shop Target shop + * + * @param shop Target shop * @param iStack Target itemstacck */ @Deprecated @@ -41,8 +42,9 @@ public class ShopDisplayItemDespawnEvent extends Event implements Cancellable { /** * This event is called before the shop display item created - * @param shop Target shop - * @param iStack Target itemstacck + * + * @param shop Target shop + * @param iStack Target itemstacck * @param displayType The displayType */ public ShopDisplayItemDespawnEvent(@NotNull Shop shop, @NotNull ItemStack iStack, @NotNull DisplayType displayType) { @@ -57,7 +59,9 @@ public class ShopDisplayItemDespawnEvent extends Event implements Cancellable { return handlers; } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } @Override public boolean isCancelled() { diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemSpawnEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemSpawnEvent.java index acd59204a..9baa0dbad 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemSpawnEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemSpawnEvent.java @@ -29,9 +29,10 @@ public class ShopDisplayItemSpawnEvent extends Event implements Cancellable { /** * This event is called before the shop display item created - * @param shop Target shop + * + * @param shop Target shop * @param displayType The displayType - * @param iStack Target ItemStack + * @param iStack Target ItemStack */ public ShopDisplayItemSpawnEvent(@NotNull Shop shop, @NotNull ItemStack iStack, @NotNull DisplayType displayType) { this.shop = shop; @@ -41,7 +42,8 @@ public class ShopDisplayItemSpawnEvent extends Event implements Cancellable { /** * This event is called before the shop display item created - * @param shop Target shop + * + * @param shop Target shop * @param iStack The ItemStack for spawning the displayItem */ @Deprecated @@ -56,7 +58,9 @@ public class ShopDisplayItemSpawnEvent extends Event implements Cancellable { return handlers; } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } @Override public boolean isCancelled() { diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopInventoryPreviewEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopInventoryPreviewEvent.java index 3f04f6750..ca52c9efd 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopInventoryPreviewEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopInventoryPreviewEvent.java @@ -36,7 +36,9 @@ public class ShopInventoryPreviewEvent extends Event implements Cancellable { return handlers; } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } @Override public boolean isCancelled() { diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopLoadEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopLoadEvent.java index 85aaafb0f..fb66e5a9a 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopLoadEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopLoadEvent.java @@ -7,7 +7,9 @@ import org.bukkit.event.HandlerList; import org.jetbrains.annotations.NotNull; import org.maxgamer.quickshop.Shop.Shop; -/** Call when loading shop **/ +/** + * Call when loading shop + **/ public class ShopLoadEvent extends Event implements Cancellable { private static final HandlerList handlers = new HandlerList(); @@ -31,7 +33,9 @@ public class ShopLoadEvent extends Event implements Cancellable { return handlers; } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } @Override public boolean isCancelled() { diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopModeratorChangedEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopModeratorChangedEvent.java index cc2228ab0..73bd9e121 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopModeratorChangedEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopModeratorChangedEvent.java @@ -7,7 +7,9 @@ import org.jetbrains.annotations.NotNull; import org.maxgamer.quickshop.Shop.Shop; import org.maxgamer.quickshop.Shop.ShopModerator; -/** Calling when moderator was changed, Can't cancel **/ +/** + * Calling when moderator was changed, Can't cancel + **/ public class ShopModeratorChangedEvent extends Event { private static final HandlerList handlers = new HandlerList(); @@ -29,7 +31,9 @@ public class ShopModeratorChangedEvent extends Event { this.moderator = shopModerator; } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } @Override public @NotNull HandlerList getHandlers() { diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopPreCreateEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopPreCreateEvent.java index ca48f237e..55473e9c0 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopPreCreateEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopPreCreateEvent.java @@ -27,7 +27,8 @@ public class ShopPreCreateEvent extends Event implements Cancellable { /** * Calling when shop pre-creating. * Shop won't one-percent will create after this event, if you want get the shop created event, please use ShopCreateEvent - * @param p Target player + * + * @param p Target player * @param loc The location will create be shop */ public ShopPreCreateEvent(@NotNull Player p, @NotNull Location loc) { @@ -41,7 +42,9 @@ public class ShopPreCreateEvent extends Event implements Cancellable { return handlers; } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } @Override public boolean isCancelled() { diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopPriceChangedEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopPriceChangedEvent.java index 7fecf91c0..0fcacc5d4 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopPriceChangedEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopPriceChangedEvent.java @@ -6,12 +6,16 @@ import org.bukkit.event.HandlerList; import org.jetbrains.annotations.NotNull; import org.maxgamer.quickshop.Shop.Shop; -/** Calling when shop price was changed, Can't cancel **/ +/** + * Calling when shop price was changed, Can't cancel + **/ public class ShopPriceChangedEvent extends Event { private static final HandlerList HANDLERS = new HandlerList(); - @Getter private double newPrice; - @Getter private double oldPrice; + @Getter + private double newPrice; + @Getter + private double oldPrice; @Getter @NotNull private Shop shop; @@ -29,7 +33,9 @@ public class ShopPriceChangedEvent extends Event { this.newPrice = newPrice; } - public static HandlerList getHandlerList() {return HANDLERS;} + public static HandlerList getHandlerList() { + return HANDLERS; + } @Override public @NotNull HandlerList getHandlers() { diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopProtectionCheckEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopProtectionCheckEvent.java index ff67ee322..e7da06956 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopProtectionCheckEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopProtectionCheckEvent.java @@ -24,9 +24,9 @@ public class ShopProtectionCheckEvent extends Event { /** * Will call when shop price was changed. * - * @param loc Target location will execute protect check. + * @param loc Target location will execute protect check. * @param status The checking status - * @param event The event will call to check the permissions. + * @param event The event will call to check the permissions. */ public ShopProtectionCheckEvent(@NotNull Location loc, @NotNull Player player, @NotNull ProtectionCheckStatus status, @NotNull Event event) { this.loc = loc; @@ -38,9 +38,10 @@ public class ShopProtectionCheckEvent extends Event { /** * Get the event will used for permission check. * WARN: This might not only BlockBreakEvent, you should check the event type before casting. + * * @return The protection check event. */ - public @NotNull Event getEvent(){ + public @NotNull Event getEvent() { return event; } diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopPurchaseEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopPurchaseEvent.java index 03eaf2aff..9de4ee4c2 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopPurchaseEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopPurchaseEvent.java @@ -16,7 +16,8 @@ public class ShopPurchaseEvent extends Event implements Cancellable { @Getter @NotNull private Player player; - @Getter private int amount; + @Getter + private int amount; private boolean cancelled; /** @@ -39,7 +40,9 @@ public class ShopPurchaseEvent extends Event implements Cancellable { return handlers; } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } @Override diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopSignUpdatedEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopSignUpdatedEvent.java index cee5ca98e..f5949f9bb 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopSignUpdatedEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopSignUpdatedEvent.java @@ -7,7 +7,9 @@ import org.bukkit.event.HandlerList; import org.jetbrains.annotations.NotNull; import org.maxgamer.quickshop.Shop.Shop; -/** Calling when shop sign update, Can't cancel **/ +/** + * Calling when shop sign update, Can't cancel + **/ public class ShopSignUpdatedEvent extends Event { private static final HandlerList handlers = new HandlerList(); @@ -29,7 +31,10 @@ public class ShopSignUpdatedEvent extends Event { this.sign = sign; } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } + @Override public @NotNull HandlerList getHandlers() { return handlers; diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopSuccessPurchaseEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopSuccessPurchaseEvent.java index 5fec5c7d5..19bfef3ff 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopSuccessPurchaseEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopSuccessPurchaseEvent.java @@ -10,7 +10,8 @@ import org.maxgamer.quickshop.Shop.Shop; public class ShopSuccessPurchaseEvent extends Event implements Cancellable { private static final HandlerList handlers = new HandlerList(); - @Getter private int amount; + @Getter + private int amount; private boolean cancelled; @Getter @NotNull @@ -18,7 +19,8 @@ public class ShopSuccessPurchaseEvent extends Event implements Cancellable { @Getter @NotNull private Shop shop; - @Getter private double tax; + @Getter + private double tax; private double total; /** @@ -28,8 +30,8 @@ public class ShopSuccessPurchaseEvent extends Event implements Cancellable { * @param shop The shop bought from * @param p The player buying * @param amount The amount they're buying - * @param tax The tax in this purchase - * @param total The money in this purchase + * @param tax The tax in this purchase + * @param total The money in this purchase */ public ShopSuccessPurchaseEvent(@NotNull Shop shop, @NotNull Player p, int amount, double total, double tax) { this.shop = shop; @@ -46,7 +48,9 @@ public class ShopSuccessPurchaseEvent extends Event implements Cancellable { * * @return the total money with calculate tax */ - public double getBalance() {return this.total * (1 - tax);} + public double getBalance() { + return this.total * (1 - tax); + } /** * The total money changes in this purchase. @@ -54,9 +58,13 @@ public class ShopSuccessPurchaseEvent extends Event implements Cancellable { * * @return the total money without calculate tax */ - public double getBalanceWithoutTax() {return this.total;} + public double getBalanceWithoutTax() { + return this.total; + } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } @NotNull @Override diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopUnloadEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopUnloadEvent.java index d44525c12..678dea1b0 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopUnloadEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopUnloadEvent.java @@ -6,18 +6,23 @@ import org.bukkit.event.HandlerList; import org.jetbrains.annotations.NotNull; import org.maxgamer.quickshop.Shop.Shop; -/** Getting the unloading shop, Can't cancel. **/ +/** + * Getting the unloading shop, Can't cancel. + **/ public class ShopUnloadEvent extends Event { private static final HandlerList handlers = new HandlerList(); @Getter private @NotNull Shop shop; + /* Getting the unloading shop, Can't cancel. **/ public ShopUnloadEvent(@NotNull Shop shop) { this.shop = shop; } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } @NotNull @Override diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopUpdateEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopUpdateEvent.java index 9a56726af..7d3667b68 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopUpdateEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopUpdateEvent.java @@ -22,7 +22,9 @@ public class ShopUpdateEvent extends Event implements Cancellable { this.shop = shop; } - public static HandlerList getHandlerList() {return handlers;} + public static HandlerList getHandlerList() { + return handlers; + } @NotNull @Override diff --git a/src/main/java/org/maxgamer/quickshop/Listeners/BlockListener.java b/src/main/java/org/maxgamer/quickshop/Listeners/BlockListener.java index afc310ec0..d1b5a014e 100644 --- a/src/main/java/org/maxgamer/quickshop/Listeners/BlockListener.java +++ b/src/main/java/org/maxgamer/quickshop/Listeners/BlockListener.java @@ -79,18 +79,18 @@ public class BlockListener implements Listener { p.sendMessage(MsgUtil.getMessage("no-creative-break", MsgUtil.getItemi18n(Material.GOLDEN_AXE.name()))); return; } - if(e.isCancelled()){ + if (e.isCancelled()) { p.sendMessage(MsgUtil.getMessage("no-permission")); return; } - if (!shop.getModerator().isOwner(p.getUniqueId()) && !QuickShop.getPermissionManager().hasPermission(p,"quickshop.other.destroy")) { + if (!shop.getModerator().isOwner(p.getUniqueId()) && !QuickShop.getPermissionManager().hasPermission(p, "quickshop.other.destroy")) { + e.setCancelled(true); + p.sendMessage(MsgUtil.getMessage("no-permission")); + return; + } else if (!shop.getModerator().isOwner(p.getUniqueId())) { e.setCancelled(true); p.sendMessage(MsgUtil.getMessage("no-permission")); return; - }else if (!shop.getModerator().isOwner(p.getUniqueId())){ - e.setCancelled(true); - p.sendMessage(MsgUtil.getMessage("no-permission")); - return; } // Cancel their current menu... Doesnt cancel other's menu's. @@ -162,7 +162,7 @@ public class BlockListener implements Listener { Block b = e.getBlock(); Player p = e.getPlayer(); Block chest = Util.getSecondHalf(b); - if (chest != null && plugin.getShopManager().getShop(chest.getLocation()) != null && !QuickShop.getPermissionManager().hasPermission(p,"quickshop.create.double")) { + if (chest != null && plugin.getShopManager().getShop(chest.getLocation()) != null && !QuickShop.getPermissionManager().hasPermission(p, "quickshop.create.double")) { e.setCancelled(true); p.sendMessage(MsgUtil.getMessage("no-double-chests")); } diff --git a/src/main/java/org/maxgamer/quickshop/Listeners/ChunkListener.java b/src/main/java/org/maxgamer/quickshop/Listeners/ChunkListener.java index 8decac3e8..1fbb31b8e 100644 --- a/src/main/java/org/maxgamer/quickshop/Listeners/ChunkListener.java +++ b/src/main/java/org/maxgamer/quickshop/Listeners/ChunkListener.java @@ -35,7 +35,7 @@ public class ChunkListener implements Listener { @Override public void run() { //noinspection unchecked - for (Shop shop : ((HashMap)inChunk.clone()).values()) { + for (Shop shop : ((HashMap) inChunk.clone()).values()) { shop.onLoad(); } //Delay 1 tick, hope can fix the magic bug in 1.14 spigot build. @@ -57,7 +57,7 @@ public class ChunkListener implements Listener { @Override public void run() { //noinspection unchecked - for (Shop shop : ((HashMap)inChunk.clone()).values()) { + for (Shop shop : ((HashMap) inChunk.clone()).values()) { shop.onUnload(); } } diff --git a/src/main/java/org/maxgamer/quickshop/Listeners/LockListener.java b/src/main/java/org/maxgamer/quickshop/Listeners/LockListener.java index ab517d927..e9a305eb1 100644 --- a/src/main/java/org/maxgamer/quickshop/Listeners/LockListener.java +++ b/src/main/java/org/maxgamer/quickshop/Listeners/LockListener.java @@ -102,7 +102,7 @@ public class LockListener implements Listener { return; // Wasn't a shop } // If they owned it or have bypass perms, they can destroy it - if (!shop.getOwner().equals(p.getUniqueId()) && !QuickShop.getPermissionManager().hasPermission(p,"quickshop.other.destroy")) { + if (!shop.getOwner().equals(p.getUniqueId()) && !QuickShop.getPermissionManager().hasPermission(p, "quickshop.other.destroy")) { e.setCancelled(true); p.sendMessage(MsgUtil.getMessage("no-permission")); } @@ -126,7 +126,7 @@ public class LockListener implements Listener { } // If they're the shop owner or have bypass perms, they can destroy // it. - if (!shop.getOwner().equals(p.getUniqueId()) && !QuickShop.getPermissionManager().hasPermission(p,"quickshop.other.destroy")) { + if (!shop.getOwner().equals(p.getUniqueId()) && !QuickShop.getPermissionManager().hasPermission(p, "quickshop.other.destroy")) { e.setCancelled(true); p.sendMessage(MsgUtil.getMessage("no-permission")); return; @@ -153,10 +153,10 @@ public class LockListener implements Listener { Shop shop = plugin.getShopManager().getShopIncludeAttached(b.getLocation()); // Make sure they're not using the non-shop half of a double chest. if (shop == null) { - return; + return; } if (!shop.getModerator().isModerator(p.getUniqueId())) { - if (QuickShop.getPermissionManager().hasPermission(p,"quickshop.other.open")) { + if (QuickShop.getPermissionManager().hasPermission(p, "quickshop.other.open")) { p.sendMessage(MsgUtil.getMessage("bypassing-lock")); return; } @@ -165,7 +165,7 @@ public class LockListener implements Listener { return; } } -/* Moved to ShopProtectionListener */ + /* Moved to ShopProtectionListener */ // /* // * Handles shops breaking through explosions // */ @@ -205,7 +205,7 @@ public class LockListener implements Listener { return; } - if (QuickShop.getPermissionManager().hasPermission(p,"quickshop.other.open")) { + if (QuickShop.getPermissionManager().hasPermission(p, "quickshop.other.open")) { p.sendMessage(MsgUtil.getMessage("bypassing-lock")); return; } diff --git a/src/main/java/org/maxgamer/quickshop/Listeners/PlayerListener.java b/src/main/java/org/maxgamer/quickshop/Listeners/PlayerListener.java index c80c61ed0..ddb1abeda 100644 --- a/src/main/java/org/maxgamer/quickshop/Listeners/PlayerListener.java +++ b/src/main/java/org/maxgamer/quickshop/Listeners/PlayerListener.java @@ -41,7 +41,7 @@ public class PlayerListener implements Listener { } if (e.getAction().equals(Action.LEFT_CLICK_BLOCK)) { Block b = e.getClickedBlock(); - if(b == null){ + if (b == null) { return; } if (!Util.canBeShop(b) && !Util.isWallSign(b.getType())) { diff --git a/src/main/java/org/maxgamer/quickshop/Listeners/ShopProtectionListener.java b/src/main/java/org/maxgamer/quickshop/Listeners/ShopProtectionListener.java index e3b066234..5d0f27608 100644 --- a/src/main/java/org/maxgamer/quickshop/Listeners/ShopProtectionListener.java +++ b/src/main/java/org/maxgamer/quickshop/Listeners/ShopProtectionListener.java @@ -116,6 +116,7 @@ public class ShopProtectionListener implements Listener { } } } + //Protect Minecart steal shop @EventHandler(ignoreCancelled = true, priority = EventPriority.LOWEST) public void onInventoryMove(InventoryMoveItemEvent event) { @@ -131,17 +132,17 @@ public class ShopProtectionListener implements Listener { return; } HashMap shopsInChunk = plugin.getShopManager().getShops(loc.getChunk()); - if(shopsInChunk == null || shopsInChunk.isEmpty()){ + if (shopsInChunk == null || shopsInChunk.isEmpty()) { return; } - if(shopsInChunk.get(loc) == null){ + if (shopsInChunk.get(loc) == null) { return; } event.setCancelled(true); Location location = event.getInitiator().getLocation(); - if(location != null){ + if (location != null) { location.getBlock().breakNaturally(); - MsgUtil.sendGlobalAlert("[DisplayGuard] Breaked the block at "+location +" try steal the items for shop "+loc); + MsgUtil.sendGlobalAlert("[DisplayGuard] Breaked the block at " + location + " try steal the items for shop " + loc); } } diff --git a/src/main/java/org/maxgamer/quickshop/Metrics.java b/src/main/java/org/maxgamer/quickshop/Metrics.java index b5fef5a5c..63b738450 100644 --- a/src/main/java/org/maxgamer/quickshop/Metrics.java +++ b/src/main/java/org/maxgamer/quickshop/Metrics.java @@ -58,6 +58,7 @@ public class Metrics { gzip.close(); return outputStream.toByteArray(); } + // A list with all custom charts private final List charts = new ArrayList<>(); // The plugin @@ -99,7 +100,8 @@ public class Metrics { ).copyDefaults(true); try { config.save(configFile); - } catch (IOException ignored) { } + } catch (IOException ignored) { + } } // Load the data @@ -113,7 +115,8 @@ public class Metrics { service.getField("B_STATS_VERSION"); // Our identifier :) found = true; // We aren't the first break; - } catch (NoSuchFieldException ignored) { } + } catch (NoSuchFieldException ignored) { + } } // Register our service Bukkit.getServicesManager().register(Metrics.class, this, plugin, ServicePriority.Normal); @@ -213,9 +216,11 @@ public class Metrics { for (RegisteredServiceProvider provider : Bukkit.getServicesManager().getRegistrations(service)) { try { pluginData.add(provider.getService().getMethod("getPluginData").invoke(provider.getProvider())); - } catch (NullPointerException | NoSuchMethodException | IllegalAccessException | InvocationTargetException ignored) { } + } catch (NullPointerException | NoSuchMethodException | IllegalAccessException | InvocationTargetException ignored) { + } } - } catch (NoSuchFieldException ignored) { } + } catch (NoSuchFieldException ignored) { + } } data.put("plugins", pluginData); diff --git a/src/main/java/org/maxgamer/quickshop/Permission/BukkitPermsProvider.java b/src/main/java/org/maxgamer/quickshop/Permission/BukkitPermsProvider.java index 060d6a683..4867f66fe 100644 --- a/src/main/java/org/maxgamer/quickshop/Permission/BukkitPermsProvider.java +++ b/src/main/java/org/maxgamer/quickshop/Permission/BukkitPermsProvider.java @@ -14,6 +14,7 @@ public class BukkitPermsProvider implements PermissionProvider { public @NotNull String getName() { return "Bukkit"; } + /** * Get the debug infos in provider * @@ -23,6 +24,6 @@ public class BukkitPermsProvider implements PermissionProvider { */ @Override public @NotNull PermissionInfomationContainer getDebugInfo(@NotNull CommandSender sender, @NotNull String permission) { - return new PermissionInfomationContainer(sender, permission,null,null); + return new PermissionInfomationContainer(sender, permission, null, null); } } diff --git a/src/main/java/org/maxgamer/quickshop/Permission/GroupManagerProvider.java b/src/main/java/org/maxgamer/quickshop/Permission/GroupManagerProvider.java index d184ee8eb..96086ed07 100644 --- a/src/main/java/org/maxgamer/quickshop/Permission/GroupManagerProvider.java +++ b/src/main/java/org/maxgamer/quickshop/Permission/GroupManagerProvider.java @@ -75,18 +75,18 @@ public class GroupManagerProvider implements PermissionProvider { @Override public @NotNull PermissionInfomationContainer getDebugInfo(@NotNull CommandSender sender, @NotNull String permission) { if (sender instanceof Server) { - return new PermissionInfomationContainer(sender,permission,null,"This user is Console."); + return new PermissionInfomationContainer(sender, permission, null, "This user is Console."); } if (!((OfflinePlayer) sender).isOnline()) { - return new PermissionInfomationContainer(sender,permission,null,"GroupManager doesn't support OfflinePlayer permissions checking."); - }else{ + return new PermissionInfomationContainer(sender, permission, null, "GroupManager doesn't support OfflinePlayer permissions checking."); + } else { AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions((Player) sender); if (handler == null) { - return new PermissionInfomationContainer(sender,permission,null,"Permission Handler is empty"); + return new PermissionInfomationContainer(sender, permission, null, "Permission Handler is empty"); } StringBuilder permissionBuilder = new StringBuilder(); - handler.getAllPlayersPermissions(sender.getName(),true).forEach((node)->permissionBuilder.append(node).append("\n")); - return new PermissionInfomationContainer(sender,permission,handler.getPrimaryGroup(sender.getName()),"This player have permissions: \n"+permissionBuilder.toString()+"\nWARNING: GroupManager doesn't have support, don't report to us if you got any troubles."); + handler.getAllPlayersPermissions(sender.getName(), true).forEach((node) -> permissionBuilder.append(node).append("\n")); + return new PermissionInfomationContainer(sender, permission, handler.getPrimaryGroup(sender.getName()), "This player have permissions: \n" + permissionBuilder.toString() + "\nWARNING: GroupManager doesn't have support, don't report to us if you got any troubles."); } } } diff --git a/src/main/java/org/maxgamer/quickshop/Permission/PermissionInfomationContainer.java b/src/main/java/org/maxgamer/quickshop/Permission/PermissionInfomationContainer.java index 13431388b..b24792794 100644 --- a/src/main/java/org/maxgamer/quickshop/Permission/PermissionInfomationContainer.java +++ b/src/main/java/org/maxgamer/quickshop/Permission/PermissionInfomationContainer.java @@ -10,16 +10,21 @@ import org.jetbrains.annotations.Nullable; @Data @AllArgsConstructor public class PermissionInfomationContainer { - @NotNull private CommandSender sender; - @NotNull private String permission; - @Nullable private String groupName; - @Nullable private String otherInfos; + @NotNull + private CommandSender sender; + @NotNull + private String permission; + @Nullable + private String groupName; + @Nullable + private String otherInfos; /** * Get sender is console + * * @return yes or no */ - public boolean isConsole(){ + public boolean isConsole() { return sender instanceof Server; } } diff --git a/src/main/java/org/maxgamer/quickshop/Permission/PermissionManager.java b/src/main/java/org/maxgamer/quickshop/Permission/PermissionManager.java index 5e0987712..42114af07 100644 --- a/src/main/java/org/maxgamer/quickshop/Permission/PermissionManager.java +++ b/src/main/java/org/maxgamer/quickshop/Permission/PermissionManager.java @@ -11,15 +11,17 @@ public class PermissionManager { private QuickShop plugin; private PermissionProvider provider; private PermissionProviderType providerType; + /** * The manager to call permission providers + * * @param plugin Instance */ - public PermissionManager(QuickShop plugin){ - this.plugin=plugin; + public PermissionManager(QuickShop plugin) { + this.plugin = plugin; try { this.providerType = PermissionProviderType.fromID(plugin.getConfig().getInt("permission-type")); - }catch (IllegalArgumentException e){ + } catch (IllegalArgumentException e) { plugin.getLogger().warning("Falling back to Bukkit permission provider..."); this.providerType = PermissionProviderType.BUKKIT; } @@ -45,42 +47,43 @@ public class PermissionManager { provider = new BukkitPermsProvider(); break; } - }catch (ProviderIsEmptyException empty){ - plugin.getLogger().warning("Provider "+providerType.name()+" doesn't work, falling back to BUKKIT."); + } catch (ProviderIsEmptyException empty) { + plugin.getLogger().warning("Provider " + providerType.name() + " doesn't work, falling back to BUKKIT."); provider = new BukkitPermsProvider(); - }catch (Throwable th){ + } catch (Throwable th) { th.printStackTrace(); - plugin.getLogger().warning("Provider "+providerType.name()+" failed loading, falling back to BUKKIT."); + plugin.getLogger().warning("Provider " + providerType.name() + " failed loading, falling back to BUKKIT."); provider = new BukkitPermsProvider(); } - plugin.getLogger().info("Selected permission provider: "+provider.getName()); + plugin.getLogger().info("Selected permission provider: " + provider.getName()); } /** * Check the permission for sender - * @param sender The CommandSender you want check + * + * @param sender The CommandSender you want check * @param permission The permission node wait to check * @return The result of check */ - public boolean hasPermission(@NotNull CommandSender sender, @NotNull String permission){ - try{ + public boolean hasPermission(@NotNull CommandSender sender, @NotNull String permission) { + try { boolean result = provider.hasPermission(sender, permission); - if(Util.isDevMode()){ - try{ + if (Util.isDevMode()) { + try { PermissionInfomationContainer container = provider.getDebugInfo(sender, permission); Util.debugLog("======="); - Util.debugLog("Result: "+result); - Util.debugLog("Sender: "+container.getSender().getName()); - Util.debugLog("Permission Node: "+container.getPermission()); - Util.debugLog("Primary Group: "+container.getGroupName()); - Util.debugLog("Other infos: "+container.getOtherInfos()); - }catch (Throwable th){ + Util.debugLog("Result: " + result); + Util.debugLog("Sender: " + container.getSender().getName()); + Util.debugLog("Permission Node: " + container.getPermission()); + Util.debugLog("Primary Group: " + container.getGroupName()); + Util.debugLog("Other infos: " + container.getOtherInfos()); + } catch (Throwable th) { th.printStackTrace(); Util.debugLog("Exception throwed when getting debug messages."); } } return result; - }catch (Throwable th){ + } catch (Throwable th) { plugin.getSentryErrorReporter().ignoreThrow(); th.printStackTrace(); plugin.getLogger().info("A error happend, if you believe this is QuickShop problem, please report to us on Issue Tracker or Discord."); diff --git a/src/main/java/org/maxgamer/quickshop/Permission/PermissionProvider.java b/src/main/java/org/maxgamer/quickshop/Permission/PermissionProvider.java index a05439af7..f31d457e4 100644 --- a/src/main/java/org/maxgamer/quickshop/Permission/PermissionProvider.java +++ b/src/main/java/org/maxgamer/quickshop/Permission/PermissionProvider.java @@ -6,7 +6,8 @@ import org.jetbrains.annotations.NotNull; public interface PermissionProvider { /** * Test the sender has special permission - * @param sender CommandSender + * + * @param sender CommandSender * @param permission The permission want to check * @return hasPermission */ @@ -14,13 +15,15 @@ public interface PermissionProvider { /** * Get permission provider name + * * @return The name of permission provider */ @NotNull String getName(); /** * Get the debug infos in provider - * @param sender CommandSender + * + * @param sender CommandSender * @param permission The permission want to check * @return Debug Infos */ diff --git a/src/main/java/org/maxgamer/quickshop/Permission/PermissionProviderType.java b/src/main/java/org/maxgamer/quickshop/Permission/PermissionProviderType.java index 897a5799d..0ddfacac6 100644 --- a/src/main/java/org/maxgamer/quickshop/Permission/PermissionProviderType.java +++ b/src/main/java/org/maxgamer/quickshop/Permission/PermissionProviderType.java @@ -1,18 +1,20 @@ package org.maxgamer.quickshop.Permission; public enum PermissionProviderType { - BUKKIT(0),VAULT(1),LUCKPERMS(2),PERMISSIONEX(3),GROUPMANAGER(4); + BUKKIT(0), VAULT(1), LUCKPERMS(2), PERMISSIONEX(3), GROUPMANAGER(4); int id; - PermissionProviderType(int id){ + PermissionProviderType(int id) { this.id = id; } - public int toID(){ + + public int toID() { return this.id; } - public static PermissionProviderType fromID(int id) throws IllegalArgumentException{ - for(PermissionProviderType child : PermissionProviderType.values()){ - if(child.toID() == id){ + + public static PermissionProviderType fromID(int id) throws IllegalArgumentException { + for (PermissionProviderType child : PermissionProviderType.values()) { + if (child.toID() == id) { return child; } } diff --git a/src/main/java/org/maxgamer/quickshop/Permission/ProviderIsEmptyException.java b/src/main/java/org/maxgamer/quickshop/Permission/ProviderIsEmptyException.java index 598e8eb30..2e5fa4845 100644 --- a/src/main/java/org/maxgamer/quickshop/Permission/ProviderIsEmptyException.java +++ b/src/main/java/org/maxgamer/quickshop/Permission/ProviderIsEmptyException.java @@ -3,8 +3,10 @@ package org.maxgamer.quickshop.Permission; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; + @AllArgsConstructor public class ProviderIsEmptyException extends RuntimeException { - @Getter @Setter + @Getter + @Setter private String providerName; } diff --git a/src/main/java/org/maxgamer/quickshop/Permission/VaultPermissionProvider.java b/src/main/java/org/maxgamer/quickshop/Permission/VaultPermissionProvider.java index 31f58fe25..0ef44bc74 100644 --- a/src/main/java/org/maxgamer/quickshop/Permission/VaultPermissionProvider.java +++ b/src/main/java/org/maxgamer/quickshop/Permission/VaultPermissionProvider.java @@ -10,13 +10,15 @@ import org.jetbrains.annotations.NotNull; public class VaultPermissionProvider implements PermissionProvider { private Permission api; - public VaultPermissionProvider(){ + + public VaultPermissionProvider() { RegisteredServiceProvider rsp = Bukkit.getServer().getServicesManager().getRegistration(Permission.class); - if(rsp == null){ + if (rsp == null) { throw new ProviderIsEmptyException(getName()); } api = rsp.getProvider(); } + /** * Test the sender has special permission * @@ -26,7 +28,7 @@ public class VaultPermissionProvider implements PermissionProvider { */ @Override public boolean hasPermission(@NotNull CommandSender sender, @NotNull String permission) { - return api.has(sender,permission); + return api.has(sender, permission); } /** @@ -48,10 +50,10 @@ public class VaultPermissionProvider implements PermissionProvider { */ @Override public @NotNull PermissionInfomationContainer getDebugInfo(@NotNull CommandSender sender, @NotNull String permission) { - if(sender instanceof Server){ - return new PermissionInfomationContainer(sender,permission,null,"User is Console"); + if (sender instanceof Server) { + return new PermissionInfomationContainer(sender, permission, null, "User is Console"); } OfflinePlayer offlinePlayer = (OfflinePlayer) sender; - return new PermissionInfomationContainer(sender,permission,api.getPrimaryGroup(null,offlinePlayer),null); + return new PermissionInfomationContainer(sender, permission, api.getPrimaryGroup(null, offlinePlayer), null); } } diff --git a/src/main/java/org/maxgamer/quickshop/QuickShop.java b/src/main/java/org/maxgamer/quickshop/QuickShop.java index 736771268..659e13b7f 100644 --- a/src/main/java/org/maxgamer/quickshop/QuickShop.java +++ b/src/main/java/org/maxgamer/quickshop/QuickShop.java @@ -144,7 +144,9 @@ public class QuickShop extends JavaPlugin { */ private HashSet warnings = new HashSet<>(); private WorldListener worldListener; - /** QuickShop custom event manager */ + /** + * QuickShop custom event manager + */ private QSEventManager qsEventManager; /** * The manager to check permissions. @@ -160,7 +162,7 @@ public class QuickShop extends JavaPlugin { public int getShopLimit(@NotNull Player p) { int max = getConfig().getInt("limits.default"); for (Entry entry : limits.entrySet()) { - if (entry.getValue() > max && getPermissionManager().hasPermission(p,entry.getKey())) { + if (entry.getValue() > max && getPermissionManager().hasPermission(p, entry.getKey())) { max = entry.getValue(); } } @@ -432,8 +434,8 @@ public class QuickShop extends JavaPlugin { Bukkit.getPluginManager().registerEvents(customInventoryListener, this); Bukkit.getPluginManager().registerEvents(displayBugFixListener, this); Bukkit.getPluginManager().registerEvents(shopProtectListener, this); - if(getConfig().getBoolean("shop.lock")){ - Bukkit.getPluginManager().registerEvents(lockListener,this); + if (getConfig().getBoolean("shop.lock")) { + Bukkit.getPluginManager().registerEvents(lockListener, this); } if (Bukkit.getPluginManager().getPlugin("ClearLag") != null) { Bukkit.getPluginManager().registerEvents(new ClearLaggListener(), this); @@ -456,7 +458,7 @@ public class QuickShop extends JavaPlugin { } }.runTaskLater(this, 1); Util.debugLog("Registering shop watcher..."); - shopVaildWatcher.runTaskTimer(this,0,20*60); + shopVaildWatcher.runTaskTimer(this, 0, 20 * 60); } /** @@ -465,7 +467,7 @@ public class QuickShop extends JavaPlugin { * @throws RuntimeException The error message, use this to create a BootError. */ private void runtimeCheck(QuickShop shop) throws RuntimeException { - if(Util.isClassAvailable("org.maxgamer.quickshop.Util.NMS")){ + if (Util.isClassAvailable("org.maxgamer.quickshop.Util.NMS")) { getLogger().severe("FATAL: Old QuickShop is installed, You must remove old quickshop jar from plugins folder!"); throw new RuntimeException("FATAL: Old QuickShop is installed, You must remove old quickshop jar from plugins folder!"); } @@ -906,7 +908,7 @@ public class QuickShop extends JavaPlugin { } if (selectedVersion == 46) { getConfig().set("shop.use-protection-checking-filter", true); - getConfig().set("shop.max-shops-checks-in-once",100); + getConfig().set("shop.max-shops-checks-in-once", 100); getConfig().set("config-version", 47); selectedVersion = 47; } @@ -948,9 +950,10 @@ public class QuickShop extends JavaPlugin { /** * Get the permissionManager as static + * * @return the permission Manager. */ - public static PermissionManager getPermissionManager(){ + public static PermissionManager getPermissionManager() { return permissionManager; } } \ No newline at end of file diff --git a/src/main/java/org/maxgamer/quickshop/Shop/ArmorStandDisplayItem.java b/src/main/java/org/maxgamer/quickshop/Shop/ArmorStandDisplayItem.java index 7ad41749b..590039155 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/ArmorStandDisplayItem.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/ArmorStandDisplayItem.java @@ -24,6 +24,7 @@ public class ArmorStandDisplayItem implements DisplayItem { String nlc = material.name().toLowerCase(); return nlc.contains("sword") || nlc.contains("shovel") || nlc.contains("axe"); } + private ArmorStand armorStand; private ItemStack guardedIstack; private ItemStack originalItemStack; diff --git a/src/main/java/org/maxgamer/quickshop/Shop/ContainerShop.java b/src/main/java/org/maxgamer/quickshop/Shop/ContainerShop.java index f73112bd8..c7802aa72 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/ContainerShop.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/ContainerShop.java @@ -32,7 +32,8 @@ import java.util.logging.Level; @EqualsAndHashCode public class ContainerShop implements Shop { private DisplayItem displayItem; - @EqualsAndHashCode.Exclude private boolean isLoaded = false; + @EqualsAndHashCode.Exclude + private boolean isLoaded = false; private ItemStack item; private Location loc; private ShopModerator moderator; diff --git a/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java b/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java index c906afece..6f3684d86 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/DisplayItem.java @@ -58,10 +58,10 @@ public interface DisplayItem { if (ShopProtectionFlag.getDefaultMark().equals(shopProtectionFlag.getMark())) { return true; } - if(shopProtectionFlag.getShopLocation()!= null){ + if (shopProtectionFlag.getShopLocation() != null) { return true; } - if(shopProtectionFlag.getItemStackString() != null){ + if (shopProtectionFlag.getItemStackString() != null) { return true; } } catch (JsonSyntaxException e) { @@ -128,10 +128,9 @@ public interface DisplayItem { ItemMeta iMeta = itemStack.getItemMeta(); if (QuickShop.instance.getConfig().getBoolean("shop.display-item-use-name")) { iMeta.setDisplayName("QuickShop DisplayItem"); - } - else { + } else { iMeta.setDisplayName(null); - } + } java.util.List lore = new ArrayList(); Gson gson = new Gson(); ShopProtectionFlag shopProtectionFlag = new ShopProtectionFlag(shop.getLocation().toString(), Util.serialize(itemStack)); diff --git a/src/main/java/org/maxgamer/quickshop/Shop/DisplayType.java b/src/main/java/org/maxgamer/quickshop/Shop/DisplayType.java index 1fd064053..4f6ec0ed4 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/DisplayType.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/DisplayType.java @@ -5,12 +5,13 @@ import org.jetbrains.annotations.Nullable; public enum DisplayType { /* - * UNKNOWN = FALLBACK TO REALITEM - * REALITEM = USE REAL DROPPED ITEM - * ARMORSTAND = USE ARMORSTAND DISPLAY - * VIRTUALITEM = USE VIRTUAL DROPPED ITEM (CLIENT SIDE) - * */ + * UNKNOWN = FALLBACK TO REALITEM + * REALITEM = USE REAL DROPPED ITEM + * ARMORSTAND = USE ARMORSTAND DISPLAY + * VIRTUALITEM = USE VIRTUAL DROPPED ITEM (CLIENT SIDE) + * */ UNKNOWN(-1), REALITEM(0), ARMORSTAND(1), VIRTUALITEM(2); + public static @NotNull DisplayType fromID(int id) { for (DisplayType type : DisplayType.values()) { if (type.id == id) { diff --git a/src/main/java/org/maxgamer/quickshop/Shop/InventoryPreview.java b/src/main/java/org/maxgamer/quickshop/Shop/InventoryPreview.java index 414451de7..7a10feba7 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/InventoryPreview.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/InventoryPreview.java @@ -40,6 +40,7 @@ public class InventoryPreview implements Listener { } return false; } + private Inventory inventory; private ItemStack itemStack; private Player player; diff --git a/src/main/java/org/maxgamer/quickshop/Shop/Shop.java b/src/main/java/org/maxgamer/quickshop/Shop/Shop.java index 44893e786..42edcdfa1 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/Shop.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/Shop.java @@ -55,6 +55,7 @@ public interface Shop { /** * Remove a staff from moderators + * * @param player Staff * @return Success */ @@ -67,6 +68,7 @@ public interface Shop { /** * Delete shop from ram or ram and database + * * @param paramBoolean true = only delete from ram, false = delete from both ram and database */ void delete(boolean paramBoolean); @@ -81,6 +83,7 @@ public interface Shop { /** * Check the target ItemStack is matches with this shop's item. + * * @param paramItemStack Target ItemStack. * @return Matches */ @@ -103,21 +106,24 @@ public interface Shop { /** * Get shop's owner name, it will return owner name or Admin Shop(i18n) when it is unlimited + * * @return owner name */ String ownerName(); /** * Remove x ItemStack from the shop inventory + * * @param paramItemStack Want removed ItemStack - * @param paramInt Want remove how many + * @param paramInt Want remove how many */ void remove(ItemStack paramItemStack, int paramInt); /** * Execute sell action for player with x items. + * * @param paramPlayer Target player - * @param paramInt How many sold? + * @param paramInt How many sold? */ void sell(Player paramPlayer, int paramInt); @@ -133,12 +139,14 @@ public interface Shop { /** * Set new shop type for this shop + * * @param paramShopType New shop type */ void setShopType(ShopType paramShopType); /** * Get shop's item durability, if have. + * * @return Shop's item durability */ short getDurability(); @@ -152,24 +160,28 @@ public interface Shop { /** * Set texts on shop's sign + * * @param paramArrayOfString The texts you want set */ void setSignText(String[] paramArrayOfString); /** * Get shop's location + * * @return Shop's location */ Location getLocation(); /** * Return this shop's moderators + * * @return Shop moderators */ ShopModerator getModerator(); /** * Set new shop's moderators + * * @param shopModerator New moderators team you want set */ void setModerator(ShopModerator shopModerator); @@ -197,24 +209,28 @@ public interface Shop { /** * Set shop's new price + * * @param paramDouble New price */ void setPrice(double paramDouble); /** * Get shop remaining space. + * * @return Remaining space. */ int getRemainingSpace(); /** * Get shop remaining stock. + * * @return Remaining stock. */ int getRemainingStock(); /** * Get shop type + * * @return shop type */ ShopType getShopType(); @@ -226,11 +242,12 @@ public interface Shop { */ List getSigns(); - /** + /** * Directly get all staffs. + * * @return staffs - */ - ArrayList getStaffs(); + */ + ArrayList getStaffs(); /** * Get shop is or not in buying mode diff --git a/src/main/java/org/maxgamer/quickshop/Shop/ShopLoader.java b/src/main/java/org/maxgamer/quickshop/Shop/ShopLoader.java index 9fa33f0c4..9a41ca706 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/ShopLoader.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/ShopLoader.java @@ -79,6 +79,7 @@ public class ShopLoader { /** * Load all shops + * * @param worldName The world name */ public void loadShops(@Nullable String worldName) { diff --git a/src/main/java/org/maxgamer/quickshop/Shop/ShopManager.java b/src/main/java/org/maxgamer/quickshop/Shop/ShopManager.java index 7d1664edd..24c347649 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/ShopManager.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/ShopManager.java @@ -43,7 +43,7 @@ public class ShopManager { @SuppressWarnings("deprecation") private void actionBuy(@NotNull Player p, @NotNull HashMap actions2, @NotNull Info info, @NotNull String message, @NotNull Shop shop, int amount) { - if(plugin.getEconomy() == null){ + if (plugin.getEconomy() == null) { p.sendMessage("Error: Economy system not loaded, type /qs main command to get details."); return; } @@ -141,7 +141,7 @@ public class ShopManager { @SuppressWarnings("deprecation") private void actionCreate(@NotNull Player p, @NotNull HashMap actions2, @NotNull Info info, @NotNull String message, boolean bypassProtectionChecks) { - if(plugin.getEconomy() == null){ + if (plugin.getEconomy() == null) { p.sendMessage("Error: Economy system not loaded, type /qs main command to get details."); return; } @@ -288,7 +288,7 @@ public class ShopManager { } private void actionSell(@NotNull Player p, @NotNull HashMap actions2, @NotNull Info info, @NotNull String message, @NotNull Shop shop, int amount) { - if(plugin.getEconomy() == null){ + if (plugin.getEconomy() == null) { p.sendMessage("Error: Economy system not loaded, type /qs main command to get details."); return; } @@ -383,7 +383,7 @@ public class ShopManager { } private void actionTrade(@NotNull Player p, @NotNull HashMap actions, @NotNull Info info, @NotNull String message) { - if(plugin.getEconomy() == null){ + if (plugin.getEconomy() == null) { p.sendMessage("Error: Economy system not loaded, type /qs main command to get details."); return; } @@ -544,7 +544,7 @@ public class ShopManager { */ public void createShop(@NotNull Shop shop, @NotNull Info info) { Player player = Bukkit.getPlayer(shop.getOwner()); - if(player == null) { + if (player == null) { throw new IllegalStateException("The owner creating the shop is offline or not exist"); } ShopCreateEvent ssShopCreateEvent = new ShopCreateEvent(shop, player); @@ -652,7 +652,7 @@ public class ShopManager { * @return The shop at that location */ public @Nullable Shop getShopIncludeAttached(@Nullable Location loc) { - if(loc == null){ + if (loc == null) { return null; } HashMap inChunk = getShops(loc.getChunk()); @@ -664,9 +664,9 @@ public class ShopManager { } Block attachedBlock = Util.getAttached(loc.getBlock()); if (attachedBlock != null) { - if(!attachedBlock.getChunk().equals(loc.getChunk())){ + if (!attachedBlock.getChunk().equals(loc.getChunk())) { HashMap inChunkB = getShops(attachedBlock.getLocation().getChunk()); - if(inChunkB == null){ + if (inChunkB == null) { return null; } return inChunkB.get(attachedBlock.getLocation()); diff --git a/src/main/java/org/maxgamer/quickshop/Shop/ShopModerator.java b/src/main/java/org/maxgamer/quickshop/Shop/ShopModerator.java index 1aeaeb632..8ff97d4f9 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/ShopModerator.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/ShopModerator.java @@ -25,8 +25,10 @@ public class ShopModerator { return gson.toJson(shopModerator); //Use Gson serialize this class } - @NonNull private UUID owner; - @NonNull private ArrayList staffs; + @NonNull + private UUID owner; + @NonNull + private ArrayList staffs; private ShopModerator(@NotNull ShopModerator shopModerator) { this.owner = shopModerator.owner; @@ -45,7 +47,8 @@ public class ShopModerator { /** * Shop moderators, inlucding owner, staffs. - * @param owner The owner + * + * @param owner The owner * @param staffs The staffs */ public ShopModerator(@NotNull UUID owner, @NotNull ArrayList staffs) { @@ -55,6 +58,7 @@ public class ShopModerator { /** * Add moderators staff to staff list + * * @param player New staff * @return Success */ @@ -86,6 +90,7 @@ public class ShopModerator { /** * Remove moderators staff from staff list + * * @param player Staff * @return Success */ @@ -95,6 +100,7 @@ public class ShopModerator { /** * Get a player is or not moderators + * * @param player Player * @return yes or no, return true when it is staff or owner */ @@ -107,6 +113,7 @@ public class ShopModerator { /** * Get a player is or not moderators owner + * * @param player Player * @return yes or no */ @@ -116,6 +123,7 @@ public class ShopModerator { /** * Get a player is or not moderators a staff + * * @param player Player * @return yes or no */ @@ -125,6 +133,7 @@ public class ShopModerator { /** * Get moderators owner (Shop Owner). + * * @return Owner's UUID */ public @NotNull UUID getOwner() { diff --git a/src/main/java/org/maxgamer/quickshop/Shop/ShopProtectionFlag.java b/src/main/java/org/maxgamer/quickshop/Shop/ShopProtectionFlag.java index 6139ab5cf..9472a8ef7 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/ShopProtectionFlag.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/ShopProtectionFlag.java @@ -18,7 +18,8 @@ public class ShopProtectionFlag { this.shopLocation = shopLocation; this.itemStackString = itemStackString; } - public static String getDefaultMark(){ + + public static String getDefaultMark() { return "QuickShop DisplayItem"; } } diff --git a/src/main/java/org/maxgamer/quickshop/Shop/ShopType.java b/src/main/java/org/maxgamer/quickshop/Shop/ShopType.java index 44f3600da..6104169d7 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/ShopType.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/ShopType.java @@ -5,6 +5,7 @@ import org.jetbrains.annotations.NotNull; public enum ShopType { //SELLING = SELLMODE BUYING = BUY MODE SELLING(0), BUYING(1); + public static @NotNull ShopType fromID(int id) { for (ShopType type : ShopType.values()) { if (type.id == id) { diff --git a/src/main/java/org/maxgamer/quickshop/Util/ItemMatcher.java b/src/main/java/org/maxgamer/quickshop/Util/ItemMatcher.java index 2e8effbfc..23ed5c81b 100644 --- a/src/main/java/org/maxgamer/quickshop/Util/ItemMatcher.java +++ b/src/main/java/org/maxgamer/quickshop/Util/ItemMatcher.java @@ -117,10 +117,10 @@ class ItemMetaMatcher { } Set set1 = meta1.getAttributeModifiers().keySet(); Set set2 = meta2.getAttributeModifiers().keySet(); - for (Attribute att : set1){ - if(!set2.contains(att)){ + for (Attribute att : set1) { + if (!set2.contains(att)) { return false; - }else if(!meta1.getAttributeModifiers().get(att).equals(meta2.getAttributeModifiers().get(att))){ + } else if (!meta1.getAttributeModifiers().get(att).equals(meta2.getAttributeModifiers().get(att))) { return false; } } diff --git a/src/main/java/org/maxgamer/quickshop/Util/MsgUtil.java b/src/main/java/org/maxgamer/quickshop/Util/MsgUtil.java index d28055288..d32b4ba22 100644 --- a/src/main/java/org/maxgamer/quickshop/Util/MsgUtil.java +++ b/src/main/java/org/maxgamer/quickshop/Util/MsgUtil.java @@ -967,10 +967,10 @@ public class MsgUtil { if (object == null) { messagei18n.set(path, null); //Removal } - Object objFromBuiltIn = builtInDefaultLanguage.get(path); //Apply english default - if (objFromBuiltIn == null) { - objFromBuiltIn = object; //Apply hard-code default, maybe a language file i forgotten update?? - } + Object objFromBuiltIn = builtInDefaultLanguage.get(path); //Apply english default + if (objFromBuiltIn == null) { + objFromBuiltIn = object; //Apply hard-code default, maybe a language file i forgotten update?? + } messagei18n.set(path, objFromBuiltIn); } diff --git a/src/main/java/org/maxgamer/quickshop/Util/Paste.java b/src/main/java/org/maxgamer/quickshop/Util/Paste.java index ffb2b26ee..30f094728 100644 --- a/src/main/java/org/maxgamer/quickshop/Util/Paste.java +++ b/src/main/java/org/maxgamer/quickshop/Util/Paste.java @@ -6,7 +6,9 @@ import org.bukkit.World; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.plugin.Plugin; import org.jetbrains.annotations.NotNull; -import org.maxgamer.quickshop.Economy.*; +import org.maxgamer.quickshop.Economy.Economy; +import org.maxgamer.quickshop.Economy.EconomyCore; +import org.maxgamer.quickshop.Economy.Economy_Vault; import org.maxgamer.quickshop.QuickShop; import java.io.BufferedReader; @@ -45,7 +47,7 @@ public class Paste { finalReport.append("\tEconomy System: "); EconomyCore economyCore = plugin.getEconomy().getCore(); if (economyCore != null) { - switch (Economy.getNowUsing()){ + switch (Economy.getNowUsing()) { case VAULT: finalReport.append("Vault").append("%").append(((Economy_Vault) economyCore).getProviderName()); break; @@ -135,7 +137,7 @@ public class Paste { finalReport.append("\t\t\n").append(new String(Util .inputStream2ByteArray(new File(new File(".", "logs"), "latest.log").getPath()))).append("\n"); finalReport.append("\t*********************************\n"); - }catch (Throwable th){ + } catch (Throwable th) { finalReport.append("\t*********************************\n"); finalReport.append("\tlatest.log:\n"); finalReport.append("\t\t\n").append("Read failed.").append("\n"); @@ -147,7 +149,7 @@ public class Paste { finalReport.append("\t\t\n").append(new String(Util .inputStream2ByteArray(new File(new File("."), "bukkit.yml").getPath()))).append("\n"); finalReport.append("\t*********************************\n"); - }catch (Throwable th){ + } catch (Throwable th) { finalReport.append("\t*********************************\n"); finalReport.append("\tbukkit.yml:\n"); finalReport.append("\t\t\n").append("Read failed.").append("\n"); @@ -159,7 +161,7 @@ public class Paste { finalReport.append("\t\t\n").append(new String(Util .inputStream2ByteArray(new File(new File("."), "spigot.yml").getPath()))).append("\n"); finalReport.append("\t*********************************\n"); - }catch (Throwable th){ + } catch (Throwable th) { finalReport.append("\t*********************************\n"); finalReport.append("\tspigot.yml:\n"); finalReport.append("\t\t\n").append("Read failed.").append("\n"); @@ -171,7 +173,7 @@ public class Paste { finalReport.append("\t\t\n").append(new String(Util .inputStream2ByteArray(new File(new File("."), "paper.yml").getPath()))).append("\n"); finalReport.append("\t*********************************\n"); - }catch (Throwable th){ + } catch (Throwable th) { finalReport.append("\t*********************************\n"); finalReport.append("\tpaper.yml:\n"); finalReport.append("\t\t\n").append("Read failed.").append("\n"); diff --git a/src/main/java/org/maxgamer/quickshop/Util/PermissionChecker.java b/src/main/java/org/maxgamer/quickshop/Util/PermissionChecker.java index 397d52f62..5465a4fb5 100644 --- a/src/main/java/org/maxgamer/quickshop/Util/PermissionChecker.java +++ b/src/main/java/org/maxgamer/quickshop/Util/PermissionChecker.java @@ -35,8 +35,9 @@ public class PermissionChecker { /** * Check player can build in target block + * * @param player Target player - * @param block Target block + * @param block Target block * @return Success */ public boolean canBuild(@NotNull Player player, @NotNull Block block) { @@ -49,21 +50,21 @@ public class PermissionChecker { beMainHand = new BlockBreakEvent(block, player); //Call for event for protection check start - Bukkit.getPluginManager().callEvent(new ShopProtectionCheckEvent(block.getLocation(),player, ProtectionCheckStatus.BEGIN,beMainHand)); + Bukkit.getPluginManager().callEvent(new ShopProtectionCheckEvent(block.getLocation(), player, ProtectionCheckStatus.BEGIN, beMainHand)); ListenerHelper.disableEvent(beMainHand.getClass()); //Bukkit.getPluginManager().callEvent(beMainHand); beMainHand.setDropItems(false); beMainHand.setExpToDrop(-1); Plugin cancelPlugin = null; - if(plugin.getConfig().getBoolean("shop.use-protection-checking-filter")){ + if (plugin.getConfig().getBoolean("shop.use-protection-checking-filter")) { cancelPlugin = plugin.getQsEventManager().fireEvent(beMainHand); - }else{ + } else { Bukkit.getPluginManager().callEvent(beMainHand); } //Use our custom event caller. ListenerHelper.enableEvent(beMainHand.getClass()); //Call for event for protection check end - Bukkit.getPluginManager().callEvent(new ShopProtectionCheckEvent(block.getLocation(),player, ProtectionCheckStatus.END,beMainHand)); + Bukkit.getPluginManager().callEvent(new ShopProtectionCheckEvent(block.getLocation(), player, ProtectionCheckStatus.END, beMainHand)); boolean canBuild = !((Cancellable) beMainHand).isCancelled(); if (!canBuild) { @@ -71,7 +72,7 @@ public class PermissionChecker { // for (RegisteredListener listener : beMainHand.getHandlers().getRegisteredListeners()) { // Util.debugLog("- " + listener.getPlugin().getName() + " : " + listener.getListener().getClass().getSimpleName()); // } - if(cancelPlugin != null) { + if (cancelPlugin != null) { Util.debugLog("Plugin " + cancelPlugin.getName() + " cancelled this build create action."); } } diff --git a/src/main/java/org/maxgamer/quickshop/Util/SentryErrorReporter.java b/src/main/java/org/maxgamer/quickshop/Util/SentryErrorReporter.java index f1ff09bd7..cdcb46f77 100644 --- a/src/main/java/org/maxgamer/quickshop/Util/SentryErrorReporter.java +++ b/src/main/java/org/maxgamer/quickshop/Util/SentryErrorReporter.java @@ -79,6 +79,7 @@ public class SentryErrorReporter { /** * Dupe report check + * * @param throwable Throws * @return dupecated */ @@ -105,6 +106,7 @@ public class SentryErrorReporter { /** * Check a throw is cause by QS + * * @param throwable Throws * @return Cause or not */ @@ -270,7 +272,7 @@ public class SentryErrorReporter { if (level != Level.WARNING && level != Level.SEVERE) { return true; } - if(record.getThrown() == null){ + if (record.getThrown() == null) { Util.debugLog("Error not sended cause thrown is null"); return true; } diff --git a/src/main/java/org/maxgamer/quickshop/Util/Timer.java b/src/main/java/org/maxgamer/quickshop/Util/Timer.java index 53a3493e6..39e9037ae 100644 --- a/src/main/java/org/maxgamer/quickshop/Util/Timer.java +++ b/src/main/java/org/maxgamer/quickshop/Util/Timer.java @@ -17,6 +17,7 @@ public class Timer { /** * Create a empty time, auto start if autoSet is true + * * @param autoSet Auto set the timer */ public Timer(boolean autoSet) { diff --git a/src/main/java/org/maxgamer/quickshop/Util/UpdateInfomation.java b/src/main/java/org/maxgamer/quickshop/Util/UpdateInfomation.java index 713709ce4..f746096c9 100644 --- a/src/main/java/org/maxgamer/quickshop/Util/UpdateInfomation.java +++ b/src/main/java/org/maxgamer/quickshop/Util/UpdateInfomation.java @@ -12,6 +12,7 @@ import org.jetbrains.annotations.Nullable; @EqualsAndHashCode public class UpdateInfomation { private boolean isBeta; - @Nullable private String version; + @Nullable + private String version; } diff --git a/src/main/java/org/maxgamer/quickshop/Util/WarningSender.java b/src/main/java/org/maxgamer/quickshop/Util/WarningSender.java index 1888dd1d5..23e97a99d 100644 --- a/src/main/java/org/maxgamer/quickshop/Util/WarningSender.java +++ b/src/main/java/org/maxgamer/quickshop/Util/WarningSender.java @@ -10,7 +10,8 @@ import org.maxgamer.quickshop.QuickShop; public class WarningSender { private long cooldown; private long lastSend = 0; - @ToString.Exclude private QuickShop plugin; + @ToString.Exclude + private QuickShop plugin; /** * Create a warning sender diff --git a/src/main/java/org/maxgamer/quickshop/Watcher/ShopVaildWatcher.java b/src/main/java/org/maxgamer/quickshop/Watcher/ShopVaildWatcher.java index 2c7d87fd4..35bd7ee1c 100644 --- a/src/main/java/org/maxgamer/quickshop/Watcher/ShopVaildWatcher.java +++ b/src/main/java/org/maxgamer/quickshop/Watcher/ShopVaildWatcher.java @@ -25,13 +25,13 @@ public class ShopVaildWatcher extends BukkitRunnable { int checkedShops = 0; int maxCheckShops = plugin.getConfig().getInt("shop.max-shops-checks-in-once"); Shop shop = checkQueue.poll(); - while (shop != null){ - if(shop.isLoaded() && !shop.isValid()){ + while (shop != null) { + if (shop.isLoaded() && !shop.isValid()) { shop.delete(); - Util.debugLog("Removed shop at "+shop.getLocation()+" cause the container is missing or not a usable container."); + Util.debugLog("Removed shop at " + shop.getLocation() + " cause the container is missing or not a usable container."); } - checkedShops ++; - if(checkedShops >= maxCheckShops){ + checkedShops++; + if (checkedShops >= maxCheckShops) { Util.debugLog("Shop check reached the limit, force exit and wait next check window."); } shop = checkQueue.poll(); diff --git a/src/main/java/org/maxgamer/quickshop/Watcher/SyncTaskWatcher.java b/src/main/java/org/maxgamer/quickshop/Watcher/SyncTaskWatcher.java index fb51fbfe6..9e05c70b8 100644 --- a/src/main/java/org/maxgamer/quickshop/Watcher/SyncTaskWatcher.java +++ b/src/main/java/org/maxgamer/quickshop/Watcher/SyncTaskWatcher.java @@ -11,9 +11,12 @@ import java.util.LinkedList; import java.util.Queue; public class SyncTaskWatcher { - @Getter private Queue entityRemoveQueue = new LinkedList<>(); - @Getter private Queue inventoryEditQueue = new LinkedList<>(); - @Getter private Queue itemStackRemoveQueue = new LinkedList<>(); + @Getter + private Queue entityRemoveQueue = new LinkedList<>(); + @Getter + private Queue inventoryEditQueue = new LinkedList<>(); + @Getter + private Queue itemStackRemoveQueue = new LinkedList<>(); private QuickShop plugin; /** diff --git a/src/main/java/org/maxgamer/quickshop/Watcher/UpdateWatcher.java b/src/main/java/org/maxgamer/quickshop/Watcher/UpdateWatcher.java index ce13d81f4..c8339e9cf 100644 --- a/src/main/java/org/maxgamer/quickshop/Watcher/UpdateWatcher.java +++ b/src/main/java/org/maxgamer/quickshop/Watcher/UpdateWatcher.java @@ -52,7 +52,7 @@ public class UpdateWatcher implements Listener { QuickShop.instance.getLogger().info("Update here: https://www.spigotmc.org/resources/62575/"); Bukkit.getOnlinePlayers().forEach(player -> { - if (QuickShop.getPermissionManager().hasPermission(player,"quickshop.alert")) { + if (QuickShop.getPermissionManager().hasPermission(player, "quickshop.alert")) { List notifys = MsgUtil.getI18nYaml().getStringList("updatenotify.list"); Random random = new Random(); int notifyNum = -1; @@ -103,7 +103,7 @@ public class UpdateWatcher implements Listener { new BukkitRunnable() { @Override public void run() { - if (hasNewUpdate && QuickShop.getPermissionManager().hasPermission(e.getPlayer(),"quickshop.alert")) { + if (hasNewUpdate && QuickShop.getPermissionManager().hasPermission(e.getPlayer(), "quickshop.alert")) { if (!info.isBeta()) { List notifys = MsgUtil.getI18nYaml().getStringList("updatenotify.list"); Random random = new Random(); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 05923e93a..c180cc90b 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -100,33 +100,33 @@ send-display-item-protection-alert: true #MySQL database settings. database: - # false = use local SQLite database, true = use local/remote MySQL database. - mysql: false - host: localhost - port: 3306 - database: quickshop - user: root - password: passwd - # Set prefix to "none" to remove prefix - prefix: none - usessl: false - queue: true + # false = use local SQLite database, true = use local/remote MySQL database. + mysql: false + host: localhost + port: 3306 + database: quickshop + user: root + password: passwd + # Set prefix to "none" to remove prefix + prefix: none + usessl: false + queue: true #Limits the number of shops a person can create and own at a single time. limits: - #Disable these if you're not using them! If this is false, the rest of this section is ignored - use: false + #Disable these if you're not using them! If this is false, the rest of this section is ignored + use: false - #The default number of shops players can make - default: 10 + #The default number of shops players can make + default: 10 - #Use old algorithm to calc unlimited shops into limits. - old-algorithm: false + #Use old algorithm to calc unlimited shops into limits. + old-algorithm: false - #Players with these permissions can create these amounts of shops. - ranks: - #Anyone with 'quickshop.vip' permissions, can create 20 shops instead of 10. - quickshop.vip: 20 #Players with quickshop.vip can make 20 shops. + #Players with these permissions can create these amounts of shops. + ranks: + #Anyone with 'quickshop.vip' permissions, can create 20 shops instead of 10. + quickshop.vip: 20 #Players with quickshop.vip can make 20 shops. #A list of block (materials) which can be used to create shops. #By default, chests are added to this list. @@ -137,172 +137,172 @@ limits: #allow players to put whatever item they want in all 3 slots and #dispenser shops aren't protected from redstone... Etc. shop-blocks: -- CHEST -- TRAPPED_CHEST -- ENDER_CHEST + - CHEST + - TRAPPED_CHEST + - ENDER_CHEST shop: - #Cost to make a shop - cost: 10 - #Should we refund the player when their shops are deleted/removed/broken? - refund: false + #Cost to make a shop + cost: 10 + #Should we refund the player when their shops are deleted/removed/broken? + refund: false - #Is there a fee for changing prices on a shop (Help deter endless undercutting) - price-change-requires-fee: true - #If price changes require a fee, how much is the fee - fee-for-price-change: 50 + #Is there a fee for changing prices on a shop (Help deter endless undercutting) + price-change-requires-fee: true + #If price changes require a fee, how much is the fee + fee-for-price-change: 50 - #Should we try and lock their shops from other players, so people can't steal from them? - lock: true + #Should we try and lock their shops from other players, so people can't steal from them? + lock: true - #Should we require players be sneaking to create and use shops? - sneak-to-create: false - sneak-to-trade: false - sneak-to-control: false + #Should we require players be sneaking to create and use shops? + sneak-to-create: false + sneak-to-trade: false + sneak-to-control: false - #Should we automatically create the sign for the chest? - auto-sign: true + #Should we automatically create the sign for the chest? + auto-sign: true - #Should we pay/take money to/from unlimited shops owner? - pay-unlimited-shop-owners: false + #Should we pay/take money to/from unlimited shops owner? + pay-unlimited-shop-owners: false - #Should we place display items on the chests? This may cause duped items, especially for modded servers. - display-items: true + #Should we place display items on the chests? This may cause duped items, especially for modded servers. + display-items: true - #The plugin will check if the display item is in a valid position every specified amount of ticks. 0 to disable. - display-items-check-ticks: 6000 + #The plugin will check if the display item is in a valid position every specified amount of ticks. 0 to disable. + display-items-check-ticks: 6000 - #The display type you want use. - #0=Normal Dropped Item, 1=ArmorStand, 2=Virtual Dropped Item - display-type: 0 + #The display type you want use. + #0=Normal Dropped Item, 1=ArmorStand, 2=Virtual Dropped Item + display-type: 0 - #When someone uses /qs find , how far should we search in blocks? - #This command lets users shop quickly without wasting time searching - #Settings > 100 WILL cause lag. Don't do it, or don't cry when your server lags. - find-distance: 45 + #When someone uses /qs find , how far should we search in blocks? + #This command lets users shop quickly without wasting time searching + #Settings > 100 WILL cause lag. Don't do it, or don't cry when your server lags. + find-distance: 45 - #If vault doesn't return a coins symbol, QuickShop will use this symbol to replace it. - alternate-currency-symbol: '$' + #If vault doesn't return a coins symbol, QuickShop will use this symbol to replace it. + alternate-currency-symbol: '$' - #It should fix Vault or an economy plugin that is not correctly processing the price and returns a "0" result problem. - #If you turn on this option, plugin will force use "alternate-currency-symbol" option. - disable-vault-format: false + #It should fix Vault or an economy plugin that is not correctly processing the price and returns a "0" result problem. + #If you turn on this option, plugin will force use "alternate-currency-symbol" option. + disable-vault-format: false - #Ignore trade messages if the shop is unlimited - ignore-unlimited-shop-messages: false + #Ignore trade messages if the shop is unlimited + ignore-unlimited-shop-messages: false - #Enable this if you only want players to create shops in a special region - #When you enable this, you only can create shop in the AreaShop's area - special-region-only: false + #Enable this if you only want players to create shops in a special region + #When you enable this, you only can create shop in the AreaShop's area + special-region-only: false - #Allow auto fetching player shops, if you disable this, players need to use /qs fetchmessage to fetch the shops history messages. (Disabling it may cause database issues.) - auto-fetch-shop-messages: true + #Allow auto fetching player shops, if you disable this, players need to use /qs fetchmessage to fetch the shops history messages. (Disabling it may cause database issues.) + auto-fetch-shop-messages: true - #Ignore cancel chat event, can improve compatibility with other chat plugin in some cases. - ignore-cancel-chat-event: false + #Ignore cancel chat event, can improve compatibility with other chat plugin in some cases. + ignore-cancel-chat-event: false - #Allow shops to be created in a place where a sign cannot placed - #(e.g There is blocks on all sides of the shop / The player doesn't have permission to put down a sign at that location) - allow-shop-without-space-for-sign: false + #Allow shops to be created in a place where a sign cannot placed + #(e.g There is blocks on all sides of the shop / The player doesn't have permission to put down a sign at that location) + allow-shop-without-space-for-sign: false - #The maximum price for shop, This will not affect existing shops, set it to -1 to disable it. - maximum-price: -1 + #The maximum price for shop, This will not affect existing shops, set it to -1 to disable it. + maximum-price: -1 - #The wall sign material. - #In 1.13 and legacy versions, only WALL_SIGN is available. - # - #For 1.14, you can use these: - #ACACIA_WALL_SIGN - #BIRCH_WALL_SIGN - #DARK_OAK_WALL_SIGN - #JUNGLE_WALL_SIGN - #OAK_WALL_SIGN - #SPRUCE_WALL_SIGN - sign-material: OAK_WALL_SIGN + #The wall sign material. + #In 1.13 and legacy versions, only WALL_SIGN is available. + # + #For 1.14, you can use these: + #ACACIA_WALL_SIGN + #BIRCH_WALL_SIGN + #DARK_OAK_WALL_SIGN + #JUNGLE_WALL_SIGN + #OAK_WALL_SIGN + #SPRUCE_WALL_SIGN + sign-material: OAK_WALL_SIGN - #The worlds name for you didn't want create new shop. - blacklist-world: - - disabled_world_name + #The worlds name for you didn't want create new shop. + blacklist-world: + - disabled_world_name - #Enable a stricter itemstack check - strict-matches-check: false + #Enable a stricter itemstack check + strict-matches-check: false - #Protection check - protection-checking: true + #Protection check + protection-checking: true - #Protection advanced event calling filter - #Advance users only. - use-protection-checking-filter: false - protection-checking-filter: [] - # - PLUGIN##LISTENER##EVENT - #Example: - QuickShop##org.maxgamer.Listeners.BlockListener##org.bukkit.event.block.BlockPlaceEvent + #Protection advanced event calling filter + #Advance users only. + use-protection-checking-filter: false + protection-checking-filter: [] + # - PLUGIN##LISTENER##EVENT + #Example: - QuickShop##org.maxgamer.Listeners.BlockListener##org.bukkit.event.block.BlockPlaceEvent - #How many shops can be checked in once? (Container exists check) - max-shops-checks-in-once: 100 + #How many shops can be checked in once? (Container exists check) + max-shops-checks-in-once: 100 - #Add display name to the spawned DisplayItem entity? - display-item-use-name: true + #Add display name to the spawned DisplayItem entity? + display-item-use-name: true - #Update the signs when Hopper or somethings trigged InventoryMoveItemEvent. - #Disable it if you feel it damage your server performance. - update-sign-when-inventory-moving: true + #Update the signs when Hopper or somethings trigged InventoryMoveItemEvent. + #Disable it if you feel it damage your server performance. + update-sign-when-inventory-moving: true - #Allow player loan (Require economy plugin support) - allow-economy-loan: false + #Allow player loan (Require economy plugin support) + allow-economy-loan: false #List of items that can't be sold in shops. Anyone with quickshop.bypass. can bypass it blacklist: -- Bedrock + - Bedrock protect: - #Protected shop blocks if InventoryMoveEvent called. (e.g Hopper, HopperMinecart) - inventorymove: true - #Protected shop blocks if BlockSpreadEvent called. (e.g vines) - spread: true - #Protected shop items if BlockFromToEvent called. (e.g water,lava and ) - fromto: true - #Protected shop blocks can or cannot be picked up by an entity (Will remove Entity) - entity: true - #Protected shop blocks can or cannot be activated by Redstone - redstone: true - #Protected shop blocks can or cannot be broken by a plant growing - structuregrow: true - #Protected shop blocks can or cannot be broken by an Entity and or a Block explosion - explode: true + #Protected shop blocks if InventoryMoveEvent called. (e.g Hopper, HopperMinecart) + inventorymove: true + #Protected shop blocks if BlockSpreadEvent called. (e.g vines) + spread: true + #Protected shop items if BlockFromToEvent called. (e.g water,lava and ) + fromto: true + #Protected shop blocks can or cannot be picked up by an entity (Will remove Entity) + entity: true + #Protected shop blocks can or cannot be activated by Redstone + redstone: true + #Protected shop blocks can or cannot be broken by a plant growing + structuregrow: true + #Protected shop blocks can or cannot be broken by an Entity and or a Block explosion + explode: true lockette: - #Fix Quickshop not canceling a break lock sign event (Making it impossible to break a locked chest)\ - enable: true - private: "[Private]" - more_users: "[More Users]" + #Fix Quickshop not canceling a break lock sign event (Making it impossible to break a locked chest)\ + enable: true + private: "[Private]" + more_users: "[More Users]" # Enable or disable plugin support. plugin: - #If you have Multiverse-Core, QSRR will try load world when shop's world don't exist and will throw an exception and auto repair the shops. - Multiverse-Core: true - #If you have OpenInv, QSRR will enable EnderChest feature. - OpenInv: true + #If you have Multiverse-Core, QSRR will try load world when shop's world don't exist and will throw an exception and auto repair the shops. + Multiverse-Core: true + #If you have OpenInv, QSRR will enable EnderChest feature. + OpenInv: true effect: - sound: - ontabcomplete: true - oncommand: true - onclick: true + sound: + ontabcomplete: true + oncommand: true + onclick: true #Item matcher, don't touch it if you didn't know how to use it. matcher: - #For Item - item: - #Plugin should check the item damage? - damage: true - #Plugin should check the item repair cost? - repaircost: false - #Plugin should check the item display name? - displayname: true - #Plugin should check the item lores? - lores: true - #Plugin should check the item enchs? - enchs: true - #Plugin should check the item potions? - potions: true - #Plugin should check the item attributes? - attributes: true - #Plugin should check the item itemflags? - itemflags: true - #Plugin should check the item custommodeldata? - custommodeldata: true \ No newline at end of file + #For Item + item: + #Plugin should check the item damage? + damage: true + #Plugin should check the item repair cost? + repaircost: false + #Plugin should check the item display name? + displayname: true + #Plugin should check the item lores? + lores: true + #Plugin should check the item enchs? + enchs: true + #Plugin should check the item potions? + potions: true + #Plugin should check the item attributes? + attributes: true + #Plugin should check the item itemflags? + itemflags: true + #Plugin should check the item custommodeldata? + custommodeldata: true \ No newline at end of file diff --git a/src/main/resources/messages-da.yml b/src/main/resources/messages-da.yml index b578fc864..1bc58ed60 100644 --- a/src/main/resources/messages-da.yml +++ b/src/main/resources/messages-da.yml @@ -2,64 +2,64 @@ purchase-failed: "&cPurchase failed: Internal Error, please contact the server administrator." no-pending-action: "&cYou do not have any pending action" command: - description: - owner: "&eChanges who owns a shop" - remove: "&eRemove your looking the shop" - amount: "&eExecute for your actions with amount(For chat plugin issue)" - about: "&eShow QuickShop abouts" - help: "&eShow QuickShop helps" - supercreate: "&eCreate a shop bypass all protection checks" - title: "&aQuickShop Hjælp" - unlimited: "&eLaver en butik ubegrænset vare" - setowner: "&eSkifter hvem der ejer en butik" - buy: "&eSkifter en butik til &dKøbs&e mode" - sell: "&eSkifter en butik til &dSalgs&e mode" - clean: "&eFjerner alle (loaded) butikker med 0 vare" - price: "&eSkifter købs/salgs prisen for en af dine butikker" - find: "&eLokalisere den nærmeste butik med en speciel type" - reload: "&eGenindlæser QuickShop fra config.yml" - refill: "&eTilføjer det givene nummer af vare til en butik" - empty: "&eFjerner alle vare fra en butik" - create: "&eLaver en ny butik i den kiste du kigger på" - debug: "&eSkifter til udvikler mode" - fetchmessage: "&eHenter ulæste butiks beskeder" - info: "&eVis QuickShops statistiker" - paste: "&eAuto upload server data til Pastebin" - staff: "&eAdministrere dit butiks personale" - toggle-unlimited: "&aButikken er nu {0}" - no-owner-given: "&cIngen ejer er givet. Brug &a/qs setowner &c" - new-owner: "&aNy ejer: &e{0}" - now-buying: "&aNu &dKØBER&a &e{0}" - now-selling: "&aNu &bSÆLGER &e{0}" - cleaning: "&aRenser butikker med 0 vare...." - reloading: "&aGenindlæser..." - cleaned: "&aRenset &e{0}&a Butikker" - no-type-given: "&cBrug: /qs find " - no-amount-given: "&cIntet antal er givet. Brug &a/qs refill &c" - now-debuging: "&aSkiftet til production mode med succes, Genindlæser QuickShop..." - now-nolonger-debuging: "&aSkiftet til udvikler mode med succes, Genindlæser QuickShop..." - wrong-args: "&cParameter matcher ikke. Brug /qs help for hjælp" + description: + owner: "&eChanges who owns a shop" + remove: "&eRemove your looking the shop" + amount: "&eExecute for your actions with amount(For chat plugin issue)" + about: "&eShow QuickShop abouts" + help: "&eShow QuickShop helps" + supercreate: "&eCreate a shop bypass all protection checks" + title: "&aQuickShop Hjælp" + unlimited: "&eLaver en butik ubegrænset vare" + setowner: "&eSkifter hvem der ejer en butik" + buy: "&eSkifter en butik til &dKøbs&e mode" + sell: "&eSkifter en butik til &dSalgs&e mode" + clean: "&eFjerner alle (loaded) butikker med 0 vare" + price: "&eSkifter købs/salgs prisen for en af dine butikker" + find: "&eLokalisere den nærmeste butik med en speciel type" + reload: "&eGenindlæser QuickShop fra config.yml" + refill: "&eTilføjer det givene nummer af vare til en butik" + empty: "&eFjerner alle vare fra en butik" + create: "&eLaver en ny butik i den kiste du kigger på" + debug: "&eSkifter til udvikler mode" + fetchmessage: "&eHenter ulæste butiks beskeder" + info: "&eVis QuickShops statistiker" + paste: "&eAuto upload server data til Pastebin" + staff: "&eAdministrere dit butiks personale" + toggle-unlimited: "&aButikken er nu {0}" + no-owner-given: "&cIngen ejer er givet. Brug &a/qs setowner &c" + new-owner: "&aNy ejer: &e{0}" + now-buying: "&aNu &dKØBER&a &e{0}" + now-selling: "&aNu &bSÆLGER &e{0}" + cleaning: "&aRenser butikker med 0 vare...." + reloading: "&aGenindlæser..." + cleaned: "&aRenset &e{0}&a Butikker" + no-type-given: "&cBrug: /qs find " + no-amount-given: "&cIntet antal er givet. Brug &a/qs refill &c" + now-debuging: "&aSkiftet til production mode med succes, Genindlæser QuickShop..." + now-nolonger-debuging: "&aSkiftet til udvikler mode med succes, Genindlæser QuickShop..." + wrong-args: "&cParameter matcher ikke. Brug /qs help for hjælp" updatenotify: - onekeybuttontitle: "[OneKey Update]" - remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." - buttontitle: "[Opdater nu]" - list: - - "{0} er udgivet, Du bruger stadig {1}!" - - "Boom! Ny opdatering {0} Kommer, opdatering!" - - "Surprise! {0} er kommet ud men du er stadig på {1}" - - "Der er en ny opdatering {0} er opdateret!" - - "Ooops! {0} ny opdatering! Du er på {1}!" - - "På spejderære, QS er opdateret {0}. Hvorfor opdatere du ikke?" - - "Fixer og uploader, Undskyld {0} er opdateret!" - - "Err! NEJ!, ikke en fejl, bare {0} opdateret!" - - "OMG! {0} ER KOMMET UD! Hvorfor bruger du stadig {1}?" - - "Dagens nyheder: QuickShop er opdateret {0}!" - - "Plugin K.I.A, burde være opdateret {0}!" - - "Lunten brænder! Der der en ny opdatering {0}. Gem dine børn! ;)" - - "Hey mester! {0} er ude nu! ;)" - - "Se lige ---{0} er opdateret, du køre stadig {1}" - - "ARRRGH! Ny opdatering {0}! Opdater!" - - "Hvad tænker ud på!?! {0} er udgivet. Opdater dog!" + onekeybuttontitle: "[OneKey Update]" + remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." + buttontitle: "[Opdater nu]" + list: + - "{0} er udgivet, Du bruger stadig {1}!" + - "Boom! Ny opdatering {0} Kommer, opdatering!" + - "Surprise! {0} er kommet ud men du er stadig på {1}" + - "Der er en ny opdatering {0} er opdateret!" + - "Ooops! {0} ny opdatering! Du er på {1}!" + - "På spejderære, QS er opdateret {0}. Hvorfor opdatere du ikke?" + - "Fixer og uploader, Undskyld {0} er opdateret!" + - "Err! NEJ!, ikke en fejl, bare {0} opdateret!" + - "OMG! {0} ER KOMMET UD! Hvorfor bruger du stadig {1}?" + - "Dagens nyheder: QuickShop er opdateret {0}!" + - "Plugin K.I.A, burde være opdateret {0}!" + - "Lunten brænder! Der der en ny opdatering {0}. Gem dine børn! ;)" + - "Hey mester! {0} er ude nu! ;)" + - "Se lige ---{0} er opdateret, du køre stadig {1}" + - "ARRRGH! Ny opdatering {0}! Opdater!" + - "Hvad tænker ud på!?! {0} er udgivet. Opdater dog!" permission-denied-3rd-party: "&cPermission denied: 3rd party plugin [{0}]." translation-author: "&c&lOversætter: &b&lKroko1992" translation-contributors: "&c&lFolk der har bidraget: &b&lTimtower, Netherfoam, KaiNoMood, Mgazul og Kroko1992" @@ -127,27 +127,27 @@ no-permission-build: "&cDu kan ikke bygge en shop her!" success-change-owner-to-server: "&aShop ejer er sat til Server" flush-finished: "&aAlle beskeder er synkroniseret med succes" menu: - successful-purchase: "&aSuccesfuldt købt:" - successfully-sold: "&aSuccesfuldt solgt:" - item-name-and-price: "&e{0} {1} &afor &e{2}" - sell-tax: "&aDu har betalt &e{0} &ai skatte." - sell-tax-self: "&aDu ejer den her butik, så du skal ikke betale skat." - enchants: "&5Enchants" - stored-enchants: "&5Gemte Enchants" - shop-information: "&aButiks Information:" - owner: "&aEjer: {0}" - item: "&aVare: &e{0}" - preview: "&b[Se vare]" - space: "&aPlads: &e{0}" - stock: "&aLager &e{0}" - price-per: "&aPris per &e{0} &a- &e{1}" - total-value-of-chest: "&aSamlet værdi af kisten: &e{0}" - damage-percent-remaining: "&e{0}% &aTilbage" - this-shop-is-buying: "&aDenne butik &dKØBER&a vare." - this-shop-is-selling: "&aDenne butik &dSÆLGER&a vare." - effects: "&aEffekter: &e{0}" - commands: - preview: "/qs silentpreview {0} {1} {2} {3}" + successful-purchase: "&aSuccesfuldt købt:" + successfully-sold: "&aSuccesfuldt solgt:" + item-name-and-price: "&e{0} {1} &afor &e{2}" + sell-tax: "&aDu har betalt &e{0} &ai skatte." + sell-tax-self: "&aDu ejer den her butik, så du skal ikke betale skat." + enchants: "&5Enchants" + stored-enchants: "&5Gemte Enchants" + shop-information: "&aButiks Information:" + owner: "&aEjer: {0}" + item: "&aVare: &e{0}" + preview: "&b[Se vare]" + space: "&aPlads: &e{0}" + stock: "&aLager &e{0}" + price-per: "&aPris per &e{0} &a- &e{1}" + total-value-of-chest: "&aSamlet værdi af kisten: &e{0}" + damage-percent-remaining: "&e{0}% &aTilbage" + this-shop-is-buying: "&aDenne butik &dKØBER&a vare." + this-shop-is-selling: "&aDenne butik &dSÆLGER&a vare." + effects: "&aEffekter: &e{0}" + commands: + preview: "/qs silentpreview {0} {1} {2} {3}" bypassing-lock: "&cOmgår en QuickShop lås!" that-is-locked: "&cDen butik er låst!" how-many-buy: "&aSkriv hvor mange du har lyst til at &bKØBE&a i chatten." @@ -156,48 +156,48 @@ not-allowed-to-create: "&cDu kan ikke lave butikker her!" blacklisted-item: "&cDen vare er blacklisted. Du må ikke sælge den!" how-much-to-trade-for: "&aSkriv hvor meget du har lyst til at bytte &e{0}&a for i chatten." signs: - header: "&c{0}" - selling: "Sælger {0}" - buying: "Køber {0}" - item: "{0}" - price: "{0} hver" - unlimited: Ubegrænset + header: "&c{0}" + selling: "Sælger {0}" + buying: "Køber {0}" + item: "{0}" + price: "{0} hver" + unlimited: Ubegrænset controlpanel: - infomation: "&aButiks kontrol panel:" - setowner: "&aEjer: &b{0} &e[&d&lSkift&e]" - setowner-hover: "&eKlik for at skifte ejer" - unlimited: "&aUbegrænset: {0} &e[&d&lSkift&e]" - unlimited-hover: "&eKig på den butik du til ændre og klik for at aktiver eller deaktiver" - mode-selling: "&aButiks mode: &bSælger &e[&d&lSkift&e]" - mode-selling-hover: "&eKig på den butik du til ændre og klik for at aktiver eller deaktiver" - mode-buying: "&aButiks mode: &bKøber &e[&d&lSkift&e]" - mode-buying-hover: "&eKig på den butik du til ændre og klik aktiver eller deaktiver" - price: "&aPris: &b{0} &e[&d&lSæt&e]" - price-hover: "&eKig på den butik du til ændre og klik sæt ny pris" - refill: "&aGenopfyld: Genopfyld butikkens vare &e[&d&lOK&e]" - refill-hover: "&eKig på den butik du til ændre og klik genopfyld" - empty: "&aTøm: Fjerner alle vare fra butikken &e[&d&lOK&e]" - empty-hover: "&eKig på den butik du til ændre og klik tøm" - remove: "&c&l[Fjern Butik]" - remove-hover: "&eKlik for at fjerne den her butik." - commands: - setowner: "/qs setowner [spiller]" - unlimited: "/qs slientunlimited {0} {1} {2} {3}" - buy: "/qs silentbuy {0} {1} {2} {3}" - sell: "/qs silentsell {0} {1} {2} {3}" - price: "/qs price [Ny pris]" - refill: "/qs refill [Antal]" - empty: "/qs silentempty {0} {1} {2} {3}" - remove: "/qs silentremove {0} {1} {2} {3}" + infomation: "&aButiks kontrol panel:" + setowner: "&aEjer: &b{0} &e[&d&lSkift&e]" + setowner-hover: "&eKlik for at skifte ejer" + unlimited: "&aUbegrænset: {0} &e[&d&lSkift&e]" + unlimited-hover: "&eKig på den butik du til ændre og klik for at aktiver eller deaktiver" + mode-selling: "&aButiks mode: &bSælger &e[&d&lSkift&e]" + mode-selling-hover: "&eKig på den butik du til ændre og klik for at aktiver eller deaktiver" + mode-buying: "&aButiks mode: &bKøber &e[&d&lSkift&e]" + mode-buying-hover: "&eKig på den butik du til ændre og klik aktiver eller deaktiver" + price: "&aPris: &b{0} &e[&d&lSæt&e]" + price-hover: "&eKig på den butik du til ændre og klik sæt ny pris" + refill: "&aGenopfyld: Genopfyld butikkens vare &e[&d&lOK&e]" + refill-hover: "&eKig på den butik du til ændre og klik genopfyld" + empty: "&aTøm: Fjerner alle vare fra butikken &e[&d&lOK&e]" + empty-hover: "&eKig på den butik du til ændre og klik tøm" + remove: "&c&l[Fjern Butik]" + remove-hover: "&eKlik for at fjerne den her butik." + commands: + setowner: "/qs setowner [spiller]" + unlimited: "/qs slientunlimited {0} {1} {2} {3}" + buy: "/qs silentbuy {0} {1} {2} {3}" + sell: "/qs silentsell {0} {1} {2} {3}" + price: "/qs price [Ny pris]" + refill: "/qs refill [Antal]" + empty: "/qs silentempty {0} {1} {2} {3}" + remove: "/qs silentremove {0} {1} {2} {3}" tableformat: - full_line: +---------------------------------------------------+ - left_half_line: +-------------------- - right_half_line: "--------------------+" - left_begin: "| " + full_line: +---------------------------------------------------+ + left_half_line: +-------------------- + right_half_line: "--------------------+" + left_begin: "| " booleanformat: - success: "&a✔" - failed: "&c✘" + success: "&a✔" + failed: "&c✘" tabcomplete: - price: "[pris]" - range: "[afstand]" - amount: "[antal]" \ No newline at end of file + price: "[pris]" + range: "[afstand]" + amount: "[antal]" \ No newline at end of file diff --git a/src/main/resources/messages-de.yml b/src/main/resources/messages-de.yml index fff2da8b5..7e7cfe4e8 100644 --- a/src/main/resources/messages-de.yml +++ b/src/main/resources/messages-de.yml @@ -2,64 +2,64 @@ purchase-failed: "&cPurchase failed: Internal Error, please contact the server administrator." no-pending-action: "&cYou do not have any pending action" command: - description: - owner: "&eChanges who owns a shop" - remove: "&eRemove your looking the shop" - amount: "&eExecute for your actions with amount(For chat plugin issue)" - about: "&eShow QuickShop abouts" - help: "&eShow QuickShop helps" - supercreate: "&eCreate a shop bypass all protection checks" - title: "&aQuickShop Befehlsliste" - unlimited: "&eWandelt den Shop in eine unlimitierte Version um, so dass es keinem Lagerbestand mehr bedarf." - setowner: "&eVerändert den Besitzer des Shops." - buy: "&eVerändert den Kaufmodus. Der Shop wird dann &dANKAUFT&e." - sell: "&eVerändert den Kaufmodus. Der Shop wird dann &dVERKAUFEN&e." - clean: "&eEntferne alle (geladenen) Shops ohne Lagerbestand." - price: "&eVerändert den Kauf-/Verkaufspreis für den jeweiligen Shop." - find: "&eErmittelt den nächsten Shop in der Umgebung zum gesuchten Gegenstand." - reload: "&eLädt die config.yml von QuickShop neu" - refill: "&eFügt eine gegebene Anzahl an Gegenständen dem Shop hinzu." - empty: "&eEntferne den Lagerbestand von einem Shop." - create: "&eErstelle einen neuen Shop bei der angeschauten Kiste" - debug: "&eWechselt in den Entwicklermodus." - fetchmessage: "&eZeigt alle ungelesene Nachrichten zum Shop an." - info: "&eZeigt Statistiken zu QuickShop an." - paste: "&eAutomatischer Upload der Daten zu Pastebin." - staff: "&eVerwalte die Mitarbeiter deines Shops" - toggle-unlimited: "&aDer Shop kauft/verkauft jetzt {0} Anzahl an Gegenständen." - no-owner-given: "&cDieser Shop verfügt über keinen Besitzer. Benutze &a/qs setowner &c um einen Besitzer festzulegen." - new-owner: "&aName des neuen Besitzers: &e{0}" - now-buying: "&e{0} &awerden jetzt &dANGEKAUFT" - now-selling: "&e{0} &awerden jetzt &dVERKAUFT" - cleaning: "&aShops ohne Lagerbestand werden jetzt entfernt..." - reloading: "&aWird neu geladen..." - cleaned: "&e{0} &aShops wurden entfernt." - no-type-given: "&cAufbau des Befehls: /qs find " - no-amount-given: "&cKeine Anzahl angeben. Benutze &a/qs refill &c" - now-debuging: "&aDer Entwicklermodus wurde erfolgreich deaktiviert. QuickShop lädt sich jetzt neu..." - now-nolonger-debuging: "&aDer Entwicklermodus wurde erfolgreich aktiviert. QuickShop lädt sich jetzt neu..." - wrong-args: "&cParameter stimmen nicht überein. Siehe /qs help für Hilfe" + description: + owner: "&eChanges who owns a shop" + remove: "&eRemove your looking the shop" + amount: "&eExecute for your actions with amount(For chat plugin issue)" + about: "&eShow QuickShop abouts" + help: "&eShow QuickShop helps" + supercreate: "&eCreate a shop bypass all protection checks" + title: "&aQuickShop Befehlsliste" + unlimited: "&eWandelt den Shop in eine unlimitierte Version um, so dass es keinem Lagerbestand mehr bedarf." + setowner: "&eVerändert den Besitzer des Shops." + buy: "&eVerändert den Kaufmodus. Der Shop wird dann &dANKAUFT&e." + sell: "&eVerändert den Kaufmodus. Der Shop wird dann &dVERKAUFEN&e." + clean: "&eEntferne alle (geladenen) Shops ohne Lagerbestand." + price: "&eVerändert den Kauf-/Verkaufspreis für den jeweiligen Shop." + find: "&eErmittelt den nächsten Shop in der Umgebung zum gesuchten Gegenstand." + reload: "&eLädt die config.yml von QuickShop neu" + refill: "&eFügt eine gegebene Anzahl an Gegenständen dem Shop hinzu." + empty: "&eEntferne den Lagerbestand von einem Shop." + create: "&eErstelle einen neuen Shop bei der angeschauten Kiste" + debug: "&eWechselt in den Entwicklermodus." + fetchmessage: "&eZeigt alle ungelesene Nachrichten zum Shop an." + info: "&eZeigt Statistiken zu QuickShop an." + paste: "&eAutomatischer Upload der Daten zu Pastebin." + staff: "&eVerwalte die Mitarbeiter deines Shops" + toggle-unlimited: "&aDer Shop kauft/verkauft jetzt {0} Anzahl an Gegenständen." + no-owner-given: "&cDieser Shop verfügt über keinen Besitzer. Benutze &a/qs setowner &c um einen Besitzer festzulegen." + new-owner: "&aName des neuen Besitzers: &e{0}" + now-buying: "&e{0} &awerden jetzt &dANGEKAUFT" + now-selling: "&e{0} &awerden jetzt &dVERKAUFT" + cleaning: "&aShops ohne Lagerbestand werden jetzt entfernt..." + reloading: "&aWird neu geladen..." + cleaned: "&e{0} &aShops wurden entfernt." + no-type-given: "&cAufbau des Befehls: /qs find " + no-amount-given: "&cKeine Anzahl angeben. Benutze &a/qs refill &c" + now-debuging: "&aDer Entwicklermodus wurde erfolgreich deaktiviert. QuickShop lädt sich jetzt neu..." + now-nolonger-debuging: "&aDer Entwicklermodus wurde erfolgreich aktiviert. QuickShop lädt sich jetzt neu..." + wrong-args: "&cParameter stimmen nicht überein. Siehe /qs help für Hilfe" updatenotify: - onekeybuttontitle: "[OneKey Update]" - remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." - buttontitle: "[Jetzt Aktualisieren]" - list: - - "{0} ist bereits veröffentlicht, es wird aber immer noch {1} verwendet!" - - "Boom! New update {0} incoming, Update!" - - "Überraschung! {0} ist erschienen, du bist aber noch auf {1}" - - "Sieht so aus, als solltest du mal das Plugin aktualisieren, {0} wurde geupdated!" - - "Ooops! {0} neue Version, es wird aber noch {1} verwendet!" - - "Ich schör, QS wurde geupdated {0}, warum hast du noch nicht die neue Version?" - - "Fehlerbehebu.. Sorry {0} ist updated!" - - "Err! Nein, dies ist kein Fehler, einfach auf {0} updaten!" - - "OMG! {0} ist erschienen! Warum bist du noch auf {1}?" - - "Heutige Neuigkeit: Es gibt eine neue Version von QuickShop {0}!" - - "Plugin K.I.A, du solltest {0} updaten!" - - "Brand Neues Update {0}!" - - "Du bist der Update Kommendör! Hab dir gesagt {0} ist erschienen!" - - "Schau mich an---{0} update, du bist noch auf {1}" - - "Ahhhhhhh! Neues Update {0}! Update!" - - "Was denkst du? {0} ist draußen! Update!" + onekeybuttontitle: "[OneKey Update]" + remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." + buttontitle: "[Jetzt Aktualisieren]" + list: + - "{0} ist bereits veröffentlicht, es wird aber immer noch {1} verwendet!" + - "Boom! New update {0} incoming, Update!" + - "Überraschung! {0} ist erschienen, du bist aber noch auf {1}" + - "Sieht so aus, als solltest du mal das Plugin aktualisieren, {0} wurde geupdated!" + - "Ooops! {0} neue Version, es wird aber noch {1} verwendet!" + - "Ich schör, QS wurde geupdated {0}, warum hast du noch nicht die neue Version?" + - "Fehlerbehebu.. Sorry {0} ist updated!" + - "Err! Nein, dies ist kein Fehler, einfach auf {0} updaten!" + - "OMG! {0} ist erschienen! Warum bist du noch auf {1}?" + - "Heutige Neuigkeit: Es gibt eine neue Version von QuickShop {0}!" + - "Plugin K.I.A, du solltest {0} updaten!" + - "Brand Neues Update {0}!" + - "Du bist der Update Kommendör! Hab dir gesagt {0} ist erschienen!" + - "Schau mich an---{0} update, du bist noch auf {1}" + - "Ahhhhhhh! Neues Update {0}! Update!" + - "Was denkst du? {0} ist draußen! Update!" permission-denied-3rd-party: "&cPermission denied: 3rd party plugin [{0}]." translation-author: "&c&lÜbersetzer: &b&lSchneidertm" translation-contributors: "&c&lMitwirkende: &b&lkeine" @@ -127,27 +127,27 @@ no-permission-build: "&cHier kannst du keinen Shop eröffnen." success-change-owner-to-server: "&aDer Shop wurde erfolgreich dem Server überschrieben." flush-finished: "&aSuccessfully flushed the messages." menu: - successful-purchase: "&aFolgendes wurde im Shops eingekauft:" - successfully-sold: "&aFolgendes wurde im Shop verkauft:" - item-name-and-price: "&e{0} {1} &afür &e{2}" - sell-tax: "&aDu hast &e{0} &aan Steuern dafür zahlen müssen." - sell-tax-self: "&aDu bist der Besitzer des Shops, für dich fallen keine Steuern an." - enchants: "&5Verzauberungen" - stored-enchants: "&5Verfügt über Verzauberungen" - shop-information: "&aInformation über den Shop:" - owner: "&aBesitzer: {0}" - item: "&aGegenstand: &e{0}" - preview: "&b[Gegenstandsvorschau]" - space: "&aKapazität: &e{0}" - stock: "&aLagerbestand: &e{0}" - price-per: "&aPreis pro &e{0} &a- &e{1}" - total-value-of-chest: "&aGesamtwert des Kiste: &e{0}" - damage-percent-remaining: "&e{0}% &aÜbrig (Schaden)." - this-shop-is-buying: "&aDieser Shop &dKAUFT&a Gegenstände an." - this-shop-is-selling: "&aDieser Shop &bVERKAUFT&a Gegenstände." - effects: "&aEffekte: &e{0}" - commands: - preview: "/qs silentpreview {0} {1} {2} {3}" + successful-purchase: "&aFolgendes wurde im Shops eingekauft:" + successfully-sold: "&aFolgendes wurde im Shop verkauft:" + item-name-and-price: "&e{0} {1} &afür &e{2}" + sell-tax: "&aDu hast &e{0} &aan Steuern dafür zahlen müssen." + sell-tax-self: "&aDu bist der Besitzer des Shops, für dich fallen keine Steuern an." + enchants: "&5Verzauberungen" + stored-enchants: "&5Verfügt über Verzauberungen" + shop-information: "&aInformation über den Shop:" + owner: "&aBesitzer: {0}" + item: "&aGegenstand: &e{0}" + preview: "&b[Gegenstandsvorschau]" + space: "&aKapazität: &e{0}" + stock: "&aLagerbestand: &e{0}" + price-per: "&aPreis pro &e{0} &a- &e{1}" + total-value-of-chest: "&aGesamtwert des Kiste: &e{0}" + damage-percent-remaining: "&e{0}% &aÜbrig (Schaden)." + this-shop-is-buying: "&aDieser Shop &dKAUFT&a Gegenstände an." + this-shop-is-selling: "&aDieser Shop &bVERKAUFT&a Gegenstände." + effects: "&aEffekte: &e{0}" + commands: + preview: "/qs silentpreview {0} {1} {2} {3}" bypassing-lock: "&cDer Schutz von QuickShop wurde ignoriert!" that-is-locked: "&cDieser Shop ist geschützt vor Fremdzugriffen." how-many-buy: "&aSchreibe jetzt in den Chat, wie viele Gegenstände du &bKAUFEN&a möchtest." @@ -156,48 +156,48 @@ not-allowed-to-create: "&cDu darfst hier keinen Shop erstellen." blacklisted-item: "&cDieser Gegenstand wurde vom Verkauf ausgeschlossen." how-much-to-trade-for: "&aSchreibe jetzt den Preis für einen &e{0}&a in den Chat." signs: - header: "&c{0}" - selling: "Verkaufe {0}" - buying: "Kaufe {0}" - item: "{0}" - price: "{0} p. St." - unlimited: Unlimitiert + header: "&c{0}" + selling: "Verkaufe {0}" + buying: "Kaufe {0}" + item: "{0}" + price: "{0} p. St." + unlimited: Unlimitiert controlpanel: - infomation: "&aShop Bedienpanel:" - setowner: "&aBesitzer: &b{0} &e[&d&lÄndern&e]" - setowner-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um den Besitzer zu wechseln." - unlimited: "&aUnlimitiert: {0} &e[&d&lWechseln&e]" - unlimited-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um dies zu aktivieren oder deaktivieren." - mode-selling: "&aVerkaufsmodus: &bVerkaufen &e[&d&lVerändern&e]" - mode-selling-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um den Verkaufsmodus zu ändern." - mode-buying: "&aVerkaufsmodus: &bAnkaufen &e[&d&lVerändern&e]" - mode-buying-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um den Verkaufsmodus zu ändern." - price: "&aPreis: &b{0} &e[&d&lVerändern&e]" - price-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um den Preis zu ändern." - refill: "&aAuffüllen: Fülle die Gegenstände im Lager auf &e[&d&lOK&e]" - refill-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um den Shop komplett auf zufüllen." - empty: "&aLeeren: Entfernt alle Gegenstände aus dem Lager &e[&d&lOK&e]" - empty-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um alle Gegenstände aus dem Lager des Shops zu entfernen." - remove: "&c&l[Shop entfernen]" - remove-hover: "&eKlicke um diesen Shop zu entfernen." - commands: - setowner: "/qs setowner [Spieler]" - unlimited: "/qs slientunlimited {0} {1} {2} {3}" - buy: "/qs silentbuy {0} {1} {2} {3}" - sell: "/qs silentsell {0} {1} {2} {3}" - price: "/qs price [Neuer Preis]" - refill: "/qs refill [Anzahl]" - empty: "/qs silentempty {0} {1} {2} {3}" - remove: "/qs silentremove {0} {1} {2} {3}" + infomation: "&aShop Bedienpanel:" + setowner: "&aBesitzer: &b{0} &e[&d&lÄndern&e]" + setowner-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um den Besitzer zu wechseln." + unlimited: "&aUnlimitiert: {0} &e[&d&lWechseln&e]" + unlimited-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um dies zu aktivieren oder deaktivieren." + mode-selling: "&aVerkaufsmodus: &bVerkaufen &e[&d&lVerändern&e]" + mode-selling-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um den Verkaufsmodus zu ändern." + mode-buying: "&aVerkaufsmodus: &bAnkaufen &e[&d&lVerändern&e]" + mode-buying-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um den Verkaufsmodus zu ändern." + price: "&aPreis: &b{0} &e[&d&lVerändern&e]" + price-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um den Preis zu ändern." + refill: "&aAuffüllen: Fülle die Gegenstände im Lager auf &e[&d&lOK&e]" + refill-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um den Shop komplett auf zufüllen." + empty: "&aLeeren: Entfernt alle Gegenstände aus dem Lager &e[&d&lOK&e]" + empty-hover: "&eSchaue auf den Shop, den du verändern möchtest und klicke dann hier, um alle Gegenstände aus dem Lager des Shops zu entfernen." + remove: "&c&l[Shop entfernen]" + remove-hover: "&eKlicke um diesen Shop zu entfernen." + commands: + setowner: "/qs setowner [Spieler]" + unlimited: "/qs slientunlimited {0} {1} {2} {3}" + buy: "/qs silentbuy {0} {1} {2} {3}" + sell: "/qs silentsell {0} {1} {2} {3}" + price: "/qs price [Neuer Preis]" + refill: "/qs refill [Anzahl]" + empty: "/qs silentempty {0} {1} {2} {3}" + remove: "/qs silentremove {0} {1} {2} {3}" tableformat: - full_line: +---------------------------------------------------+ - left_half_line: +-------------------- - right_half_line: "--------------------+" - left_begin: "| " + full_line: +---------------------------------------------------+ + left_half_line: +-------------------- + right_half_line: "--------------------+" + left_begin: "| " booleanformat: - success: "&a✔" - failed: "&c✘" + success: "&a✔" + failed: "&c✘" tabcomplete: - price: "[Preis]" - range: "[Entfernung]" - amount: "[Anzahl]" \ No newline at end of file + price: "[Preis]" + range: "[Entfernung]" + amount: "[Anzahl]" \ No newline at end of file diff --git a/src/main/resources/messages-en.yml b/src/main/resources/messages-en.yml index 60417e7b5..f11dcc32b 100644 --- a/src/main/resources/messages-en.yml +++ b/src/main/resources/messages-en.yml @@ -77,27 +77,27 @@ purchase-failed: "&cPurchase failed: Internal Error, please contact the server a no-pending-action: "&cYou do not have any pending action" permission-denied-3rd-party: "&cPermission denied: 3rd party plugin [{0}]." menu: - successful-purchase: "&aSuccessfully Purchased:" - successfully-sold: "&aSuccessfully Sold:" - item-name-and-price: "&e{0} {1} &afor &e{2}" - sell-tax: "&aYou paid &e{0} &ain taxes." - sell-tax-self: "&aYou own this shop so you don't pay taxes." - enchants: "&5Enchants" - stored-enchants: "&5Stored Enchants" - shop-information: "&aShop Information:" - owner: "&aOwner: {0}" - item: "&aItem: &e{0}" - preview: "&b[Preview Item]" - space: "&aSpace: &e{0}" - stock: "&aStock &e{0}" - price-per: "&aPrice per &e{0} &a- &e{1}" - total-value-of-chest: "&aTotal value of Chest: &e{0}" - damage-percent-remaining: "&e{0}% &aRemaining." - this-shop-is-buying: "&aThis shop is &dBUYING&a items." - this-shop-is-selling: "&aThis shop is &bSELLING&a items." - effects: "&aEffects: &e{0}" - commands: - preview: "/qs silentpreview {0} {1} {2} {3}" + successful-purchase: "&aSuccessfully Purchased:" + successfully-sold: "&aSuccessfully Sold:" + item-name-and-price: "&e{0} {1} &afor &e{2}" + sell-tax: "&aYou paid &e{0} &ain taxes." + sell-tax-self: "&aYou own this shop so you don't pay taxes." + enchants: "&5Enchants" + stored-enchants: "&5Stored Enchants" + shop-information: "&aShop Information:" + owner: "&aOwner: {0}" + item: "&aItem: &e{0}" + preview: "&b[Preview Item]" + space: "&aSpace: &e{0}" + stock: "&aStock &e{0}" + price-per: "&aPrice per &e{0} &a- &e{1}" + total-value-of-chest: "&aTotal value of Chest: &e{0}" + damage-percent-remaining: "&e{0}% &aRemaining." + this-shop-is-buying: "&aThis shop is &dBUYING&a items." + this-shop-is-selling: "&aThis shop is &bSELLING&a items." + effects: "&aEffects: &e{0}" + commands: + preview: "/qs silentpreview {0} {1} {2} {3}" bypassing-lock: "&cBypassing a QuickShop lock!" that-is-locked: "&cThat shop is locked." @@ -110,98 +110,98 @@ blacklisted-item: "&cThat item is blacklisted. You may not sell it" how-much-to-trade-for: "&aEnter how much you wish to trade one &e{0}&a for in chat." command: - toggle-unlimited: "&aShop is now {0}" - no-owner-given: "&cNo owner given. Use &a/qs setowner &c" - new-owner: "&aNew owner: &e{0}" - now-buying: "&aNow &dBUYING&a &e{0}" - now-selling: "&aNow &bSELLING &e{0}" - cleaning: "&aCleaning up shops with 0 stock..." - reloading: "&aReloading..." - cleaned: "&aCleaned &e{0}&a shops" - no-type-given: "&cUsage: /qs find " - no-amount-given: "&cNo amount given. Use &a/qs refill &c" - now-debuging: "&aSuccessfully switched to developer mode, Reloading QuickShop..." - now-nolonger-debuging: "&aSuccessfully switched to production mode, Reloading QuickShop..." - wrong-args: "&cParameters don't match, use /qs help to check help" - description: - title: "&aQuickShop Help" - unlimited: "&eMakes a shop unlimited" - setowner: "&eChanges who owns a shop" - owner: "&eChanges who owns a shop" - buy: "&eConverts a shop to &dBUY&e mode" - sell: "&eConverts a shop to &bSELL&e mode" - clean: "&eRemoves all (loaded) shops with 0 stock" - price: "&eChanges the buy/selling price of one of your shops" - find: "&eLocates the nearest shop of a specific type." - reload: "&eReloads the config.yml for QuickShop" - refill: "&eAdds a given number of items to a shop" - empty: "&eRemoves all stock from a shop" - create: "&eCreates a new shop at the target chest" - debug: "&eSwitch to developer mode" - fetchmessage: "&eFetch unread shop message" - info: "&eShow QuickShop Statistics" - paste: "&eAuto upload server data to Pastebin" - staff: "&eManage your shop staffs" - remove: "&eRemove your looking the shop" - amount: "&eExecute for your actions with amount(For chat plugin issue)" - about: "&eShow QuickShop abouts" - help: "&eShow QuickShop helps" - supercreate: "&eCreate a shop bypass all protection checks" + toggle-unlimited: "&aShop is now {0}" + no-owner-given: "&cNo owner given. Use &a/qs setowner &c" + new-owner: "&aNew owner: &e{0}" + now-buying: "&aNow &dBUYING&a &e{0}" + now-selling: "&aNow &bSELLING &e{0}" + cleaning: "&aCleaning up shops with 0 stock..." + reloading: "&aReloading..." + cleaned: "&aCleaned &e{0}&a shops" + no-type-given: "&cUsage: /qs find " + no-amount-given: "&cNo amount given. Use &a/qs refill &c" + now-debuging: "&aSuccessfully switched to developer mode, Reloading QuickShop..." + now-nolonger-debuging: "&aSuccessfully switched to production mode, Reloading QuickShop..." + wrong-args: "&cParameters don't match, use /qs help to check help" + description: + title: "&aQuickShop Help" + unlimited: "&eMakes a shop unlimited" + setowner: "&eChanges who owns a shop" + owner: "&eChanges who owns a shop" + buy: "&eConverts a shop to &dBUY&e mode" + sell: "&eConverts a shop to &bSELL&e mode" + clean: "&eRemoves all (loaded) shops with 0 stock" + price: "&eChanges the buy/selling price of one of your shops" + find: "&eLocates the nearest shop of a specific type." + reload: "&eReloads the config.yml for QuickShop" + refill: "&eAdds a given number of items to a shop" + empty: "&eRemoves all stock from a shop" + create: "&eCreates a new shop at the target chest" + debug: "&eSwitch to developer mode" + fetchmessage: "&eFetch unread shop message" + info: "&eShow QuickShop Statistics" + paste: "&eAuto upload server data to Pastebin" + staff: "&eManage your shop staffs" + remove: "&eRemove your looking the shop" + amount: "&eExecute for your actions with amount(For chat plugin issue)" + about: "&eShow QuickShop abouts" + help: "&eShow QuickShop helps" + supercreate: "&eCreate a shop bypass all protection checks" signs: - header: "&c{0}" - selling: "Selling {0}" - buying: "Buying {0}" - item: "{0}" - price: "{0} each" - unlimited: "Unlimited" + header: "&c{0}" + selling: "Selling {0}" + buying: "Buying {0}" + item: "{0}" + price: "{0} each" + unlimited: "Unlimited" controlpanel: - infomation: "&aShop Control Panel:" - setowner: "&aOwner: &b{0} &e[&d&lChange&e]" - setowner-hover: "&eClick to switch owner." - unlimited: "&aUnlimited: {0} &e[&d&lSwitch&e]" - unlimited-hover: "&eClick to toggle if the shop is unlimited." - mode-selling: "&aShop mode: &bSelling &e[&d&lSwitch&e]" - mode-selling-hover: "&eClick to convert the ship to be in the selling mode." - mode-buying: "&aShop mode: &bBuying &e[&d&lSwitch&e]" - mode-buying-hover: "&eClick to convert the ship to be in the buying mode." - price: "&aPrice: &b{0} &e[&d&lSet&e]" - price-hover: "&eClick to set a new price for the shop." - refill: "&aRefill: Refill the shop items &e[&d&lOK&e]" - refill-hover: "&eClick to refill the shop." - empty: "&aEmpty: Remove shop all items &e[&d&lOK&e]" - empty-hover: "&eClick to clear the inventory of the shop." - remove: "&c&l[Remove Shop]" - remove-hover: "&eClick to remove this shop." - commands: - setowner: "/qs setowner [Player]" - unlimited: "/qs silentunlimited {0} {1} {2} {3}" - buy: "/qs silentbuy {0} {1} {2} {3}" - sell: "/qs silentsell {0} {1} {2} {3}" - price: "/qs price [New Price]" - refill: "/qs refill [Amount]" - empty: "/qs silentempty {0} {1} {2} {3}" - remove: "/qs silentremove {0} {1} {2} {3}" + infomation: "&aShop Control Panel:" + setowner: "&aOwner: &b{0} &e[&d&lChange&e]" + setowner-hover: "&eClick to switch owner." + unlimited: "&aUnlimited: {0} &e[&d&lSwitch&e]" + unlimited-hover: "&eClick to toggle if the shop is unlimited." + mode-selling: "&aShop mode: &bSelling &e[&d&lSwitch&e]" + mode-selling-hover: "&eClick to convert the ship to be in the selling mode." + mode-buying: "&aShop mode: &bBuying &e[&d&lSwitch&e]" + mode-buying-hover: "&eClick to convert the ship to be in the buying mode." + price: "&aPrice: &b{0} &e[&d&lSet&e]" + price-hover: "&eClick to set a new price for the shop." + refill: "&aRefill: Refill the shop items &e[&d&lOK&e]" + refill-hover: "&eClick to refill the shop." + empty: "&aEmpty: Remove shop all items &e[&d&lOK&e]" + empty-hover: "&eClick to clear the inventory of the shop." + remove: "&c&l[Remove Shop]" + remove-hover: "&eClick to remove this shop." + commands: + setowner: "/qs setowner [Player]" + unlimited: "/qs silentunlimited {0} {1} {2} {3}" + buy: "/qs silentbuy {0} {1} {2} {3}" + sell: "/qs silentsell {0} {1} {2} {3}" + price: "/qs price [New Price]" + refill: "/qs refill [Amount]" + empty: "/qs silentempty {0} {1} {2} {3}" + remove: "/qs silentremove {0} {1} {2} {3}" tableformat: - full_line: "+---------------------------------------------------+" - left_half_line: "+--------------------" - right_half_line: "--------------------+" - left_begin: "| " + full_line: "+---------------------------------------------------+" + left_half_line: "+--------------------" + right_half_line: "--------------------+" + left_begin: "| " booleanformat: - success: "&a✔" - failed: "&c✘" + success: "&a✔" + failed: "&c✘" tabcomplete: - # /qs price [price] or /qs create [price] - price: "[price]" - # /qs find [range] - range: "[range]" - # /qs refill [amount] - amount: "[amount]" + # /qs price [price] or /qs create [price] + price: "[price]" + # /qs find [range] + range: "[range]" + # /qs refill [amount] + amount: "[amount]" updatenotify: - buttontitle: "[Update Now]" - onekeybuttontitle: "[OneKey Update]" - list: + buttontitle: "[Update Now]" + onekeybuttontitle: "[OneKey Update]" + list: - "{0} is released, You are still using {1}!" - "Boom! New update {0} incoming, Update!" - "Surprise! {0} came out, you are on {1}" @@ -218,4 +218,4 @@ updatenotify: - "Look me style---{0} updated, your still using {1}" - "Ahhhhhhh! New update {0}! Update!" - "What U thinking? {0} has been released! Update!" - remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." + remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." diff --git a/src/main/resources/messages-fi.yml b/src/main/resources/messages-fi.yml index 2f98f1f79..17fe57844 100644 --- a/src/main/resources/messages-fi.yml +++ b/src/main/resources/messages-fi.yml @@ -2,64 +2,64 @@ purchase-failed: "&cOsto epäonnistui. Ole yhteydessä palvelimen ylläpitoon." no-pending-action: "&cSinulla ei ole olemassa olevaa toimintopyyntöä." command: - description: - owner: "&eMuuttaa kaupan omistajan" - remove: "&ePoista kauppa, jota katsot" - amount: "&eTee toiminto summalla (chat-ongelmia varten)" - about: "&eNäytä QuickShop-ohjeistukset" - help: "&eNäytä QuickShop-apuselitteet" - supercreate: "&eLuo kauppa ohittamalla kaikki suojaustarkistukset" - title: "&aQuickShop-apu" - unlimited: "&eTekee kaupasta rajattoman" - setowner: "&eVaihtaa kaupan omistajan" - buy: "&eVaihtaa kaupan &costamaan&e tuotteita" - sell: "&eVaihtaa kaupan &amyymään &etuotteita." - clean: "&ePoistaa kaikki (ladatut) kaupat, jonka varastot ovat tyhjät." - price: "&eVaihtaa osto tai myynti hinnan yhdestä kaupastasi" - find: "&eEtsii lähimmän kaupan haluumallesi tavaralle." - reload: "&eLataa QuickShopin config.yml tiedoston uudelleen" - refill: "&eLisää tietyn määrän tavaroita kauppaan" - empty: "&eTyhjentää koko varaston kaupasta" - create: "&eLuo uuden kaupan kohdistettuun arkkuun" - debug: "&eVaihtaa kehittäjätilaan" - fetchmessage: "&eHae lukematon kaupan viesti" - info: "&eNäytä QuickShopin tilastoja" - paste: "&eLataa automaatisesti palvelimen dataa Pastebiniin" - staff: "&eHallinnoi kauppasi henkilökuntaa" - toggle-unlimited: "&aKauppa on nyt {0}" - no-owner-given: "&cOmistajaa ei ole asetettu. Käytä &a/qs setowner &c" - new-owner: "&aUusi omistaja: &e{0}" - now-buying: "&aKauppasi &c&lOSTAA&a nyt tuotetta &e{0}" - now-selling: "&aKauppasi &a&lMYY&a nyt tuotetta &e{0}" - cleaning: "&aPoistetaan tyhjiä kauppoja..." - reloading: "&aLadataan uudelleen..." - cleaned: "&aPoistettu &e{0}&a kauppaa" - no-type-given: "&cKäytä: /qs find " - no-amount-given: "&cSummaa ei ole annettu. Käytä &a/qs refill &c" - now-debuging: "&aOnnistuneesti siirrytty kehittäjätilaan, QuickShop ladataan uudelleen..." - now-nolonger-debuging: "&aOnnistuneesti siirrytty tuotantotilaan, QuickShop ladataan uudelleen..." - wrong-args: "&cParametrit eivät täsmänneet, käytä /qs help katsoaksesi apua" + description: + owner: "&eMuuttaa kaupan omistajan" + remove: "&ePoista kauppa, jota katsot" + amount: "&eTee toiminto summalla (chat-ongelmia varten)" + about: "&eNäytä QuickShop-ohjeistukset" + help: "&eNäytä QuickShop-apuselitteet" + supercreate: "&eLuo kauppa ohittamalla kaikki suojaustarkistukset" + title: "&aQuickShop-apu" + unlimited: "&eTekee kaupasta rajattoman" + setowner: "&eVaihtaa kaupan omistajan" + buy: "&eVaihtaa kaupan &costamaan&e tuotteita" + sell: "&eVaihtaa kaupan &amyymään &etuotteita." + clean: "&ePoistaa kaikki (ladatut) kaupat, jonka varastot ovat tyhjät." + price: "&eVaihtaa osto tai myynti hinnan yhdestä kaupastasi" + find: "&eEtsii lähimmän kaupan haluumallesi tavaralle." + reload: "&eLataa QuickShopin config.yml tiedoston uudelleen" + refill: "&eLisää tietyn määrän tavaroita kauppaan" + empty: "&eTyhjentää koko varaston kaupasta" + create: "&eLuo uuden kaupan kohdistettuun arkkuun" + debug: "&eVaihtaa kehittäjätilaan" + fetchmessage: "&eHae lukematon kaupan viesti" + info: "&eNäytä QuickShopin tilastoja" + paste: "&eLataa automaatisesti palvelimen dataa Pastebiniin" + staff: "&eHallinnoi kauppasi henkilökuntaa" + toggle-unlimited: "&aKauppa on nyt {0}" + no-owner-given: "&cOmistajaa ei ole asetettu. Käytä &a/qs setowner &c" + new-owner: "&aUusi omistaja: &e{0}" + now-buying: "&aKauppasi &c&lOSTAA&a nyt tuotetta &e{0}" + now-selling: "&aKauppasi &a&lMYY&a nyt tuotetta &e{0}" + cleaning: "&aPoistetaan tyhjiä kauppoja..." + reloading: "&aLadataan uudelleen..." + cleaned: "&aPoistettu &e{0}&a kauppaa" + no-type-given: "&cKäytä: /qs find " + no-amount-given: "&cSummaa ei ole annettu. Käytä &a/qs refill &c" + now-debuging: "&aOnnistuneesti siirrytty kehittäjätilaan, QuickShop ladataan uudelleen..." + now-nolonger-debuging: "&aOnnistuneesti siirrytty tuotantotilaan, QuickShop ladataan uudelleen..." + wrong-args: "&cParametrit eivät täsmänneet, käytä /qs help katsoaksesi apua" updatenotify: - onekeybuttontitle: "[klikkaa päivittääksesi]" - remote-disable-warning: "&cTämä QuickShop-versio on merkitty toimimattomaksi etäpalvelimelta. Tämä tarkoittaa sitä, että MIKÄÄN tai OSA QuickShopin ominaisuuksista ei toimi tai on pahasti vialla. Lataa uusi versio SpigotMC-sivuiltamme: {0}. Tämä varoitusviesti poistuu, eikä spämmi konsoliasi, kun päivität tämän lisäosan." - buttontitle: "[Päivitä nyt]" - list: - - "Versio {0} on jo julkaistu, käytät edelleen versiota {1}!" - - "Pam! Uusi päivitys {0} on tullut! Päivitä!" - - "Yllätys! Versio {0} tuli ulos, sinä olet versiossa {1}." - - "Näyttäisi siltä että sinun täytyy päivittää, {0} on päivitetty!" - - "Ooops! {0} on julkaistu, sinulla on {1}!" - - "Lupaan QS on päivitetty {0}, miksi et päivittäisi?" - - "Korjataan ja korjataan... Anteeksi {0} on päivitetty!" - - "Virhe! Ei oikeasti, päivitimme juuri {0}!" - - "OMG! {0} on tullut ulos! Miksi käyttäisit yhä {1}?" - - "Päivän uutiset: QuickShop päivittyi {0}!" - - "Lisäosa K.I.A, sinun kannattaisi päivittää {0}!" - - "Hrrr! Päivitä versioon {0} nyt!" - - "Olet päivityskomentaja. Kerroin sinulle, että {0} julkaistaisiin!" - - "Mä oon jo versiossa {0}! Päivitä! Sä oot viel {1}-versiossa :P" - - "Jeeeeeeee! Uus päivitys {0}! Päivitä!" - - "Mitä ajattelet? {0} julkaistu! Päivitä!" + onekeybuttontitle: "[klikkaa päivittääksesi]" + remote-disable-warning: "&cTämä QuickShop-versio on merkitty toimimattomaksi etäpalvelimelta. Tämä tarkoittaa sitä, että MIKÄÄN tai OSA QuickShopin ominaisuuksista ei toimi tai on pahasti vialla. Lataa uusi versio SpigotMC-sivuiltamme: {0}. Tämä varoitusviesti poistuu, eikä spämmi konsoliasi, kun päivität tämän lisäosan." + buttontitle: "[Päivitä nyt]" + list: + - "Versio {0} on jo julkaistu, käytät edelleen versiota {1}!" + - "Pam! Uusi päivitys {0} on tullut! Päivitä!" + - "Yllätys! Versio {0} tuli ulos, sinä olet versiossa {1}." + - "Näyttäisi siltä että sinun täytyy päivittää, {0} on päivitetty!" + - "Ooops! {0} on julkaistu, sinulla on {1}!" + - "Lupaan QS on päivitetty {0}, miksi et päivittäisi?" + - "Korjataan ja korjataan... Anteeksi {0} on päivitetty!" + - "Virhe! Ei oikeasti, päivitimme juuri {0}!" + - "OMG! {0} on tullut ulos! Miksi käyttäisit yhä {1}?" + - "Päivän uutiset: QuickShop päivittyi {0}!" + - "Lisäosa K.I.A, sinun kannattaisi päivittää {0}!" + - "Hrrr! Päivitä versioon {0} nyt!" + - "Olet päivityskomentaja. Kerroin sinulle, että {0} julkaistaisiin!" + - "Mä oon jo versiossa {0}! Päivitä! Sä oot viel {1}-versiossa :P" + - "Jeeeeeeee! Uus päivitys {0}! Päivitä!" + - "Mitä ajattelet? {0} julkaistu! Päivitä!" permission-denied-3rd-party: "&cSinulla ei ole oikeutta 3:n osapuolen lisäosaan [{0}]." translation-author: "&c&lKääntäjä: &b&lSpeek (https://speek.fi/)" translation-contributors: "&c&lAvustajat: &v&lkorho ja Paatu Speekiltä" @@ -127,27 +127,27 @@ no-permission-build: "&cEt voi rakentaa kauppaa tänne." success-change-owner-to-server: "&aPalvelin omistaa nyt tämän kaupan" flush-finished: "&aViestit päivitettiin onnistuneesti." menu: - successful-purchase: "&aOnnistuneesti ostettiin:" - successfully-sold: "&aOnnistuneesti myytiin" - item-name-and-price: "&e{0} {1} &ahintaan &e{2}" - sell-tax: "&aMaksoit &e{0} &averoa." - sell-tax-self: "&aOmistat tämän kaupan, joten et maksa veroja." - enchants: "&5Lumoukset" - stored-enchants: "&5Varastoidut lumoukset" - shop-information: "&aKaupan informaatio" - owner: "&aOmistaja: {0}" - item: "&aTuote: &e{0}" - preview: "&b[esikatsele]" - space: "&aTilaa: &e{0}" - stock: "&aVarastossa: &e{0}" - price-per: "&aHinta per &e{0} &a- &e{1}" - total-value-of-chest: "&aArkun yhteenlaskettu hinta: &e{0}" - damage-percent-remaining: "&e{0}% &ajäljellä." - this-shop-is-buying: "&aTämä kauppa &a&lOSTAA &atuotteita." - this-shop-is-selling: "&aTämä kauppa &c&lMYY &atavaroita." - effects: "&aEfektit: &e{0}" - commands: - preview: "/qs silentpreview {0} {1} {2} {3}" + successful-purchase: "&aOnnistuneesti ostettiin:" + successfully-sold: "&aOnnistuneesti myytiin" + item-name-and-price: "&e{0} {1} &ahintaan &e{2}" + sell-tax: "&aMaksoit &e{0} &averoa." + sell-tax-self: "&aOmistat tämän kaupan, joten et maksa veroja." + enchants: "&5Lumoukset" + stored-enchants: "&5Varastoidut lumoukset" + shop-information: "&aKaupan informaatio" + owner: "&aOmistaja: {0}" + item: "&aTuote: &e{0}" + preview: "&b[esikatsele]" + space: "&aTilaa: &e{0}" + stock: "&aVarastossa: &e{0}" + price-per: "&aHinta per &e{0} &a- &e{1}" + total-value-of-chest: "&aArkun yhteenlaskettu hinta: &e{0}" + damage-percent-remaining: "&e{0}% &ajäljellä." + this-shop-is-buying: "&aTämä kauppa &a&lOSTAA &atuotteita." + this-shop-is-selling: "&aTämä kauppa &c&lMYY &atavaroita." + effects: "&aEfektit: &e{0}" + commands: + preview: "/qs silentpreview {0} {1} {2} {3}" bypassing-lock: "&cOhitetaan QuickShopin lukitus!" that-is-locked: "&cTämä kauppa on lukittu." how-many-buy: "&aKirjoita chattiin kuinka monta haluat &c&lOSTAA&a." @@ -156,48 +156,48 @@ not-allowed-to-create: "&cEt luultavasti voi luoda kauppaa tänne." blacklisted-item: "&cTämä tavara on mustalla listalla. Et luultavasti voi myydä sitä" how-much-to-trade-for: "&aKirjoita chattiin numeroina, minkä hinnan haluat asettaa tuotteelle &e{0}&a." signs: - header: "&l{0}" - selling: "{0} kpl" - buying: "Ostetaan {0}" - item: "{0}" - price: "{0} kpl" - unlimited: Rajaton + header: "&l{0}" + selling: "{0} kpl" + buying: "Ostetaan {0}" + item: "{0}" + price: "{0} kpl" + unlimited: Rajaton controlpanel: - infomation: "&aKaupan asetukset:" - setowner: "&aOmistaja: &b{0} &e[&dvaihda&e]" - setowner-hover: "&eVaikuttaisi siltä, että haluat vaithaa kaupan omistajaa. Klikkaa!" - unlimited: "&aRajaton: {0} &e[&dmuuta&e]" - unlimited-hover: "&eNäyttäisi siltä että haluat muokata kauppaasi, paina ottaaksesi käyttöön tai poistamalla käytöstä." - mode-selling: "&aKaupan tila: &aMyydään &e[&dmuuta&e]" - mode-selling-hover: "&eNäyttäisi siltä että haluat muokata kauppaasi, paina ottaaksesi käyttöön tai poistamalla käytöstä." - mode-buying: "&aKaupan tila: &cOstetaan &e[&d&lVaihda&e]" - mode-buying-hover: "&eNäyttäisi siltä että haluat muokata kauppaa, paina vaihtaaksesi kaupan tila aktiiviseksi tai poistetuksi käytöstä." - price: "&aHinta: &b{0} &e[&daseta&e]" - price-hover: "&eNäyttäisi siltä että haluat muokata kauppaa, paina asetaaksesi uusi hinta." - refill: "&aTäydennys: Täydennä kaupan varasto &e[&d&lOK&e]" - refill-hover: "&eNäyttäisi siltä että haluat muokata kauppaa, paina täydentääksesi kaupan varasto." - empty: "&aTyhjennä: Tyhjennä kaupan varasto &e[&d&lOK&e]" - empty-hover: "&eNäyttäisi siltä että haluat muokata kauppaa, paina tyhjenttäksesi kaupan varasto." - remove: "&c&l[Poista kauppa]" - remove-hover: "&ePoista tämä kauppa klikkaamalla." - commands: - setowner: "/qs setowner [Pelaaja]" - unlimited: "/qs slientunlimited {0} {1} {2} {3}" - buy: "/qs silentbuy {0} {1} {2} {3}" - sell: "/qs silentsell {0} {1} {2} {3}" - price: "/qs price [Uusi hinta]" - refill: "/qs refill [summa]" - empty: "/qs silentempty {0} {1} {2} {3}" - remove: "/qs silentremove {0} {1} {2} {3}" + infomation: "&aKaupan asetukset:" + setowner: "&aOmistaja: &b{0} &e[&dvaihda&e]" + setowner-hover: "&eVaikuttaisi siltä, että haluat vaithaa kaupan omistajaa. Klikkaa!" + unlimited: "&aRajaton: {0} &e[&dmuuta&e]" + unlimited-hover: "&eNäyttäisi siltä että haluat muokata kauppaasi, paina ottaaksesi käyttöön tai poistamalla käytöstä." + mode-selling: "&aKaupan tila: &aMyydään &e[&dmuuta&e]" + mode-selling-hover: "&eNäyttäisi siltä että haluat muokata kauppaasi, paina ottaaksesi käyttöön tai poistamalla käytöstä." + mode-buying: "&aKaupan tila: &cOstetaan &e[&d&lVaihda&e]" + mode-buying-hover: "&eNäyttäisi siltä että haluat muokata kauppaa, paina vaihtaaksesi kaupan tila aktiiviseksi tai poistetuksi käytöstä." + price: "&aHinta: &b{0} &e[&daseta&e]" + price-hover: "&eNäyttäisi siltä että haluat muokata kauppaa, paina asetaaksesi uusi hinta." + refill: "&aTäydennys: Täydennä kaupan varasto &e[&d&lOK&e]" + refill-hover: "&eNäyttäisi siltä että haluat muokata kauppaa, paina täydentääksesi kaupan varasto." + empty: "&aTyhjennä: Tyhjennä kaupan varasto &e[&d&lOK&e]" + empty-hover: "&eNäyttäisi siltä että haluat muokata kauppaa, paina tyhjenttäksesi kaupan varasto." + remove: "&c&l[Poista kauppa]" + remove-hover: "&ePoista tämä kauppa klikkaamalla." + commands: + setowner: "/qs setowner [Pelaaja]" + unlimited: "/qs slientunlimited {0} {1} {2} {3}" + buy: "/qs silentbuy {0} {1} {2} {3}" + sell: "/qs silentsell {0} {1} {2} {3}" + price: "/qs price [Uusi hinta]" + refill: "/qs refill [summa]" + empty: "/qs silentempty {0} {1} {2} {3}" + remove: "/qs silentremove {0} {1} {2} {3}" tableformat: - full_line: +---------------------------------------------------+ - left_half_line: +-------------------- - right_half_line: "--------------------+" - left_begin: "| " + full_line: +---------------------------------------------------+ + left_half_line: +-------------------- + right_half_line: "--------------------+" + left_begin: "| " booleanformat: - success: "&a✔" - failed: "&c✘" + success: "&a✔" + failed: "&c✘" tabcomplete: - price: "[hinta]" - range: "[säde]" - amount: "[summa]" \ No newline at end of file + price: "[hinta]" + range: "[säde]" + amount: "[summa]" \ No newline at end of file diff --git a/src/main/resources/messages-fr.yml b/src/main/resources/messages-fr.yml index 0b4b4c921..07c2914ec 100644 --- a/src/main/resources/messages-fr.yml +++ b/src/main/resources/messages-fr.yml @@ -2,64 +2,64 @@ purchase-failed: "&cEchec de l'achat: Erreur interne, veuillez contacter un administrateur du serveur." no-pending-action: "&cVous n'avez aucune action en attente" command: - description: - owner: "&eChange le propriétaire du shop" - remove: "&eRetire votre selection de shop" - amount: "§eExécuter vos actions avec le montant (Pour les problèmes de vos plugins de chat)" - about: "§eA propos de QuickShop" - help: "§eAffiche l'aide de QuickShop" - supercreate: "&eCréer un shop qui contourne toute les vérifications de protections." - title: "&aAide QuickShop" - unlimited: "&eCréé un Shop Illimité" - setowner: "&eChange qui est propriétaire du Shop" - buy: "&eChange un shop en mode &dACHAT&e" - sell: "&eChange le shop en mode &bVENTE&e" - clean: "&eSupprime tous les shop sans stock" - price: "&eChange le prix achat/vente d'un de tes shops" - find: "&eLocalise le shop d'un type spécifique le plus proche." - reload: "&eRechargement de QuickShop depuis config.yml" - refill: "&eAjoute un nombre donné d'objet à un shop" - empty: "&eSupprime le stock d'un shop" - create: "&eCréé un nouveau shop avec le coffre que vous regardez" - debug: "&eMettre le mode Developpeur" - fetchmessage: "&eListe les messages non lus de shops." - info: "&eMontre les Stats de QuickShop" - paste: "&eUpload Automatique des données vers Pastebin" - staff: "&eGérer les staffs de votre shop" - toggle-unlimited: "&aLe shop est maintenant {0}" - no-owner-given: "&cIl n'y a pas de propriétaire.Utilisez &e&o/qs setowner &c" - new-owner: "&aNouveau Propriétaire: &e{0}" - now-buying: "&a&dACHETE&a maintenant &e{0}" - now-selling: "&a&dVEND&a maintenant &e{0}" - cleaning: "&aNettoyage des shops avec un stock de 0 en cours..." - reloading: "&aRechargement..." - cleaned: "&aNettoyage de &e{0} shops" - no-type-given: "&cUtilisation: /qs find " - no-amount-given: "&cAucun montant donné. Utilise &a/qs refill &c" - now-debuging: "&aMode développeur activé avec succès, redémarrage de QuickShop..." - now-nolonger-debuging: "&aMode production activé avec succès, redémarrage de QuickShop..." - wrong-args: "&cLes paramètres ne correspondent pas! Utilisez /qs help pour voir l'aide." + description: + owner: "&eChange le propriétaire du shop" + remove: "&eRetire votre selection de shop" + amount: "§eExécuter vos actions avec le montant (Pour les problèmes de vos plugins de chat)" + about: "§eA propos de QuickShop" + help: "§eAffiche l'aide de QuickShop" + supercreate: "&eCréer un shop qui contourne toute les vérifications de protections." + title: "&aAide QuickShop" + unlimited: "&eCréé un Shop Illimité" + setowner: "&eChange qui est propriétaire du Shop" + buy: "&eChange un shop en mode &dACHAT&e" + sell: "&eChange le shop en mode &bVENTE&e" + clean: "&eSupprime tous les shop sans stock" + price: "&eChange le prix achat/vente d'un de tes shops" + find: "&eLocalise le shop d'un type spécifique le plus proche." + reload: "&eRechargement de QuickShop depuis config.yml" + refill: "&eAjoute un nombre donné d'objet à un shop" + empty: "&eSupprime le stock d'un shop" + create: "&eCréé un nouveau shop avec le coffre que vous regardez" + debug: "&eMettre le mode Developpeur" + fetchmessage: "&eListe les messages non lus de shops." + info: "&eMontre les Stats de QuickShop" + paste: "&eUpload Automatique des données vers Pastebin" + staff: "&eGérer les staffs de votre shop" + toggle-unlimited: "&aLe shop est maintenant {0}" + no-owner-given: "&cIl n'y a pas de propriétaire.Utilisez &e&o/qs setowner &c" + new-owner: "&aNouveau Propriétaire: &e{0}" + now-buying: "&a&dACHETE&a maintenant &e{0}" + now-selling: "&a&dVEND&a maintenant &e{0}" + cleaning: "&aNettoyage des shops avec un stock de 0 en cours..." + reloading: "&aRechargement..." + cleaned: "&aNettoyage de &e{0} shops" + no-type-given: "&cUtilisation: /qs find " + no-amount-given: "&cAucun montant donné. Utilise &a/qs refill &c" + now-debuging: "&aMode développeur activé avec succès, redémarrage de QuickShop..." + now-nolonger-debuging: "&aMode production activé avec succès, redémarrage de QuickShop..." + wrong-args: "&cLes paramètres ne correspondent pas! Utilisez /qs help pour voir l'aide." updatenotify: - onekeybuttontitle: "[Mise à jour en un clique]" - remote-disable-warning: "&cCette version de QuickShop a été désignée comme désactivée par le serveur distant. Cela signifie que cette version peux contenir de sérieux problèmes et bugs. Plus de détails sur notre page SpigotMC: {0}. Cet avertissement apparaitra dans votre console jusqu'à ce que vous utilisiez une version stable de QuickShop. Ceci n'affecte pas le fonctionnement de votre serveur." - buttontitle: "[Mettre à jour]" - list: - - "{0} est publié, vous utilisez toujours {1}!" - - "Boom! Nouvelle mise à jour {0}!" - - "Surprise! {0} est sorti, vous êtes sur {1}" - - "Vous avez besoin d’une mise à jour, {0} est mis à jour!" - - "Ooops! {0} a été publié, vous êtes sur {1}!" - - "Je vous promets, QS est mis à jour {0}, pourquoi ne pas le mettre à jour?" - - "Correction et re ... Désolé {0} est mis à jour!" - - "Err! Non, pas d'erreur, juste {0} mis à jour!" - - "OMG! {0} est sorti! Pourquoi utilisez-vous toujours {1}?" - - "Nouvelle: Mise à jour de QuickShop {0}!" - - "Plugin K.I.A, vous devez mettre à jour {0}!" - - "Fuze lance la mise à jour {0}, enregistrez la mise à jour!" - - "Vous êtes le commandant de la mise à jour, vous avez dit à {0} de sortir!" - - "Regarde mon style --- {0} mise à jour, tu as toujours {1}" - - "Ahhhhhhh! Nouvelle mise à jour {0}!" - - "Qu'est-ce que tu penses? {0} Une nouvelle mise à jour publiée!" + onekeybuttontitle: "[Mise à jour en un clique]" + remote-disable-warning: "&cCette version de QuickShop a été désignée comme désactivée par le serveur distant. Cela signifie que cette version peux contenir de sérieux problèmes et bugs. Plus de détails sur notre page SpigotMC: {0}. Cet avertissement apparaitra dans votre console jusqu'à ce que vous utilisiez une version stable de QuickShop. Ceci n'affecte pas le fonctionnement de votre serveur." + buttontitle: "[Mettre à jour]" + list: + - "{0} est publié, vous utilisez toujours {1}!" + - "Boom! Nouvelle mise à jour {0}!" + - "Surprise! {0} est sorti, vous êtes sur {1}" + - "Vous avez besoin d’une mise à jour, {0} est mis à jour!" + - "Ooops! {0} a été publié, vous êtes sur {1}!" + - "Je vous promets, QS est mis à jour {0}, pourquoi ne pas le mettre à jour?" + - "Correction et re ... Désolé {0} est mis à jour!" + - "Err! Non, pas d'erreur, juste {0} mis à jour!" + - "OMG! {0} est sorti! Pourquoi utilisez-vous toujours {1}?" + - "Nouvelle: Mise à jour de QuickShop {0}!" + - "Plugin K.I.A, vous devez mettre à jour {0}!" + - "Fuze lance la mise à jour {0}, enregistrez la mise à jour!" + - "Vous êtes le commandant de la mise à jour, vous avez dit à {0} de sortir!" + - "Regarde mon style --- {0} mise à jour, tu as toujours {1}" + - "Ahhhhhhh! Nouvelle mise à jour {0}!" + - "Qu'est-ce que tu penses? {0} Une nouvelle mise à jour publiée!" permission-denied-3rd-party: "&cPermission refusée: plugin tiers [{0}]." translation-author: "&c&lTraduit par: &b&lNull_Pl4yer, Theo_592, antoinech et Futurixel" translation-contributors: "&c&lContributeurs: &b&lTimtower, Netherfoam, KaiNoMood et Mgazul" @@ -127,27 +127,27 @@ no-permission-build: "&cVous ne pouvez pas construire un shop ici." success-change-owner-to-server: "&aLe propriétaire du shop à été définit sur \"Serveur\" avec succès!" flush-finished: "&aMessages communiqués avec succès" menu: - successful-purchase: "&aAchat réussi:" - successfully-sold: "&aVente réussie:" - item-name-and-price: "&e{0} {1} &apour &e{2}" - sell-tax: "&aTu as payé&e{0} &aen taxes." - sell-tax-self: "&aCe shop t'appartient donc tu ne payes pas de taxes." - enchants: "&5Enchantements" - stored-enchants: "&5Enchantements Stockés" - shop-information: "&aInformations sur le shop:" - owner: "&aPropriétaire: {0}" - item: "&aObjet: &e{0}" - preview: "&b[Prévisualisation de l'objet]" - space: "&aEspace: &e{0}" - stock: "&aStock &e{0}" - price-per: "&aPrix par &e{0} &a- &e{1}" - total-value-of-chest: "&aValeur totale du coffre: &e{0}" - damage-percent-remaining: "&e{0}% &aRestant." - this-shop-is-buying: "&aCe shop &dACHETE&a des objets." - this-shop-is-selling: "&aCe shop &dVEND&a des objets." - effects: "&eEffets: &e{0}" - commands: - preview: "/qs silentpreview {0} {1} {2} {3}" + successful-purchase: "&aAchat réussi:" + successfully-sold: "&aVente réussie:" + item-name-and-price: "&e{0} {1} &apour &e{2}" + sell-tax: "&aTu as payé&e{0} &aen taxes." + sell-tax-self: "&aCe shop t'appartient donc tu ne payes pas de taxes." + enchants: "&5Enchantements" + stored-enchants: "&5Enchantements Stockés" + shop-information: "&aInformations sur le shop:" + owner: "&aPropriétaire: {0}" + item: "&aObjet: &e{0}" + preview: "&b[Prévisualisation de l'objet]" + space: "&aEspace: &e{0}" + stock: "&aStock &e{0}" + price-per: "&aPrix par &e{0} &a- &e{1}" + total-value-of-chest: "&aValeur totale du coffre: &e{0}" + damage-percent-remaining: "&e{0}% &aRestant." + this-shop-is-buying: "&aCe shop &dACHETE&a des objets." + this-shop-is-selling: "&aCe shop &dVEND&a des objets." + effects: "&eEffets: &e{0}" + commands: + preview: "/qs silentpreview {0} {1} {2} {3}" bypassing-lock: "&cBypass du verrou QuickShop!" that-is-locked: "&cCe shop est verrouillé." how-many-buy: "&aEntrez le nombre que vous souhaitez &dACHETER&a dans le chat." @@ -156,48 +156,48 @@ not-allowed-to-create: "&cTu ne peux pas creer de shop ici." blacklisted-item: "&cCet objet est dans la liste noire. Tu ne peux pas le vendre." how-much-to-trade-for: "&aEntrez le nombre contre lequel vous souhaitez échanger &e{0}&a dans le chat." signs: - header: "&c{0}" - selling: "Vend {0}" - buying: "Achete {0}" - item: "{0}" - price: "{0} chaque" - unlimited: Illimité + header: "&c{0}" + selling: "Vend {0}" + buying: "Achete {0}" + item: "{0}" + price: "{0} chaque" + unlimited: Illimité controlpanel: - infomation: "&aPanneau de controle de Shop:" - setowner: "&aProprio: &b{0} &e[&d&lChanger&e]" - setowner-hover: "&eCliquez pour changer de propriétaire." - unlimited: "&aIllimité: {0} &e[&d&lChanger&e]" - unlimited-hover: "&eClique pour choisir entre activé et désactivé." - mode-selling: "&aMode du Shop: &bVEND &e[&d&lCHANGER&e]" - mode-selling-hover: "&eClique pour choisir entre activé et désactivé." - mode-buying: "&aMode du Shop: &bACHETE &e[&d&lChanger&e]" - mode-buying-hover: "&eClique pour choisir entre activé et désactivé." - price: "&aPrix: &b{0} &e[&d&lDéfinir&e]" - price-hover: "&eCliques pour définir un prix." - refill: "&aRemplir: Remettre du stock &e[&d&lOK&e]" - refill-hover: "&eClique pour restocker" - empty: "&aVide: Vider le stock &e[&d&lOK&e]" - empty-hover: "&eClique pour vider le shop." - remove: "&c&l[SUPPRIMER le shop]" - remove-hover: "&eClique pour supprimer le shop." - commands: - setowner: "/qs setowner [Joueur]" - unlimited: "/qs slientunlimited {0} {1} {2} {3}" - buy: "/qs silentbuy {0} {1} {2} {3}" - sell: "/qs silentsell {0} {1} {2} {3}" - price: "/qs price [New Price]" - refill: "/qs refill [Quantité]" - empty: "/qs silentempty {0} {1} {2} {3}" - remove: "/qs silentremove {0} {1} {2} {3}" + infomation: "&aPanneau de controle de Shop:" + setowner: "&aProprio: &b{0} &e[&d&lChanger&e]" + setowner-hover: "&eCliquez pour changer de propriétaire." + unlimited: "&aIllimité: {0} &e[&d&lChanger&e]" + unlimited-hover: "&eClique pour choisir entre activé et désactivé." + mode-selling: "&aMode du Shop: &bVEND &e[&d&lCHANGER&e]" + mode-selling-hover: "&eClique pour choisir entre activé et désactivé." + mode-buying: "&aMode du Shop: &bACHETE &e[&d&lChanger&e]" + mode-buying-hover: "&eClique pour choisir entre activé et désactivé." + price: "&aPrix: &b{0} &e[&d&lDéfinir&e]" + price-hover: "&eCliques pour définir un prix." + refill: "&aRemplir: Remettre du stock &e[&d&lOK&e]" + refill-hover: "&eClique pour restocker" + empty: "&aVide: Vider le stock &e[&d&lOK&e]" + empty-hover: "&eClique pour vider le shop." + remove: "&c&l[SUPPRIMER le shop]" + remove-hover: "&eClique pour supprimer le shop." + commands: + setowner: "/qs setowner [Joueur]" + unlimited: "/qs slientunlimited {0} {1} {2} {3}" + buy: "/qs silentbuy {0} {1} {2} {3}" + sell: "/qs silentsell {0} {1} {2} {3}" + price: "/qs price [New Price]" + refill: "/qs refill [Quantité]" + empty: "/qs silentempty {0} {1} {2} {3}" + remove: "/qs silentremove {0} {1} {2} {3}" tableformat: - full_line: +---------------------------------------------------+ - left_half_line: +-------------------- - right_half_line: "--------------------+" - left_begin: "| " + full_line: +---------------------------------------------------+ + left_half_line: +-------------------- + right_half_line: "--------------------+" + left_begin: "| " booleanformat: - success: "&a✔" - failed: "&c✘" + success: "&a✔" + failed: "&c✘" tabcomplete: - price: "[prix]" - range: "[portée]" - amount: "[quantité]" \ No newline at end of file + price: "[prix]" + range: "[portée]" + amount: "[quantité]" \ No newline at end of file diff --git a/src/main/resources/messages-ko.yml b/src/main/resources/messages-ko.yml index 16b0c41d2..55f17e510 100644 --- a/src/main/resources/messages-ko.yml +++ b/src/main/resources/messages-ko.yml @@ -2,68 +2,68 @@ purchase-failed: "&cPurchase failed: Internal Error, please contact the server administrator." no-pending-action: "&cYou do not have any pending action" command: - description: - owner: "&eChanges who owns a shop" - remove: "&eRemove your looking the shop" - amount: "&eExecute for your actions with amount(For chat plugin issue)" - about: "&eShow QuickShop abouts" - help: "&eShow QuickShop helps" - supercreate: "&eCreate a shop bypass all protection checks" - title: "&a 퀵샵 도움말" - unlimited: "&e상점을 무제한으로 만듭니다." - setowner: "&e상점 소유자를 변경합니다." - buy: "&e상점을 &d구매&e로 변경하였습니다." - sell: "&e상점을 &b판매&e로 변경하였습니다." - clean: "&e재고가 0인 모든 상점을 제거합니다" - price: "&e상점 중 하나의 구매/판매 가격을 변경합니다." - find: "&e특정 유형의 가장 가까운 상점을 찾습니다." - reload: "&econfig.yml에서 QuickShop을 다시 불러옵니다." - refill: "&e지정된 개수의 항목을 상점에 추가합니다." - empty: "&e상점에서 모든 재고를 제거합니다." - create: "&e대상 상자에 새 상점을 만듭니다." - debug: "&e개발자 모드로 변경하" - fetchmessage: "&e읽지 않은 상점 메시지를 가져옵니다." - info: "&eQuickShop의 통계를 표시합니다" - paste: "&e서버 데이터를 Pastebin에 자동 업로드합니다." - staff: "&e당신의 상점 관리자를 관리합니다." - toggle-unlimited: "&a상점은 지금 {0} 입니다" - no-owner-given: "&c주인이 없습니다! /qs setowner <플레이어 이름>을 사용하여 주인을 지정하세요!" - new-owner: "&a새 주인:&e{0}" - now-buying: "&a현재 &e{0}&a를 &d구매&a중 입니다" - now-selling: "&a현재 &e{0}&a를 &d판매&a중 입니다" - cleaning: "&a재고가 0개인 상점 정리중...." - reloading: "&a 리로딩....." - cleaned: "&a&e{0}개의&a 상점을 정리했습니다" - no-type-given: "&c사용법: /qs find <아이템이름>" - no-amount-given: "&c물품이 없습니다 &a/qs refill <개수>&c 을 사용하여 물품을 보충해주세요" - now-debuging: "&a성공적으로 생산 모드로 변경했습니다, QuickShop을 다시 불러오는 중입니다..." - now-nolonger-debuging: "&a성공적으로 개발자 모드로 변경했습니다, QuickShop을 다시 불러오는 중입니다..." - wrong-args: "&c맞는 명령어가 아닙니다. /퀵샵 도움말을 사용하여 도움말을 확인하세요" + description: + owner: "&eChanges who owns a shop" + remove: "&eRemove your looking the shop" + amount: "&eExecute for your actions with amount(For chat plugin issue)" + about: "&eShow QuickShop abouts" + help: "&eShow QuickShop helps" + supercreate: "&eCreate a shop bypass all protection checks" + title: "&a 퀵샵 도움말" + unlimited: "&e상점을 무제한으로 만듭니다." + setowner: "&e상점 소유자를 변경합니다." + buy: "&e상점을 &d구매&e로 변경하였습니다." + sell: "&e상점을 &b판매&e로 변경하였습니다." + clean: "&e재고가 0인 모든 상점을 제거합니다" + price: "&e상점 중 하나의 구매/판매 가격을 변경합니다." + find: "&e특정 유형의 가장 가까운 상점을 찾습니다." + reload: "&econfig.yml에서 QuickShop을 다시 불러옵니다." + refill: "&e지정된 개수의 항목을 상점에 추가합니다." + empty: "&e상점에서 모든 재고를 제거합니다." + create: "&e대상 상자에 새 상점을 만듭니다." + debug: "&e개발자 모드로 변경하" + fetchmessage: "&e읽지 않은 상점 메시지를 가져옵니다." + info: "&eQuickShop의 통계를 표시합니다" + paste: "&e서버 데이터를 Pastebin에 자동 업로드합니다." + staff: "&e당신의 상점 관리자를 관리합니다." + toggle-unlimited: "&a상점은 지금 {0} 입니다" + no-owner-given: "&c주인이 없습니다! /qs setowner <플레이어 이름>을 사용하여 주인을 지정하세요!" + new-owner: "&a새 주인:&e{0}" + now-buying: "&a현재 &e{0}&a를 &d구매&a중 입니다" + now-selling: "&a현재 &e{0}&a를 &d판매&a중 입니다" + cleaning: "&a재고가 0개인 상점 정리중...." + reloading: "&a 리로딩....." + cleaned: "&a&e{0}개의&a 상점을 정리했습니다" + no-type-given: "&c사용법: /qs find <아이템이름>" + no-amount-given: "&c물품이 없습니다 &a/qs refill <개수>&c 을 사용하여 물품을 보충해주세요" + now-debuging: "&a성공적으로 생산 모드로 변경했습니다, QuickShop을 다시 불러오는 중입니다..." + now-nolonger-debuging: "&a성공적으로 개발자 모드로 변경했습니다, QuickShop을 다시 불러오는 중입니다..." + wrong-args: "&c맞는 명령어가 아닙니다. /퀵샵 도움말을 사용하여 도움말을 확인하세요" updatenotify: - onekeybuttontitle: "[OneKey Update]" - remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." - buttontitle: "[Update Now]" - list: - - "{0} is released, You are still using {1}!" - - "Boom! New update {0} incoming, Update!" - - "Surprise! {0} came out, you are on {1}" - - "Looks like you need to update, {0} is released!" - - "Ooops! {0} is now released, you are on {1}!" - - "I promise, QS has been updated to {0}, why have you not updated?" - - "Fixing and re... Sorry {0} is released!" - - "Err! Nope, this is not an error, {0} has just been released!" - - "OMG! {0} came out! Why are you still using {1}?" - - "Todays News: QuickShop has been updated to {0}!" - - "Plugin K.I.A, You should update to {0}!" - - "Fuze is fuzeing update {0}, save update!" - - "There is an update commander, {0} has just come out!" - - "Look me style---{0} updated, your still using {1}" - - "Ahhhhhhh! New update {0}! Update!" - - "What U thinking? {0} has been released! Update!" + onekeybuttontitle: "[OneKey Update]" + remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." + buttontitle: "[Update Now]" + list: + - "{0} is released, You are still using {1}!" + - "Boom! New update {0} incoming, Update!" + - "Surprise! {0} came out, you are on {1}" + - "Looks like you need to update, {0} is released!" + - "Ooops! {0} is now released, you are on {1}!" + - "I promise, QS has been updated to {0}, why have you not updated?" + - "Fixing and re... Sorry {0} is released!" + - "Err! Nope, this is not an error, {0} has just been released!" + - "OMG! {0} came out! Why are you still using {1}?" + - "Todays News: QuickShop has been updated to {0}!" + - "Plugin K.I.A, You should update to {0}!" + - "Fuze is fuzeing update {0}, save update!" + - "There is an update commander, {0} has just come out!" + - "Look me style---{0} updated, your still using {1}" + - "Ahhhhhhh! New update {0}! Update!" + - "What U thinking? {0} has been released! Update!" permission-denied-3rd-party: "&cPermission denied: 3rd party plugin [{0}]." translation-author: |- - Encode : UTF-8 - &c&l번역자 : &b&l치키이예 + Encode : UTF-8 + &c&l번역자 : &b&l치키이예 translation-contributors: "&c&l기여자: &b&lWaterFrost,FLASH" translation-version: "&c&l지원 버전: &b&lReremake" translation-country: "&c&l언어 지역: &b&l한국어 (한국어)" @@ -129,27 +129,27 @@ no-permission-build: "&cYou can't build a shop here." success-change-owner-to-server: "&aSuccessfully set the shop owner to Server." flush-finished: "&aSuccessfully flushed the messages." menu: - successful-purchase: "&a성공적으로 구매했습니다:" - successfully-sold: "&a성공적으로 판매했습니다:" - item-name-and-price: "&a{2}의 개당가격 {0} {1}" - sell-tax: "&a유저님은 세금을 &e{0}원&a 지불했습니다." - sell-tax-self: "&a유저님은 이 상점의 주인 이므로 세금이 제외됩니다." - enchants: "&5인첸트" - stored-enchants: "&5저장된 인첸트" - shop-information: "&a 상점 정보:" - owner: "&a주인:{0}" - item: "&a아이템: &e{0}" - preview: "&b[아이템 미리보기]" - space: "&a빈공간: &e{0}" - stock: "&a재고품 &e{0}" - price-per: "&a 개당 가격 &e{0} &a- &e{1}" - total-value-of-chest: "&a상자의 총값 : &e{0}원" - damage-percent-remaining: "&e{0}% &a남았습니다." - this-shop-is-buying: "&a이 상점은 아이템을 &d구매&a중인 상점입니다." - this-shop-is-selling: "&a이 상점은 아이템을 &d판매&a중인 상점입니다." - effects: "&a효과: &e{0}" - commands: - preview: "/빠른상점 사전검토 {0} {1} {2} {3}" + successful-purchase: "&a성공적으로 구매했습니다:" + successfully-sold: "&a성공적으로 판매했습니다:" + item-name-and-price: "&a{2}의 개당가격 {0} {1}" + sell-tax: "&a유저님은 세금을 &e{0}원&a 지불했습니다." + sell-tax-self: "&a유저님은 이 상점의 주인 이므로 세금이 제외됩니다." + enchants: "&5인첸트" + stored-enchants: "&5저장된 인첸트" + shop-information: "&a 상점 정보:" + owner: "&a주인:{0}" + item: "&a아이템: &e{0}" + preview: "&b[아이템 미리보기]" + space: "&a빈공간: &e{0}" + stock: "&a재고품 &e{0}" + price-per: "&a 개당 가격 &e{0} &a- &e{1}" + total-value-of-chest: "&a상자의 총값 : &e{0}원" + damage-percent-remaining: "&e{0}% &a남았습니다." + this-shop-is-buying: "&a이 상점은 아이템을 &d구매&a중인 상점입니다." + this-shop-is-selling: "&a이 상점은 아이템을 &d판매&a중인 상점입니다." + effects: "&a효과: &e{0}" + commands: + preview: "/빠른상점 사전검토 {0} {1} {2} {3}" bypassing-lock: "&a QuickShop 잠금 무시!" that-is-locked: "&c이 상점은 잠겼습니다 상점 주인에게 문의하세" how-many-buy: "&a채팅으로 원하는 구매 개수를 입력해주세요" @@ -158,48 +158,48 @@ not-allowed-to-create: "&c 당신은 이곳에 상점을 만들수 없습니다. blacklisted-item: "&c이 아이템은 금지아이템입니다. 유저님은 이 아이템을 판매할 수 없습니다." how-much-to-trade-for: "&a채팅에 &e{0}&a와 교환할 금액을 입력해주세요." signs: - header: "&c{0}" - selling: "판매 {0}" - buying: "구매 {0}" - item: "{0}" - price: "{0} 각각" - unlimited: 무한 + header: "&c{0}" + selling: "판매 {0}" + buying: "구매 {0}" + item: "{0}" + price: "{0} 각각" + unlimited: 무한 controlpanel: - infomation: "&a상점 컨트롤 패널:" - setowner: "&a주인: &b{0} &e[d&l바꾸기&e]" - setowner-hover: "&e상점을 변경하고 소유자를 전환하려면 클릭하세요." - unlimited: "&a무제한:{0} &e[&d&l변경&e]" - unlimited-hover: "&e상점을 변경하고 사용 또는 사용 안 함으로 전환하려면 클릭하세요." - mode-selling: "&a상점 모드: &b판매중 &e[&d&l변경&e]" - mode-selling-hover: "&e상점을 변경하고 사용 또는 사용 안 함으로 전환하려면 클릭하세요." - mode-buying: "&a상점 모드: &b구매중 &e[&d&l변경&e]" - mode-buying-hover: "&e상점을 변경하고 사용 또는 사용 안 함으로 전환하려면 클릭하세요." - price: "&a가격: &b{0} &e[&d&l설정&e]" - price-hover: "&e가게를 변경하고 새 가격을 설정하려면 클릭하세요." - refill: "&a채우기: 상점의 아이템을 채우시겠습니까? &e[&d&l네&e]" - refill-hover: "&e가게를 변경하고 다시 채우려면 클릭하십시오." - empty: "&a제거 : 상점의 모든 아이템을 제거하시겠습니까? &e[&d&l네&e]" - empty-hover: "상점을 변경하고 제거하고 싶으시면 클릭하세요." - remove: "&c&l[상점 제거]" - remove-hover: "&e 클릭해서 상점 삭제." - commands: - setowner: "/qs owner [플레이어]" - unlimited: "/qs 무제한 {0} {1} {2} {3}" - buy: "/qs 구매 {0} {1} {2} {3}" - sell: "/qs 판매 {0} {1} {2} {3}" - price: "/qs price [새 가격]" - refill: "/qs 채우기 [수량]" - empty: "/qs 비우기 {0} {1} {2} {3}" - remove: "/qs 제거하기 {0} {1} {2} {3}" + infomation: "&a상점 컨트롤 패널:" + setowner: "&a주인: &b{0} &e[d&l바꾸기&e]" + setowner-hover: "&e상점을 변경하고 소유자를 전환하려면 클릭하세요." + unlimited: "&a무제한:{0} &e[&d&l변경&e]" + unlimited-hover: "&e상점을 변경하고 사용 또는 사용 안 함으로 전환하려면 클릭하세요." + mode-selling: "&a상점 모드: &b판매중 &e[&d&l변경&e]" + mode-selling-hover: "&e상점을 변경하고 사용 또는 사용 안 함으로 전환하려면 클릭하세요." + mode-buying: "&a상점 모드: &b구매중 &e[&d&l변경&e]" + mode-buying-hover: "&e상점을 변경하고 사용 또는 사용 안 함으로 전환하려면 클릭하세요." + price: "&a가격: &b{0} &e[&d&l설정&e]" + price-hover: "&e가게를 변경하고 새 가격을 설정하려면 클릭하세요." + refill: "&a채우기: 상점의 아이템을 채우시겠습니까? &e[&d&l네&e]" + refill-hover: "&e가게를 변경하고 다시 채우려면 클릭하십시오." + empty: "&a제거 : 상점의 모든 아이템을 제거하시겠습니까? &e[&d&l네&e]" + empty-hover: "상점을 변경하고 제거하고 싶으시면 클릭하세요." + remove: "&c&l[상점 제거]" + remove-hover: "&e 클릭해서 상점 삭제." + commands: + setowner: "/qs owner [플레이어]" + unlimited: "/qs 무제한 {0} {1} {2} {3}" + buy: "/qs 구매 {0} {1} {2} {3}" + sell: "/qs 판매 {0} {1} {2} {3}" + price: "/qs price [새 가격]" + refill: "/qs 채우기 [수량]" + empty: "/qs 비우기 {0} {1} {2} {3}" + remove: "/qs 제거하기 {0} {1} {2} {3}" tableformat: - full_line: +---------------------------------------------------+ - left_half_line: +-------------------- - right_half_line: "--------------------+" - left_begin: "|" + full_line: +---------------------------------------------------+ + left_half_line: +-------------------- + right_half_line: "--------------------+" + left_begin: "|" booleanformat: - success: "&a✔" - failed: "&c✘" + success: "&a✔" + failed: "&c✘" tabcomplete: - price: "[가격]" - range: "[범위]" - amount: "[수량]" \ No newline at end of file + price: "[가격]" + range: "[범위]" + amount: "[수량]" \ No newline at end of file diff --git a/src/main/resources/messages-pl.yml b/src/main/resources/messages-pl.yml index ff3e8dde2..cb026f3be 100644 --- a/src/main/resources/messages-pl.yml +++ b/src/main/resources/messages-pl.yml @@ -2,64 +2,64 @@ purchase-failed: "&cZakup nieudany: Błąd wewnętrzny, Skontaktuj się z administratorem." no-pending-action: "&cNie masz żadnych oczekujących działań" command: - description: - owner: "&eZmiana Właściciela sklepu" - remove: "&eUsunięto sklep na który patrzysz" - amount: "&eExecute for your actions with amount(For chat plugin issue)" - about: "&ePokaż informację o QuickShop" - help: "&ePomoc do pluginu QuickShop" - supercreate: "&eUtwórz sklep z obejściem ochrony" - title: "&aQuickShop Help" - unlimited: "&eTworzy nielimitowany sklep" - setowner: "&eZmień właściciela sklepu" - buy: "&eZmień rodzaj sklepu na &dBUY&e" - sell: "&eZmień rodzaj sklepu na &bSELL&e" - clean: "&eUsuń wszystkie (loaded) puste sklepy 0" - price: "&eZmień cenę Kupna/Sprzedaży w sklepie" - find: "&eLokalizuje najbliższy sklep określonego typu." - reload: "&ePrzeładowuje QuickShop z config.yml" - refill: "&eDodaje daną liczbę przedmiotów do sklepu" - empty: "&eUsuwa cały zapas ze sklepu" - create: "&eTworzy nowy sklep na skrzyni" - debug: "&ePrzejdź w tryb deweloperski" - fetchmessage: "&ePobierz nieprzeczytaną wiadomość ze sklepu" - info: "&ePokaż statystyki QuickShop" - paste: "&eAutomatyczny upload danych serwera do Pastebin" - staff: "&eZarządzaj personelem sklepu" - toggle-unlimited: "&aSklep: {0}" - no-owner-given: "&cNikt nie został właścicielem. Użyj &a/qs setowner &c" - new-owner: "&aNowy Właściciel: &e{0}" - now-buying: "&aTeraz &dSkupujesz&a &e{0}" - now-selling: "&aTeraz &dSprzedajesz&a &e{0}" - cleaning: "&aCleaning up shops with 0 stock..." - reloading: "&aPrzeładowanie..." - cleaned: "&aUsunięto &e{0}&ze sklepu" - no-type-given: "&cUżycie: /qs find " - no-amount-given: "&cNie dano ilości. Użyj &a/qs refill &c" - now-debuging: "&aPomyślnie przełączono się do trybu developerskiego, Przeładuj QuickShop ..." - now-nolonger-debuging: "&aPomyślnie przełączono się do trybu produkcji, Przeładuj QuickShop ..." - wrong-args: "&cOpcja nie istnieje, użyj /qs help aby uzyskać pomoc" + description: + owner: "&eZmiana Właściciela sklepu" + remove: "&eUsunięto sklep na który patrzysz" + amount: "&eExecute for your actions with amount(For chat plugin issue)" + about: "&ePokaż informację o QuickShop" + help: "&ePomoc do pluginu QuickShop" + supercreate: "&eUtwórz sklep z obejściem ochrony" + title: "&aQuickShop Help" + unlimited: "&eTworzy nielimitowany sklep" + setowner: "&eZmień właściciela sklepu" + buy: "&eZmień rodzaj sklepu na &dBUY&e" + sell: "&eZmień rodzaj sklepu na &bSELL&e" + clean: "&eUsuń wszystkie (loaded) puste sklepy 0" + price: "&eZmień cenę Kupna/Sprzedaży w sklepie" + find: "&eLokalizuje najbliższy sklep określonego typu." + reload: "&ePrzeładowuje QuickShop z config.yml" + refill: "&eDodaje daną liczbę przedmiotów do sklepu" + empty: "&eUsuwa cały zapas ze sklepu" + create: "&eTworzy nowy sklep na skrzyni" + debug: "&ePrzejdź w tryb deweloperski" + fetchmessage: "&ePobierz nieprzeczytaną wiadomość ze sklepu" + info: "&ePokaż statystyki QuickShop" + paste: "&eAutomatyczny upload danych serwera do Pastebin" + staff: "&eZarządzaj personelem sklepu" + toggle-unlimited: "&aSklep: {0}" + no-owner-given: "&cNikt nie został właścicielem. Użyj &a/qs setowner &c" + new-owner: "&aNowy Właściciel: &e{0}" + now-buying: "&aTeraz &dSkupujesz&a &e{0}" + now-selling: "&aTeraz &dSprzedajesz&a &e{0}" + cleaning: "&aCleaning up shops with 0 stock..." + reloading: "&aPrzeładowanie..." + cleaned: "&aUsunięto &e{0}&ze sklepu" + no-type-given: "&cUżycie: /qs find " + no-amount-given: "&cNie dano ilości. Użyj &a/qs refill &c" + now-debuging: "&aPomyślnie przełączono się do trybu developerskiego, Przeładuj QuickShop ..." + now-nolonger-debuging: "&aPomyślnie przełączono się do trybu produkcji, Przeładuj QuickShop ..." + wrong-args: "&cOpcja nie istnieje, użyj /qs help aby uzyskać pomoc" updatenotify: - onekeybuttontitle: "[Aktualizuj Teraz]" - remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." - buttontitle: "[Aktualizuj Teraz]" - list: - - "Wersja {0} już jest! Wciąż używasz {1}!" - - "BUM!!! Nowy update! {0}" - - "Niespodzianka! Nowy update {0}. Wciąż używasz {1}" - - "Wygląda na to, że przyda ci się mała zmiana wersji na {0}" - - "Ups! {0} już jest! A ty wciąż na {1}..." - - "Zaufaj mi, nowy update {0} już jest, czemu nie skorzystać?" - - "Ładowanie skl... a jednak nie xD |UPDATE {0}|!" - - "Hmm.. tak, tak... diagnozuję update {0}!" - - "OMG! Właśnie wyszło {0}, dlaczego ciągle siedzisz na {1}" - - "Dzisiaj w faktach po faktach: {0} już jest!" - - "Przed dalszym użytkowaniem {1} skontaktuj się z lekarzem, lub farmaceutą, lub użyj {0}" - - "Jesteś naszym 1.000.000 klientem! Wygrałeś update do {0}!" - - "Adminie! Twoje królestwo jest zagrożone, nalegam na przejście do wersji {0}!" - - "Nie, przyjacielu! Patrz na mnie! Stara wersja przeminie {0}, nowa {1} jest wieczna!" - - "Ahhhhhhh! Nowy update {0}! Pobieraj Teraz!" - - "Słyszałeś? {0} już jest!" + onekeybuttontitle: "[Aktualizuj Teraz]" + remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." + buttontitle: "[Aktualizuj Teraz]" + list: + - "Wersja {0} już jest! Wciąż używasz {1}!" + - "BUM!!! Nowy update! {0}" + - "Niespodzianka! Nowy update {0}. Wciąż używasz {1}" + - "Wygląda na to, że przyda ci się mała zmiana wersji na {0}" + - "Ups! {0} już jest! A ty wciąż na {1}..." + - "Zaufaj mi, nowy update {0} już jest, czemu nie skorzystać?" + - "Ładowanie skl... a jednak nie xD |UPDATE {0}|!" + - "Hmm.. tak, tak... diagnozuję update {0}!" + - "OMG! Właśnie wyszło {0}, dlaczego ciągle siedzisz na {1}" + - "Dzisiaj w faktach po faktach: {0} już jest!" + - "Przed dalszym użytkowaniem {1} skontaktuj się z lekarzem, lub farmaceutą, lub użyj {0}" + - "Jesteś naszym 1.000.000 klientem! Wygrałeś update do {0}!" + - "Adminie! Twoje królestwo jest zagrożone, nalegam na przejście do wersji {0}!" + - "Nie, przyjacielu! Patrz na mnie! Stara wersja przeminie {0}, nowa {1} jest wieczna!" + - "Ahhhhhhh! Nowy update {0}! Pobieraj Teraz!" + - "Słyszałeś? {0} już jest!" permission-denied-3rd-party: "&cPermission denied: 3rd party plugin [{0}]." translation-author: "&c&lTłumacz: &b&lNieOGEL i NeonDmn" translation-contributors: "&c&Autor: &b&lGhost_chu | &c&lWspółautorzy: &b&lTimtower, Netherfoam, KaiNoMood and Mgazul" @@ -127,27 +127,27 @@ no-permission-build: "&cNie możesz zrobić sklepu tutaj." success-change-owner-to-server: "&aZ powodzeniem zmieniono właściciela sklepu na Server." flush-finished: "&aPomyślnie wyczyszczono wiadomości." menu: - successful-purchase: "&aZakupiono:" - successfully-sold: "&aSprzedano:" - item-name-and-price: "&e{0} {1} &aza &e{2}" - sell-tax: "&aZapłaciłeś &e{0} &aw podatkach." - sell-tax-self: "&aTo twój sklep, więc nie płacisz podatków." - enchants: "&5Enchanty" - stored-enchants: "&5Przechowywane Enchanty" - shop-information: "&aInfo:" - owner: "&aWłaściciel: {0}" - item: "&aItem: &e{0}" - preview: "&b[Podgląd Itemu]" - space: "&aMiejsce: &e{0}" - stock: "&aIlość &e{0}" - price-per: "&aCena za &e{0} &a- &e{1}" - total-value-of-chest: "&aIlość w skrzyni: &e{0}" - damage-percent-remaining: "&e{0}% &aZostało." - this-shop-is-buying: "&aTen sklep &dSkupuje&a itemy." - this-shop-is-selling: "&aTen sklep &bSprzedaje&a itemy." - effects: "&aEfekty: &e{0}" - commands: - preview: "/qs silentpreview {0} {1} {2} {3}" + successful-purchase: "&aZakupiono:" + successfully-sold: "&aSprzedano:" + item-name-and-price: "&e{0} {1} &aza &e{2}" + sell-tax: "&aZapłaciłeś &e{0} &aw podatkach." + sell-tax-self: "&aTo twój sklep, więc nie płacisz podatków." + enchants: "&5Enchanty" + stored-enchants: "&5Przechowywane Enchanty" + shop-information: "&aInfo:" + owner: "&aWłaściciel: {0}" + item: "&aItem: &e{0}" + preview: "&b[Podgląd Itemu]" + space: "&aMiejsce: &e{0}" + stock: "&aIlość &e{0}" + price-per: "&aCena za &e{0} &a- &e{1}" + total-value-of-chest: "&aIlość w skrzyni: &e{0}" + damage-percent-remaining: "&e{0}% &aZostało." + this-shop-is-buying: "&aTen sklep &dSkupuje&a itemy." + this-shop-is-selling: "&aTen sklep &bSprzedaje&a itemy." + effects: "&aEfekty: &e{0}" + commands: + preview: "/qs silentpreview {0} {1} {2} {3}" bypassing-lock: "&cOmijanie blokady Quick Shop!" that-is-locked: "&cTen sklep jest zamknięty." how-many-buy: "&aWpisz ilość jaką chcesz &bKupić&a na chat." @@ -156,48 +156,48 @@ not-allowed-to-create: "&cTu nie zrobisz sklepu." blacklisted-item: "&cTen item jest na czrnej liście. Nie możesz go sprzedawać" how-much-to-trade-for: "&aPodaj cenę przedmiotu &e{0}&a na chat." signs: - header: "&c{0}" - selling: "Kup {0}" - buying: "Sprzedaj {0}" - item: "{0}" - price: "{0} za 1 szt." - unlimited: Nielimitowany + header: "&c{0}" + selling: "Kup {0}" + buying: "Sprzedaj {0}" + item: "{0}" + price: "{0} za 1 szt." + unlimited: Nielimitowany controlpanel: - infomation: "&aPanel kontrolny sklepu:" - setowner: "&aWłaściciel: &b{0} &e[&d&lZmień&e]" - setowner-hover: "&eKliknij, żeby ustawić właściciela." - unlimited: "&aNielimitowany: {0} &e[&d&lZmień&e]" - unlimited-hover: "&eKliknij, żeby włączyć, lub wyłączyć." - mode-selling: "&aTryb sklepu: &bSprzedaje &e[&d&lZmień&e]" - mode-selling-hover: "&eKliknij, żeby włączyć, lub wyłączyć." - mode-buying: "&aTryb sklepu: &bKupuje &e[&d&lZmień&e]" - mode-buying-hover: "&eKliknij, żeby włączyć, lub wyłączyć." - price: "&aCena: &b{0} &e[&d&lUstaw&e]" - price-hover: "&eKliknij, by ustawić nową cenę." - refill: "&aUzupełnianie: Uzupełnij sklep &e[&d&lOK&e]" - refill-hover: "&eKliknij, by uzupełnić." - empty: "&aCzyszczenie: Wyczyść sklep &e[&d&lOK&e]" - empty-hover: "&eKliknij, by wyczyścić." - remove: "&c&l[Usuń sklep]" - remove-hover: "&eKliknij, żeby usunąć sklep." - commands: - setowner: "/qs setowner [Gracz]" - unlimited: "/qs slientunlimited {0} {1} {2} {3} " - buy: "/qs silentbuy {0} {1} {2} {3}" - sell: "/qs silentsell {0} {1} {2} {3}" - price: "/qs price [Nowa cena]" - refill: "/qs refill [Ilość]" - empty: "/qs silentempty {0} {1} {2} {3}" - remove: "/qs silentremove {0} {1} {2} {3}" + infomation: "&aPanel kontrolny sklepu:" + setowner: "&aWłaściciel: &b{0} &e[&d&lZmień&e]" + setowner-hover: "&eKliknij, żeby ustawić właściciela." + unlimited: "&aNielimitowany: {0} &e[&d&lZmień&e]" + unlimited-hover: "&eKliknij, żeby włączyć, lub wyłączyć." + mode-selling: "&aTryb sklepu: &bSprzedaje &e[&d&lZmień&e]" + mode-selling-hover: "&eKliknij, żeby włączyć, lub wyłączyć." + mode-buying: "&aTryb sklepu: &bKupuje &e[&d&lZmień&e]" + mode-buying-hover: "&eKliknij, żeby włączyć, lub wyłączyć." + price: "&aCena: &b{0} &e[&d&lUstaw&e]" + price-hover: "&eKliknij, by ustawić nową cenę." + refill: "&aUzupełnianie: Uzupełnij sklep &e[&d&lOK&e]" + refill-hover: "&eKliknij, by uzupełnić." + empty: "&aCzyszczenie: Wyczyść sklep &e[&d&lOK&e]" + empty-hover: "&eKliknij, by wyczyścić." + remove: "&c&l[Usuń sklep]" + remove-hover: "&eKliknij, żeby usunąć sklep." + commands: + setowner: "/qs setowner [Gracz]" + unlimited: "/qs slientunlimited {0} {1} {2} {3} " + buy: "/qs silentbuy {0} {1} {2} {3}" + sell: "/qs silentsell {0} {1} {2} {3}" + price: "/qs price [Nowa cena]" + refill: "/qs refill [Ilość]" + empty: "/qs silentempty {0} {1} {2} {3}" + remove: "/qs silentremove {0} {1} {2} {3}" tableformat: - full_line: +---------------------------------------------------+ - left_half_line: +-------------------- - right_half_line: "--------------------+" - left_begin: "| " + full_line: +---------------------------------------------------+ + left_half_line: +-------------------- + right_half_line: "--------------------+" + left_begin: "| " booleanformat: - success: "&a✔" - failed: "&c✘" + success: "&a✔" + failed: "&c✘" tabcomplete: - price: "[cena]" - range: "[zakres]" - amount: "/qs refill [Ilość]" \ No newline at end of file + price: "[cena]" + range: "[zakres]" + amount: "/qs refill [Ilość]" \ No newline at end of file diff --git a/src/main/resources/messages-ru.yml b/src/main/resources/messages-ru.yml index 828939b5a..24a70dedc 100644 --- a/src/main/resources/messages-ru.yml +++ b/src/main/resources/messages-ru.yml @@ -2,64 +2,64 @@ purchase-failed: "&cОшибка покупки: Ошибка, свяжитесь с администратором сервера." no-pending-action: "&cУ вас нет ожидающих действий" command: - description: - owner: "&eСменить владельца магазина" - remove: "&eУдалить магазин на который вы смотрите" - amount: "&eExecute for your actions with amount(For chat plugin issue)" - about: "&eО QuickShop" - help: "&eПоказать подсказку QuickShop" - supercreate: "&eСоздать магазин и обойти все ограничения" - title: "&aQuickShop справка" - unlimited: "&eСделать магазин бесконечным" - setowner: "&eСменить владельца магазина" - buy: "&eПеревести в режим &dПОКУПКА" - sell: "&eПеревести в режим &dПРОДАЖА" - clean: "&eУдалить все пустые магазины (0 предметов)" - price: "&eСменить цену покупки/продажи вашего магазина" - find: "&eНаходит ближайший магазин определенного типа." - reload: "&aПерезагружаю конфигурацию из config.yml" - refill: "&eДобавляет определенное количество предметов в магазин" - empty: "&eУдаляет все товары из магазина" - create: "&eСоздает новый магазин из сундука на который вы смотрите" - debug: "&eПереключиться в режим разработчика" - fetchmessage: "&eПолучить непрочитанное сообщение" - info: "&eПоказать статистику QuickShop" - paste: "&eАвтоматически загружать серверную информацию в Pastebin" - staff: "&eУправление совладельцами магазина" - toggle-unlimited: "&aМагазин теперь {0}" - no-owner-given: "&cВладелец не установлен. Используйте команду &a/qs setowner &c" - new-owner: "&aНовый владелец: &e{0}" - now-buying: "&aЭтот магазин теперь &dПОКУПАЕТ&a &e{0}" - now-selling: "&aЭтот магазин теперь &bПРОДАЕТ &e{0}" - cleaning: "&aУдаление пустых магазинов..." - reloading: "&aПерезагружаю конфигурацию..." - cleaned: "&aОчищено &e{0}&a магазинов" - no-type-given: "&cИспользовать: /qs find <предмет>" - no-amount-given: "&cСумма не указана. Используйте &a/qs refill <число>&c" - now-debuging: "&aУспешно переключены в режим разработчика. Перезагружаю QuickShop..." - now-nolonger-debuging: "&aУспешно переключены в обычный режим. Перезагружаю QuickShop..." - wrong-args: "&cПараметры не совпадают, введите /qs help для получения справки" + description: + owner: "&eСменить владельца магазина" + remove: "&eУдалить магазин на который вы смотрите" + amount: "&eExecute for your actions with amount(For chat plugin issue)" + about: "&eО QuickShop" + help: "&eПоказать подсказку QuickShop" + supercreate: "&eСоздать магазин и обойти все ограничения" + title: "&aQuickShop справка" + unlimited: "&eСделать магазин бесконечным" + setowner: "&eСменить владельца магазина" + buy: "&eПеревести в режим &dПОКУПКА" + sell: "&eПеревести в режим &dПРОДАЖА" + clean: "&eУдалить все пустые магазины (0 предметов)" + price: "&eСменить цену покупки/продажи вашего магазина" + find: "&eНаходит ближайший магазин определенного типа." + reload: "&aПерезагружаю конфигурацию из config.yml" + refill: "&eДобавляет определенное количество предметов в магазин" + empty: "&eУдаляет все товары из магазина" + create: "&eСоздает новый магазин из сундука на который вы смотрите" + debug: "&eПереключиться в режим разработчика" + fetchmessage: "&eПолучить непрочитанное сообщение" + info: "&eПоказать статистику QuickShop" + paste: "&eАвтоматически загружать серверную информацию в Pastebin" + staff: "&eУправление совладельцами магазина" + toggle-unlimited: "&aМагазин теперь {0}" + no-owner-given: "&cВладелец не установлен. Используйте команду &a/qs setowner &c" + new-owner: "&aНовый владелец: &e{0}" + now-buying: "&aЭтот магазин теперь &dПОКУПАЕТ&a &e{0}" + now-selling: "&aЭтот магазин теперь &bПРОДАЕТ &e{0}" + cleaning: "&aУдаление пустых магазинов..." + reloading: "&aПерезагружаю конфигурацию..." + cleaned: "&aОчищено &e{0}&a магазинов" + no-type-given: "&cИспользовать: /qs find <предмет>" + no-amount-given: "&cСумма не указана. Используйте &a/qs refill <число>&c" + now-debuging: "&aУспешно переключены в режим разработчика. Перезагружаю QuickShop..." + now-nolonger-debuging: "&aУспешно переключены в обычный режим. Перезагружаю QuickShop..." + wrong-args: "&cПараметры не совпадают, введите /qs help для получения справки" updatenotify: - onekeybuttontitle: "[Обновление в один клик]" - remote-disable-warning: "&cЭта версия QS была отключена сервером, это означает что у неё есть серьезные проблемы, подробнее SpigotMC : {0}. Это сообщение будет появляться пока вы не отключите или обновите плагин." - buttontitle: "[Обновить сейчас]" - list: - - "{0} уже вышел, Вы используете {1}!" - - "Бум! Новое обновление {0} на подходе, Обновитесь!" - - "Сюрприз! {0} уже вышел, вы используете {1}" - - "Ищите обновление, {0} уже здесь!" - - "Ууууупс! {0} вышел, а вы используете {1}!" - - "Обновление QS {0}, почему бы не обновиться?" - - "Исправление и пере... Извините. {0} обновлен!" - - "Ошибка! Нет, не ошибка, просто {0} обновился!" - - "ОМГ! {0} уже вышел! Почему вы до сих пор используете {1}?" - - "Новость для: Обновление QuickShop {0}!" - - "Вы должны обновиться {0}!" - - "Обновление {0}, сохраните обновление!" - - "Сообщите админу что {0} уже вышел!" - - "Посмотрите---{0} обновлен, вы используете {1}" - - "Аххххх! Новое обновление {0}! Обновитесь!" - - "Чего тут думать? {0} вышел! Обновитесь!" + onekeybuttontitle: "[Обновление в один клик]" + remote-disable-warning: "&cЭта версия QS была отключена сервером, это означает что у неё есть серьезные проблемы, подробнее SpigotMC : {0}. Это сообщение будет появляться пока вы не отключите или обновите плагин." + buttontitle: "[Обновить сейчас]" + list: + - "{0} уже вышел, Вы используете {1}!" + - "Бум! Новое обновление {0} на подходе, Обновитесь!" + - "Сюрприз! {0} уже вышел, вы используете {1}" + - "Ищите обновление, {0} уже здесь!" + - "Ууууупс! {0} вышел, а вы используете {1}!" + - "Обновление QS {0}, почему бы не обновиться?" + - "Исправление и пере... Извините. {0} обновлен!" + - "Ошибка! Нет, не ошибка, просто {0} обновился!" + - "ОМГ! {0} уже вышел! Почему вы до сих пор используете {1}?" + - "Новость для: Обновление QuickShop {0}!" + - "Вы должны обновиться {0}!" + - "Обновление {0}, сохраните обновление!" + - "Сообщите админу что {0} уже вышел!" + - "Посмотрите---{0} обновлен, вы используете {1}" + - "Аххххх! Новое обновление {0}! Обновитесь!" + - "Чего тут думать? {0} вышел! Обновитесь!" permission-denied-3rd-party: "&cДоступ запрещен: Сторонний плагин [{0}]." translation-author: "&c&lПереводчики: &b&lBront, Nukert" translation-contributors: "&c&lContributors: &b&l" @@ -127,27 +127,27 @@ no-permission-build: "&cВы не можете построить магазин success-change-owner-to-server: "&aСервер установлен как владелец магазина" flush-finished: "&aСообщения успешно очищены." menu: - successful-purchase: "&aВы приобрели:" - successfully-sold: "&aВы продали:" - item-name-and-price: "&e{0} {1} &aза &e{2}" - sell-tax: "&aНалог составил &e{0} &ain." - sell-tax-self: "&aВы владелец этого магазина, поэтому с вас не взять налог." - enchants: "&5Чары" - stored-enchants: "&5Наложенные чары" - shop-information: "&aИнформация о магазине:" - owner: "&aВладелец: {0}" - item: "&aПредмет: &e{0}" - preview: "&b[Предпросмотр предмета]" - space: "&aСвободное место: &e{0}" - stock: "&aДоступно: &e{0}" - price-per: "&aЦена за &e{0} &a- &e{1}" - total-value-of-chest: "&aВсего магазинов: &e{0}" - damage-percent-remaining: "&e{0}% &aОсталось." - this-shop-is-buying: "&aЭтот магазин &dПОКУПАЕТ&a предметы." - this-shop-is-selling: "&aЭтот магазин &bПРОДАЕТ&a предметы." - effects: "&aЭффекты: &e{0}" - commands: - preview: "/qs silentpreview {0} {1} {2} {3}" + successful-purchase: "&aВы приобрели:" + successfully-sold: "&aВы продали:" + item-name-and-price: "&e{0} {1} &aза &e{2}" + sell-tax: "&aНалог составил &e{0} &ain." + sell-tax-self: "&aВы владелец этого магазина, поэтому с вас не взять налог." + enchants: "&5Чары" + stored-enchants: "&5Наложенные чары" + shop-information: "&aИнформация о магазине:" + owner: "&aВладелец: {0}" + item: "&aПредмет: &e{0}" + preview: "&b[Предпросмотр предмета]" + space: "&aСвободное место: &e{0}" + stock: "&aДоступно: &e{0}" + price-per: "&aЦена за &e{0} &a- &e{1}" + total-value-of-chest: "&aВсего магазинов: &e{0}" + damage-percent-remaining: "&e{0}% &aОсталось." + this-shop-is-buying: "&aЭтот магазин &dПОКУПАЕТ&a предметы." + this-shop-is-selling: "&aЭтот магазин &bПРОДАЕТ&a предметы." + effects: "&aЭффекты: &e{0}" + commands: + preview: "/qs silentpreview {0} {1} {2} {3}" bypassing-lock: "&cОбход блокировки QuickShop!" that-is-locked: "&cМагазин закрыт." how-many-buy: "&aНапишите в чат сколько предметов вы хотите &bКУПИТЬ&a." @@ -156,48 +156,48 @@ not-allowed-to-create: "&cВы не можете создать магазин blacklisted-item: "&cЭтот предмет находится в черном списке. Вы не можете продавать его." how-much-to-trade-for: "&aВведите в чат, за сколько &e{0} вы хотите продать." signs: - header: "&c{0}" - selling: "Продаёт {0}" - buying: "Покупает {0}" - item: "{0}" - price: "{0}" - unlimited: Много + header: "&c{0}" + selling: "Продаёт {0}" + buying: "Покупает {0}" + item: "{0}" + price: "{0}" + unlimited: Много controlpanel: - infomation: "&aПанель управления магазином:" - setowner: "&aВладелец: &b{0} &e[&d&lСменить&e]" - setowner-hover: "&eСмотрите на сундук что вы хотите изменить и нажмите Сменить" - unlimited: "&aБесконечный: {0} &e[&d&lПереключить&e]" - unlimited-hover: "&eСмотрите на сундук что вы хотите изменить и нажмите Переключить" - mode-selling: "&aРежим: &bПродажа &e[&d&lПереключить&e]" - mode-selling-hover: "&eСмотрите на сундук что вы хотите изменить и нажмите Переключить" - mode-buying: "&aРежим: &bПокупка &e[&d&lПереключить&e]" - mode-buying-hover: "&eСмотрите на сундук что вы хотите изменить и нажмите Переключить" - price: "&aЦена: &b{0} &e[&d&lУстановить&e]" - price-hover: "&eПосмотрите на магазин и нажмите Установить новую цену." - refill: "&aПополнение: Перезаполнить магазин предметами &e[&d&lOK&e]" - refill-hover: "&eПосмотрите на магазин и нажмите Перезаполнить." - empty: "&aОчистить: Удалить все предметы в магазине &e[&d&lOK&e]" - empty-hover: "&eПосмотрите на магазин и нажмите Очистить." - remove: "&c&l[Удалить магазин]" - remove-hover: "&eНажмите для удаления магазина." - commands: - setowner: "/qs setowner [Игрок]" - unlimited: "/qs slientunlimited {0} {1} {2} {3}" - buy: "/qs silentbuy {0} {1} {2} {3}" - sell: "/qs silentsell {0} {1} {2} {3}" - price: "/qs price [новая цена]" - refill: "/qs refill [количество]" - empty: "/qs silentempty {0} {1} {2} {3}" - remove: "/qs silentremove {0} {1} {2} {3}" + infomation: "&aПанель управления магазином:" + setowner: "&aВладелец: &b{0} &e[&d&lСменить&e]" + setowner-hover: "&eСмотрите на сундук что вы хотите изменить и нажмите Сменить" + unlimited: "&aБесконечный: {0} &e[&d&lПереключить&e]" + unlimited-hover: "&eСмотрите на сундук что вы хотите изменить и нажмите Переключить" + mode-selling: "&aРежим: &bПродажа &e[&d&lПереключить&e]" + mode-selling-hover: "&eСмотрите на сундук что вы хотите изменить и нажмите Переключить" + mode-buying: "&aРежим: &bПокупка &e[&d&lПереключить&e]" + mode-buying-hover: "&eСмотрите на сундук что вы хотите изменить и нажмите Переключить" + price: "&aЦена: &b{0} &e[&d&lУстановить&e]" + price-hover: "&eПосмотрите на магазин и нажмите Установить новую цену." + refill: "&aПополнение: Перезаполнить магазин предметами &e[&d&lOK&e]" + refill-hover: "&eПосмотрите на магазин и нажмите Перезаполнить." + empty: "&aОчистить: Удалить все предметы в магазине &e[&d&lOK&e]" + empty-hover: "&eПосмотрите на магазин и нажмите Очистить." + remove: "&c&l[Удалить магазин]" + remove-hover: "&eНажмите для удаления магазина." + commands: + setowner: "/qs setowner [Игрок]" + unlimited: "/qs slientunlimited {0} {1} {2} {3}" + buy: "/qs silentbuy {0} {1} {2} {3}" + sell: "/qs silentsell {0} {1} {2} {3}" + price: "/qs price [новая цена]" + refill: "/qs refill [количество]" + empty: "/qs silentempty {0} {1} {2} {3}" + remove: "/qs silentremove {0} {1} {2} {3}" tableformat: - full_line: +---------------------------------------------------+ - left_half_line: +-------------------- - right_half_line: "--------------------+" - left_begin: "| " + full_line: +---------------------------------------------------+ + left_half_line: +-------------------- + right_half_line: "--------------------+" + left_begin: "| " booleanformat: - success: "&a✔" - failed: "&c✘" + success: "&a✔" + failed: "&c✘" tabcomplete: - price: "[цена]" - range: "[диапазон]" - amount: "[количество]" \ No newline at end of file + price: "[цена]" + range: "[диапазон]" + amount: "[количество]" \ No newline at end of file diff --git a/src/main/resources/messages-sv.yml b/src/main/resources/messages-sv.yml index 7302e688e..27a659b10 100644 --- a/src/main/resources/messages-sv.yml +++ b/src/main/resources/messages-sv.yml @@ -2,64 +2,64 @@ purchase-failed: "&cPurchase failed: Internal Error, please contact the server administrator." no-pending-action: "&cYou do not have any pending action" command: - description: - owner: "&eChanges who owns a shop" - remove: "&eRemove your looking the shop" - amount: "&eExecute for your actions with amount(For chat plugin issue)" - about: "&eShow QuickShop abouts" - help: "&eShow QuickShop helps" - supercreate: "&eCreate a shop bypass all protection checks" - title: "&aQuickShop Hjälp" - unlimited: "&eGör en butik obegränsad" - setowner: "&eÄndrar vem som äger en butik" - buy: "&eÄndrar en butik till &dKÖPER&e läge" - sell: "&eÄndrar en butik till &bSÄLJER&e läge" - clean: "&eTar bort alla (laddade) butiker med 0 lager" - price: "&eÄndrar köp/sälj pris till en av dina butiker" - find: "&eFinns närmaste butik av en viss typ." - reload: "&eLaddar om QuickShop från config.yml" - refill: "&eLägger till ett visst antal artiklar i en butik" - empty: "&eTar bort alla lager från en butik" - create: "&eSkapar en ny butik på mål kistan" - debug: "&eVäxla till utväcklarläge" - fetchmessage: "&eHämta oläst butiksmeddelande" - info: "&eVisa QuickShop Statistik" - paste: "&eAuto överför serverdata till Pastebin" - staff: "&eManage your shop staffs" - toggle-unlimited: "&aButiken är nu {0}" - no-owner-given: "&cIngen ägare ges. Använd &a/qs setowner &c" - new-owner: "&aNy ägare: &e{0}" - now-buying: "&aNu &dKÖPER&a &e{0}" - now-selling: "&aNu &bSÄLJER &e{0}" - cleaning: "&aStädar upp butikerna med 0 lager..." - reloading: "&aLaddar om..." - cleaned: "&aStädat &e{0}&a butiker" - no-type-given: "&cAnvänd: /qs find " - no-amount-given: "&cInget belopp ges. Använd &a/qs refill &c" - now-debuging: "&aLyckades växla till produktionsläge, Laddar om QuickShop..." - now-nolonger-debuging: "&aLyckades växla till utvecklarläge, Laddar om QuickShop..." - wrong-args: "&cParameters don't match, use /qs help to check help" + description: + owner: "&eChanges who owns a shop" + remove: "&eRemove your looking the shop" + amount: "&eExecute for your actions with amount(For chat plugin issue)" + about: "&eShow QuickShop abouts" + help: "&eShow QuickShop helps" + supercreate: "&eCreate a shop bypass all protection checks" + title: "&aQuickShop Hjälp" + unlimited: "&eGör en butik obegränsad" + setowner: "&eÄndrar vem som äger en butik" + buy: "&eÄndrar en butik till &dKÖPER&e läge" + sell: "&eÄndrar en butik till &bSÄLJER&e läge" + clean: "&eTar bort alla (laddade) butiker med 0 lager" + price: "&eÄndrar köp/sälj pris till en av dina butiker" + find: "&eFinns närmaste butik av en viss typ." + reload: "&eLaddar om QuickShop från config.yml" + refill: "&eLägger till ett visst antal artiklar i en butik" + empty: "&eTar bort alla lager från en butik" + create: "&eSkapar en ny butik på mål kistan" + debug: "&eVäxla till utväcklarläge" + fetchmessage: "&eHämta oläst butiksmeddelande" + info: "&eVisa QuickShop Statistik" + paste: "&eAuto överför serverdata till Pastebin" + staff: "&eManage your shop staffs" + toggle-unlimited: "&aButiken är nu {0}" + no-owner-given: "&cIngen ägare ges. Använd &a/qs setowner &c" + new-owner: "&aNy ägare: &e{0}" + now-buying: "&aNu &dKÖPER&a &e{0}" + now-selling: "&aNu &bSÄLJER &e{0}" + cleaning: "&aStädar upp butikerna med 0 lager..." + reloading: "&aLaddar om..." + cleaned: "&aStädat &e{0}&a butiker" + no-type-given: "&cAnvänd: /qs find " + no-amount-given: "&cInget belopp ges. Använd &a/qs refill &c" + now-debuging: "&aLyckades växla till produktionsläge, Laddar om QuickShop..." + now-nolonger-debuging: "&aLyckades växla till utvecklarläge, Laddar om QuickShop..." + wrong-args: "&cParameters don't match, use /qs help to check help" updatenotify: - onekeybuttontitle: "[OneKey Update]" - remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." - buttontitle: "[Update Now]" - list: - - "{0} is released, You are still using {1}!" - - "Boom! New update {0} incoming, Update!" - - "Surprise! {0} came out, you are on {1}" - - "Looks like you need to update, {0} is released!" - - "Ooops! {0} is now released, you are on {1}!" - - "I promise, QS has been updated to {0}, why have you not updated?" - - "Fixing and re... Sorry {0} is released!" - - "Err! Nope, this is not an error, {0} has just been released!" - - "OMG! {0} came out! Why are you still using {1}?" - - "Todays News: QuickShop has been updated to {0}!" - - "Plugin K.I.A, You should update to {0}!" - - "Fuze is fuzeing update {0}, save update!" - - "There is an update commander, {0} has just come out!" - - "Look me style---{0} updated, your still using {1}" - - "Ahhhhhhh! New update {0}! Update!" - - "What U thinking? {0} has been released! Update!" + onekeybuttontitle: "[OneKey Update]" + remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." + buttontitle: "[Update Now]" + list: + - "{0} is released, You are still using {1}!" + - "Boom! New update {0} incoming, Update!" + - "Surprise! {0} came out, you are on {1}" + - "Looks like you need to update, {0} is released!" + - "Ooops! {0} is now released, you are on {1}!" + - "I promise, QS has been updated to {0}, why have you not updated?" + - "Fixing and re... Sorry {0} is released!" + - "Err! Nope, this is not an error, {0} has just been released!" + - "OMG! {0} came out! Why are you still using {1}?" + - "Todays News: QuickShop has been updated to {0}!" + - "Plugin K.I.A, You should update to {0}!" + - "Fuze is fuzeing update {0}, save update!" + - "There is an update commander, {0} has just come out!" + - "Look me style---{0} updated, your still using {1}" + - "Ahhhhhhh! New update {0}! Update!" + - "What U thinking? {0} has been released! Update!" permission-denied-3rd-party: "&cPermission denied: 3rd party plugin [{0}]." translation-author: "&c&lÖversättare: &b&lH2O_Panda" translation-contributors: "&c&lMedverkande: &b&lTimtower, Netherfoam, KaiNoMood and Mgazul" @@ -127,27 +127,27 @@ no-permission-build: "&cYou can't build a shop here." success-change-owner-to-server: "&aSuccessfully set the shop owner to Server." flush-finished: "&aSuccessfully flushed the messages." menu: - successful-purchase: "&aFramgångsrikt köpt:" - successfully-sold: "&aSäljs framgångsrikt:" - item-name-and-price: "&e{0} {1} &aför &e{2}" - sell-tax: "&aDu betalade &e{0} &ai skatt." - sell-tax-self: "&aDu äger denna butik så du betalar inte skatter." - enchants: "&5Förtrollar" - stored-enchants: "&5Lagrade Förtrollningar" - shop-information: "&aButik Information:" - owner: "&aÄgare: {0}" - item: "&aArtikel: &e{0}" - preview: "&b[Visa Artikel]" - space: "&aPlats: &e{0}" - stock: "&aLager &e{0}" - price-per: "&aPris per &e{0} &a- &e{1}" - total-value-of-chest: "&aTotal värde av kistan: &e{0}" - damage-percent-remaining: "&e{0}% &aÅterstående" - this-shop-is-buying: "&aDenna butik &dKÖPER&a Artiklar." - this-shop-is-selling: "&aDenna butik &bSÄLJER&a Artiklar." - effects: "&aEffekter: &e{0}" - commands: - preview: "/qs silentpreview {0} {1} {2} {3}" + successful-purchase: "&aFramgångsrikt köpt:" + successfully-sold: "&aSäljs framgångsrikt:" + item-name-and-price: "&e{0} {1} &aför &e{2}" + sell-tax: "&aDu betalade &e{0} &ai skatt." + sell-tax-self: "&aDu äger denna butik så du betalar inte skatter." + enchants: "&5Förtrollar" + stored-enchants: "&5Lagrade Förtrollningar" + shop-information: "&aButik Information:" + owner: "&aÄgare: {0}" + item: "&aArtikel: &e{0}" + preview: "&b[Visa Artikel]" + space: "&aPlats: &e{0}" + stock: "&aLager &e{0}" + price-per: "&aPris per &e{0} &a- &e{1}" + total-value-of-chest: "&aTotal värde av kistan: &e{0}" + damage-percent-remaining: "&e{0}% &aÅterstående" + this-shop-is-buying: "&aDenna butik &dKÖPER&a Artiklar." + this-shop-is-selling: "&aDenna butik &bSÄLJER&a Artiklar." + effects: "&aEffekter: &e{0}" + commands: + preview: "/qs silentpreview {0} {1} {2} {3}" bypassing-lock: "&cKontrollerar en Quickshop lås!" that-is-locked: "&cDen butiken är låst." how-many-buy: "&aAnge hur många du vill &bKÖPA&a i chatten." @@ -156,48 +156,48 @@ not-allowed-to-create: "&cDu får inte skapa en butik här." blacklisted-item: "&cDen Artiklen är svartlistad. du får inte sälja den" how-much-to-trade-for: "&aAnge hur mycket du vill handla en &e{0}&a i chatten" signs: - header: "&c{0}" - selling: "Säljer {0}" - buying: "Köper {0}" - item: "{0}" - price: "{0} varje" - unlimited: Obegränsat + header: "&c{0}" + selling: "Säljer {0}" + buying: "Köper {0}" + item: "{0}" + price: "{0} varje" + unlimited: Obegränsat controlpanel: - infomation: "&aButikens Kontrollpanel:" - setowner: "&aÄgare: &b{0} &e[&d&lÄndra&e]" - setowner-hover: "&eSer du vill byta butik och klicka för att byta ägare." - unlimited: "&aObegränsat: {0} &e[&d&lVäxla&e]" - unlimited-hover: "&eSer du vill byta butik och klicka för att växla aktiverat eller inaktiverat." - mode-selling: "&aButikläge: &bSäljer &e[&d&lVäxla&e]" - mode-selling-hover: "&eSer du vill byta butik och klicka för att växla aktiverat eller inaktiverat." - mode-buying: "&aButikläge: &bKöper &e[&d&lVäxla&e]" - mode-buying-hover: "&eSer du vill byta butik och klicka för att växla aktiverat eller inaktiverat." - price: "&aPris: &b{0} &e[&d&lSätt&e]" - price-hover: "&eOm du vill byta butik och klicka för att ställa in nytt pris." - refill: "&aPåfyllning: Påfyll butikens artiklar &e[&d&lOK&e]" - refill-hover: "&eSer du vill byta butik och klicka för att fylla på." - empty: "&aTom: Ta bort butikens alla artiklar &e[&d&lOK&e]" - empty-hover: "&eSer du vill byta butik och klicka för att rensa." - remove: "&c&l[Ta bort Butik]" - remove-hover: "&eKlicka för att ta bort denna butik." - commands: - setowner: "/qs owner [Spelare]" - unlimited: "/qs slientunlimited {0} {1} {2} {3}" - buy: "/qs silentbuy {0} {1} {2} {3}" - sell: "/qs silentsell {0} {1} {2} {3}" - price: "/qs price [Nytt Pris]" - refill: "/qs refill [Belopp]" - empty: "/qs silentempty {0} {1} {2} {3}" - remove: "/qs silentremove {0} {1} {2} {3}" + infomation: "&aButikens Kontrollpanel:" + setowner: "&aÄgare: &b{0} &e[&d&lÄndra&e]" + setowner-hover: "&eSer du vill byta butik och klicka för att byta ägare." + unlimited: "&aObegränsat: {0} &e[&d&lVäxla&e]" + unlimited-hover: "&eSer du vill byta butik och klicka för att växla aktiverat eller inaktiverat." + mode-selling: "&aButikläge: &bSäljer &e[&d&lVäxla&e]" + mode-selling-hover: "&eSer du vill byta butik och klicka för att växla aktiverat eller inaktiverat." + mode-buying: "&aButikläge: &bKöper &e[&d&lVäxla&e]" + mode-buying-hover: "&eSer du vill byta butik och klicka för att växla aktiverat eller inaktiverat." + price: "&aPris: &b{0} &e[&d&lSätt&e]" + price-hover: "&eOm du vill byta butik och klicka för att ställa in nytt pris." + refill: "&aPåfyllning: Påfyll butikens artiklar &e[&d&lOK&e]" + refill-hover: "&eSer du vill byta butik och klicka för att fylla på." + empty: "&aTom: Ta bort butikens alla artiklar &e[&d&lOK&e]" + empty-hover: "&eSer du vill byta butik och klicka för att rensa." + remove: "&c&l[Ta bort Butik]" + remove-hover: "&eKlicka för att ta bort denna butik." + commands: + setowner: "/qs owner [Spelare]" + unlimited: "/qs slientunlimited {0} {1} {2} {3}" + buy: "/qs silentbuy {0} {1} {2} {3}" + sell: "/qs silentsell {0} {1} {2} {3}" + price: "/qs price [Nytt Pris]" + refill: "/qs refill [Belopp]" + empty: "/qs silentempty {0} {1} {2} {3}" + remove: "/qs silentremove {0} {1} {2} {3}" tableformat: - full_line: +---------------------------------------------------+ - left_half_line: +-------------------- - right_half_line: "--------------------+" - left_begin: "|" + full_line: +---------------------------------------------------+ + left_half_line: +-------------------- + right_half_line: "--------------------+" + left_begin: "|" booleanformat: - success: "&a✔" - failed: "&c✘" + success: "&a✔" + failed: "&c✘" tabcomplete: - price: "[pris]" - range: "[räckvidd]" - amount: "[belopp]" \ No newline at end of file + price: "[pris]" + range: "[räckvidd]" + amount: "[belopp]" \ No newline at end of file diff --git a/src/main/resources/messages-zh_CN.yml b/src/main/resources/messages-zh_CN.yml index 7e4d3393f..acb539c79 100644 --- a/src/main/resources/messages-zh_CN.yml +++ b/src/main/resources/messages-zh_CN.yml @@ -2,64 +2,64 @@ purchase-failed: "&c支付失败:内部错误,请联系服务器管理员" no-pending-action: "&c你没有任何进行中的操作" command: - description: - owner: "&e改变商店的主人" - remove: "&e移除你看着的的商店" - amount: "&e以指定数量执行你进行中的操作(用于解决聊天插件带来的不兼容问题)" - about: "&e关于QuickShop" - help: "&e显示QuickShop帮助" - supercreate: "&e越过所有区域保护检查创建商店" - title: "&aQuickShop 帮助" - unlimited: "&e切换商店到无限模式" - setowner: "&e为商店设置新店主" - buy: "&e切换到 &d收购 &e模式" - sell: "&e切换到 &b出售 &e模式" - clean: "&e移除所有已加载的脱销的商店" - price: "&e修改 收购/出售 的价格" - find: "&e寻找附近匹配你的物品名称的商店" - reload: "&e重载插件" - refill: "&e添加一定数量的物品到商店" - empty: "&e清空商店库存" - create: "&e将目标箱子设置为商店" - debug: "&e切换到开发者模式" - fetchmessage: "&e获取未读商店日志" - info: "&e查看QuickShop统计信息" - paste: "&e上传调试信息到Patebin" - staff: "&e管理商店助手" - toggle-unlimited: "&a商店现在 {0}" - no-owner-given: "&c未指定新的所有者. 使用 &a/qs owner <新的店主>&c" - new-owner: "&a新的店主: &e{0}" - now-buying: "&a现在 &d收购中 &e{0}" - now-selling: "&a现在 &b出售中 &e{0}" - cleaning: "&c正在清理脱销商店..." - reloading: "&a重载中" - cleaned: "&a清理了 &e{0} &a个商店" - no-type-given: "&c用法: /qs find <物品名称>" - no-amount-given: "&c数量未指定. 使用 &a/qs refull <数量>&c" - now-debuging: "&a成功切换到了开发者模式,插件重载中..." - now-nolonger-debuging: "&a成功切换到了生产环境模式,插件重载中..." - wrong-args: "&c参数不匹配,使用/qs help来查看帮助" + description: + owner: "&e改变商店的主人" + remove: "&e移除你看着的的商店" + amount: "&e以指定数量执行你进行中的操作(用于解决聊天插件带来的不兼容问题)" + about: "&e关于QuickShop" + help: "&e显示QuickShop帮助" + supercreate: "&e越过所有区域保护检查创建商店" + title: "&aQuickShop 帮助" + unlimited: "&e切换商店到无限模式" + setowner: "&e为商店设置新店主" + buy: "&e切换到 &d收购 &e模式" + sell: "&e切换到 &b出售 &e模式" + clean: "&e移除所有已加载的脱销的商店" + price: "&e修改 收购/出售 的价格" + find: "&e寻找附近匹配你的物品名称的商店" + reload: "&e重载插件" + refill: "&e添加一定数量的物品到商店" + empty: "&e清空商店库存" + create: "&e将目标箱子设置为商店" + debug: "&e切换到开发者模式" + fetchmessage: "&e获取未读商店日志" + info: "&e查看QuickShop统计信息" + paste: "&e上传调试信息到Patebin" + staff: "&e管理商店助手" + toggle-unlimited: "&a商店现在 {0}" + no-owner-given: "&c未指定新的所有者. 使用 &a/qs owner <新的店主>&c" + new-owner: "&a新的店主: &e{0}" + now-buying: "&a现在 &d收购中 &e{0}" + now-selling: "&a现在 &b出售中 &e{0}" + cleaning: "&c正在清理脱销商店..." + reloading: "&a重载中" + cleaned: "&a清理了 &e{0} &a个商店" + no-type-given: "&c用法: /qs find <物品名称>" + no-amount-given: "&c数量未指定. 使用 &a/qs refull <数量>&c" + now-debuging: "&a成功切换到了开发者模式,插件重载中..." + now-nolonger-debuging: "&a成功切换到了生产环境模式,插件重载中..." + wrong-args: "&c参数不匹配,使用/qs help来查看帮助" updatenotify: - onekeybuttontitle: "[一键升级]" - remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." - buttontitle: "[立即更新]" - list: - - "{0} 版本已经发布,您还在使用{1}" - - "噔噔咚!新版本{0} 已经发布,快升级!" - - "在?{0} 来了,你还在使用{1}" - - "看起来你需要更新了,{0} 版本已经发布了!" - - "噢!{0} 发布了,你还在使用{1}!" - - "相信我,快捷商店更新到{0}了,为啥你还不更新呢?" - - "修复并更新了...抱歉其实是{0}版本已经发布!" - - "错误!其实并没有错误,只是 {0} 版本已经发布了!" - - "喵!{0} 已经发布了!为什么还要用 {1} 呢?" - - "今日新闻:快捷商店已经更新至 {0} !" - - "Plugin K.I.A, You should update to {0}!" - - "Fuze is fuzeing update {0}, save update!" - - "这里是升级指挥官,{0}版本刚刚发布了!" - - "Look me style---{0} updated, your still using {1}" - - "啊啊啊啊啊啊啊啊啊啊!更新 {0} 来了!快升级!" - - "你在想什么?{0} 已经发布了!快升级!" + onekeybuttontitle: "[一键升级]" + remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." + buttontitle: "[立即更新]" + list: + - "{0} 版本已经发布,您还在使用{1}" + - "噔噔咚!新版本{0} 已经发布,快升级!" + - "在?{0} 来了,你还在使用{1}" + - "看起来你需要更新了,{0} 版本已经发布了!" + - "噢!{0} 发布了,你还在使用{1}!" + - "相信我,快捷商店更新到{0}了,为啥你还不更新呢?" + - "修复并更新了...抱歉其实是{0}版本已经发布!" + - "错误!其实并没有错误,只是 {0} 版本已经发布了!" + - "喵!{0} 已经发布了!为什么还要用 {1} 呢?" + - "今日新闻:快捷商店已经更新至 {0} !" + - "Plugin K.I.A, You should update to {0}!" + - "Fuze is fuzeing update {0}, save update!" + - "这里是升级指挥官,{0}版本刚刚发布了!" + - "Look me style---{0} updated, your still using {1}" + - "啊啊啊啊啊啊啊啊啊啊!更新 {0} 来了!快升级!" + - "你在想什么?{0} 已经发布了!快升级!" permission-denied-3rd-party: "&cPermission denied: 3rd party plugin [{0}]." translation-author: "&c&l本地化翻译: &b&lNayo_Ayo Breakfastbone MoonDrinkWind Leon_Xu Ghost_chu" translation-contributors: "&c&l开发贡献者:&b&lTimtower, Netherfoam, KaiNoMood and Mgazul" @@ -127,27 +127,27 @@ no-permission-build: "&c你不能在这里建立商店。" success-change-owner-to-server: "&a成功设置商店所有者为 服务器" flush-finished: "&a成功获取所有商店记录" menu: - successful-purchase: "&a成功支付:" - successfully-sold: "&a成功出售:" - item-name-and-price: "&e{0} {1} &a每 &e{2}" - sell-tax: "&a你支付了&e{0}&a的税。" - sell-tax-self: "&a你是这个商店的主人所以不用交税。" - enchants: "&5附魔" - stored-enchants: "&5附魔" - shop-information: "&a商店信息:" - owner: "&a主人:{0}" - item: "&a物品:&e{0}" - preview: "&b[物品预览]" - space: "&a空间: &e{0}" - stock: "&a库存&e{0}" - price-per: "&a每&e{0}&a价格&e{1}" - total-value-of-chest: "&a共计商店数: &e{0}" - damage-percent-remaining: "&e{0}% &a剩余" - this-shop-is-buying: "&a这个商店&d收购&a物品。" - this-shop-is-selling: "&a这个商店&d出售&a物品。" - effects: "&a效果: &e{0}" - commands: - preview: "/qs silentpreview {0} {1} {2} {3}" + successful-purchase: "&a成功支付:" + successfully-sold: "&a成功出售:" + item-name-and-price: "&e{0} {1} &a每 &e{2}" + sell-tax: "&a你支付了&e{0}&a的税。" + sell-tax-self: "&a你是这个商店的主人所以不用交税。" + enchants: "&5附魔" + stored-enchants: "&5附魔" + shop-information: "&a商店信息:" + owner: "&a主人:{0}" + item: "&a物品:&e{0}" + preview: "&b[物品预览]" + space: "&a空间: &e{0}" + stock: "&a库存&e{0}" + price-per: "&a每&e{0}&a价格&e{1}" + total-value-of-chest: "&a共计商店数: &e{0}" + damage-percent-remaining: "&e{0}% &a剩余" + this-shop-is-buying: "&a这个商店&d收购&a物品。" + this-shop-is-selling: "&a这个商店&d出售&a物品。" + effects: "&a效果: &e{0}" + commands: + preview: "/qs silentpreview {0} {1} {2} {3}" bypassing-lock: "&c你绕过了QuickShop的锁!" that-is-locked: "&c这个商店已上锁。" how-many-buy: "&a在聊天栏中输入想 &b购买 &a的数量" @@ -156,48 +156,48 @@ not-allowed-to-create: "&c你不能在这里创建商店" blacklisted-item: "&c此物品位于黑名单中,你不可以出售它" how-much-to-trade-for: "&a输入每个 &e{0} &a的价格" signs: - header: "&c{0}" - selling: "出售 {0}" - buying: "收购 {0}" - item: "{0}" - price: "{0}每个" - unlimited: 无限 + header: "&c{0}" + selling: "出售 {0}" + buying: "收购 {0}" + item: "{0}" + price: "{0}每个" + unlimited: 无限 controlpanel: - infomation: "&a商店控制面板" - setowner: "&a店主: &b{0} &e[&d&l修改&e]" - setowner-hover: "&e点击来修改店主" - unlimited: "&a无限模式: {0} &e[&d&l切换&e]" - unlimited-hover: "&e点击切换商店是否为无限模式" - mode-selling: "&a商店模式: &b出售 &e[&d&l开关&e]" - mode-selling-hover: "&e点击来把船变为销售模式" - mode-buying: "&a商店模式: &b收购 &e[&d&l开关&e]" - mode-buying-hover: "&e点击来把船变为收购模式" - price: "&a价格: &b{0} &e[&d&l设定&e]" - price-hover: "&e点击来给商店设置一个新的价格" - refill: "&a填充: 重新填充商品 &e[&d&l确认&e]" - refill-hover: "&e点击重新填充商品" - empty: "&a清空: 删除商店所有商品 &e[&d&l确认&e]" - empty-hover: "&e点击清除商店库存" - remove: "&c&l[删除商店]" - remove-hover: "&e点击来删除商店" - commands: - setowner: "/qs setowner [玩家id]" - unlimited: "/qs silentunlimited {0} {1} {2} {3}" - buy: "/qs silentbuy {0} {1} {2} {3}" - sell: "/qs silentsell {0} {1} {2} {3}" - price: "/qs price [修改后的新价格]" - refill: "/qs refill [补货数量]" - empty: "/qs silentempty {0} {1} {2} {3}" - remove: "/qs silentremove {0} {1} {2} {3}" + infomation: "&a商店控制面板" + setowner: "&a店主: &b{0} &e[&d&l修改&e]" + setowner-hover: "&e点击来修改店主" + unlimited: "&a无限模式: {0} &e[&d&l切换&e]" + unlimited-hover: "&e点击切换商店是否为无限模式" + mode-selling: "&a商店模式: &b出售 &e[&d&l开关&e]" + mode-selling-hover: "&e点击来把船变为销售模式" + mode-buying: "&a商店模式: &b收购 &e[&d&l开关&e]" + mode-buying-hover: "&e点击来把船变为收购模式" + price: "&a价格: &b{0} &e[&d&l设定&e]" + price-hover: "&e点击来给商店设置一个新的价格" + refill: "&a填充: 重新填充商品 &e[&d&l确认&e]" + refill-hover: "&e点击重新填充商品" + empty: "&a清空: 删除商店所有商品 &e[&d&l确认&e]" + empty-hover: "&e点击清除商店库存" + remove: "&c&l[删除商店]" + remove-hover: "&e点击来删除商店" + commands: + setowner: "/qs setowner [玩家id]" + unlimited: "/qs silentunlimited {0} {1} {2} {3}" + buy: "/qs silentbuy {0} {1} {2} {3}" + sell: "/qs silentsell {0} {1} {2} {3}" + price: "/qs price [修改后的新价格]" + refill: "/qs refill [补货数量]" + empty: "/qs silentempty {0} {1} {2} {3}" + remove: "/qs silentremove {0} {1} {2} {3}" tableformat: - full_line: +---------------------------------------------------+ - left_half_line: +-------------------- - right_half_line: "--------------------+" - left_begin: "| " + full_line: +---------------------------------------------------+ + left_half_line: +-------------------- + right_half_line: "--------------------+" + left_begin: "| " booleanformat: - success: "&a✔" - failed: "&c✘" + success: "&a✔" + failed: "&c✘" tabcomplete: - price: "[价格]" - range: "[范围]" - amount: "[数量]" \ No newline at end of file + price: "[价格]" + range: "[范围]" + amount: "[数量]" \ No newline at end of file diff --git a/src/main/resources/messages-zh_TW.yml b/src/main/resources/messages-zh_TW.yml index e7053f0ee..7e79acccf 100644 --- a/src/main/resources/messages-zh_TW.yml +++ b/src/main/resources/messages-zh_TW.yml @@ -2,64 +2,64 @@ purchase-failed: "&c內部錯誤:請聯繫伺服器管理員." no-pending-action: "&c您沒有任何待處理的操作." command: - description: - owner: "&e改變店主" - remove: "&e刪除您所看到的的商店" - amount: "&e使用錢執行您的操作(適用於聊天插件問題)" - about: "顯示 QuickShop." - help: "&e顯示 QuickShop 幫助訊息." - supercreate: "&e創建一個繞過所有保護檢查的商店." - title: "&aQuickShop 指令列表" - unlimited: "&e讓商店內物品無限多" - setowner: "&e改變店主" - buy: "&e將商店更改為 &dBUY&e 模式" - sell: "&e將商店更改為 &bSELL&e 模式" - clean: "&e刪除所有 (已加載) 沒有商品的商店" - price: "&e更改您商店的 買/賣 價格" - find: "&e找到您最近的特定類型商店" - reload: "&e重新載入 QuickShop 的 config.yml 文件." - refill: "&e將一定數量的商品加到商店" - empty: "&e從商店拿走所有商品" - create: "&e在您指的地方創建一個商店" - debug: "&e切換到開發者模式" - fetchmessage: "&e獲取商店未讀取的信息" - info: "&e顯示QuickShop的統計資料" - paste: "&e自動將伺服器數據傳送到Pastebin上" - staff: "&e管理您店的店員" - toggle-unlimited: "&a商店狀態 {0}" - no-owner-given: "&c商店沒有指定的所有者. 使用 &a/qs setowner <玩家名稱>&c來設定" - new-owner: "&a新主人: &e{0}" - now-buying: "&a現在箱箱店是 &d收購&a &e{0}" - now-selling: "&a現在箱箱店是 &b販賣 &e{0}" - cleaning: "&a正在清除被搶購一空的箱箱店......." - reloading: "&e重載中......." - cleaned: "&a已經清除 &e{0}&a 個箱箱店" - no-type-given: "&c使用: /qs find <物品>" - no-amount-given: "&c沒有給錢 使用 &a/qs refill &c" - now-debuging: "&a成功切換到開發模式,重新加載QuickShop ......" - now-nolonger-debuging: "&a成功切換到生產模式,重新加載QuickShop ..." - wrong-args: "&c參數錯誤, 使用 /qs help 查看指令列表" + description: + owner: "&e改變店主" + remove: "&e刪除您所看到的的商店" + amount: "&e使用錢執行您的操作(適用於聊天插件問題)" + about: "顯示 QuickShop." + help: "&e顯示 QuickShop 幫助訊息." + supercreate: "&e創建一個繞過所有保護檢查的商店." + title: "&aQuickShop 指令列表" + unlimited: "&e讓商店內物品無限多" + setowner: "&e改變店主" + buy: "&e將商店更改為 &dBUY&e 模式" + sell: "&e將商店更改為 &bSELL&e 模式" + clean: "&e刪除所有 (已加載) 沒有商品的商店" + price: "&e更改您商店的 買/賣 價格" + find: "&e找到您最近的特定類型商店" + reload: "&e重新載入 QuickShop 的 config.yml 文件." + refill: "&e將一定數量的商品加到商店" + empty: "&e從商店拿走所有商品" + create: "&e在您指的地方創建一個商店" + debug: "&e切換到開發者模式" + fetchmessage: "&e獲取商店未讀取的信息" + info: "&e顯示QuickShop的統計資料" + paste: "&e自動將伺服器數據傳送到Pastebin上" + staff: "&e管理您店的店員" + toggle-unlimited: "&a商店狀態 {0}" + no-owner-given: "&c商店沒有指定的所有者. 使用 &a/qs setowner <玩家名稱>&c來設定" + new-owner: "&a新主人: &e{0}" + now-buying: "&a現在箱箱店是 &d收購&a &e{0}" + now-selling: "&a現在箱箱店是 &b販賣 &e{0}" + cleaning: "&a正在清除被搶購一空的箱箱店......." + reloading: "&e重載中......." + cleaned: "&a已經清除 &e{0}&a 個箱箱店" + no-type-given: "&c使用: /qs find <物品>" + no-amount-given: "&c沒有給錢 使用 &a/qs refill &c" + now-debuging: "&a成功切換到開發模式,重新加載QuickShop ......" + now-nolonger-debuging: "&a成功切換到生產模式,重新加載QuickShop ..." + wrong-args: "&c參數錯誤, 使用 /qs help 查看指令列表" updatenotify: - onekeybuttontitle: "[一鍵更新]" - remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." - buttontitle: "[現在更新]" - list: - - "新版本 {0} 已發布, 您正還在使用 {1} !" - - "蹦!有新的版本 {0}" - - "驚喜! 新版本 {0} 出來了, 你的版本 {1}" - - "你看來需要更新, {0} 已發布!" - - "哎呀! 新版本 {0} 已發布, 你的版本 {1}!" - - "QS 最新版 {0}, 為甚麼不更新?" - - "修復並重新... 抱歉 {0}更新了!" - - "痾! 不這不是錯誤, 只是 {0}版本剛更新!" - - "我滴媽耶! {0} 版本已經出來了! 你為甚麼還用 {1} 版本?" - - "新聞快報: QuickShop 新版本 {0}!" - - "K.I.A 插件, 你要更新成 {0} 版本!" - - "Fuze 是 fuzeing 更新 {0}, 保存更新!" - - "你是更新指揮官, 告訴你 {0} 版本已經出來了!" - - "看我的風格---{0}版本出來了,你還是使用 {1} 版本" - - "ㄚㄚㄚㄚㄚㄚㄚ! 新的版本 {0}!" - - "在想甚麼兄弟? 新版本 {0} 快更新!" + onekeybuttontitle: "[一鍵更新]" + remote-disable-warning: "&cThis version of QuickShop is marked disabled by remote server, that mean this version may have serious problem, get details from our SpigotMC page: {0}. This warning will appear and spam your console until you use other not disabled version to replace this one, doesn't effect your server running." + buttontitle: "[現在更新]" + list: + - "新版本 {0} 已發布, 您正還在使用 {1} !" + - "蹦!有新的版本 {0}" + - "驚喜! 新版本 {0} 出來了, 你的版本 {1}" + - "你看來需要更新, {0} 已發布!" + - "哎呀! 新版本 {0} 已發布, 你的版本 {1}!" + - "QS 最新版 {0}, 為甚麼不更新?" + - "修復並重新... 抱歉 {0}更新了!" + - "痾! 不這不是錯誤, 只是 {0}版本剛更新!" + - "我滴媽耶! {0} 版本已經出來了! 你為甚麼還用 {1} 版本?" + - "新聞快報: QuickShop 新版本 {0}!" + - "K.I.A 插件, 你要更新成 {0} 版本!" + - "Fuze 是 fuzeing 更新 {0}, 保存更新!" + - "你是更新指揮官, 告訴你 {0} 版本已經出來了!" + - "看我的風格---{0}版本出來了,你還是使用 {1} 版本" + - "ㄚㄚㄚㄚㄚㄚㄚ! 新的版本 {0}!" + - "在想甚麼兄弟? 新版本 {0} 快更新!" permission-denied-3rd-party: "&cPermission denied: 3rd party plugin [{0}]." translation-author: "&c&l翻譯者: &b&l不專業の管管(play.mcnot.pro),_U_F_O_(如翻譯錯誤歡迎更正)" translation-contributors: "&c&l小幫手: &b&lmeow_meow_ying, 兔兔喵, _U_F_O_(如翻譯錯誤歡迎更正)" @@ -127,27 +127,27 @@ no-permission-build: "&c你不能在這裡開店." success-change-owner-to-server: "&a成功將伺服器設置為店主." flush-finished: "&a成功刷新了消息." menu: - successful-purchase: "&a你成功買惹:" - successfully-sold: "&a你成功賣惹:" - item-name-and-price: "&e你花了&e {2} &a買/賣惹 {0} 個 {1}" - sell-tax: "&a你被政府剝削了 &e{0} &a的喵喵幣" - sell-tax-self: "&a因為你是箱箱店主所以你不用被政府壓榨喵喵幣" - enchants: "&5附魔" - stored-enchants: "&5包含了附魔" - shop-information: "&a箱箱店資訊:" - owner: "&a箱箱主人: {0}" - item: "&a商品: &e{0}" - preview: "&b[指我看商品]" - space: "&a空間: &e{0}" - stock: "&a數量: &e{0}" - price-per: "&a售價 &e{0} &a- &e{1}" - total-value-of-chest: "&a這個箱箱覺得一個&e{0}&a價值&e{1}" - damage-percent-remaining: "&e{0}% &a剩餘." - this-shop-is-buying: "&a這個喵喵店是 &d收購東東&a 的店店" - this-shop-is-selling: "&a這個喵喵店是 &b賣出東東&a 的店店" - effects: "&a藥水效果: &e{0}" - commands: - preview: "/qs silentpreview {0} {1} {2} {3}" + successful-purchase: "&a你成功買惹:" + successfully-sold: "&a你成功賣惹:" + item-name-and-price: "&e你花了&e {2} &a買/賣惹 {0} 個 {1}" + sell-tax: "&a你被政府剝削了 &e{0} &a的喵喵幣" + sell-tax-self: "&a因為你是箱箱店主所以你不用被政府壓榨喵喵幣" + enchants: "&5附魔" + stored-enchants: "&5包含了附魔" + shop-information: "&a箱箱店資訊:" + owner: "&a箱箱主人: {0}" + item: "&a商品: &e{0}" + preview: "&b[指我看商品]" + space: "&a空間: &e{0}" + stock: "&a數量: &e{0}" + price-per: "&a售價 &e{0} &a- &e{1}" + total-value-of-chest: "&a這個箱箱覺得一個&e{0}&a價值&e{1}" + damage-percent-remaining: "&e{0}% &a剩餘." + this-shop-is-buying: "&a這個喵喵店是 &d收購東東&a 的店店" + this-shop-is-selling: "&a這個喵喵店是 &b賣出東東&a 的店店" + effects: "&a藥水效果: &e{0}" + commands: + preview: "/qs silentpreview {0} {1} {2} {3}" bypassing-lock: "&c亂開別人箱箱!" that-is-locked: "&c這箱箱店鎖起來惹(可能是你按錯鍵?" how-many-buy: "&a輸入你要 &b買&a 的數量" @@ -156,48 +156,48 @@ not-allowed-to-create: "&c箱箱店在這裡無法存活 請另尋他鄉" blacklisted-item: "&c這個東東已被黑名單 你不能賣/買他惹" how-much-to-trade-for: "&a你想每個 &e{0}&a 買/賣多少錢呀owo?" signs: - header: "&c{0}" - selling: "銷售價錢 {0}" - buying: "買進價錢 {0}" - item: "{0}" - price: "每個 {0}" - unlimited: 無限 + header: "&c{0}" + selling: "銷售價錢 {0}" + buying: "買進價錢 {0}" + item: "{0}" + price: "每個 {0}" + unlimited: 無限 controlpanel: - infomation: "&a商店控制面板:" - setowner: "&a管理者: &b{0} &e[&d&l改變&e]" - setowner-hover: "&e點擊變更店主." - unlimited: "&a無限制: {0} &e[&d&l開關&e]" - unlimited-hover: "&e點擊切換商店無限制模式." - mode-selling: "&a商店模式 &b銷售 &e[&d&l開關&e]" - mode-selling-hover: "&e點擊將船變成銷售模式." - mode-buying: "&a商店模式: &b買入 &e[&d&l開關&e]" - mode-buying-hover: "&e點擊將船變成購買模式." - price: "&a價錢: &b{0} &e[&d&l設定&e]" - price-hover: "&e點擊變更商品價錢." - refill: "&a填裝: 重新填裝商品 &e[&d&lOK&e]" - refill-hover: "&e點擊重新填充商品" - empty: "&a全部刪除: 刪除您商店所有商品 &e[&d&lOK&e]" - empty-hover: "&e點擊清除商店內庫存." - remove: "&c&l[刪除商店]" - remove-hover: "&e典籍刪除商店." - commands: - setowner: "/qs setowner [玩家名稱] (更改店主)" - unlimited: "/qs slientunlimited {0} {1} {2} {3} (未知指令)" - buy: "/qs silentbuy {0} {1} {2} {3} (未知指令)" - sell: "/qs silentsell {0} {1} {2} {3} (未知指令)" - price: "/qs price [新的價錢] (更改您物品的售價)" - refill: "/qs refill [增加商品的數量] (在您商店內增加您賣的東西)" - empty: "/qs silentempty {0} {1} {2} {3} (未知指令)" - remove: "/qs silentremove {0} {1} {2} {3} (未知指令)" + infomation: "&a商店控制面板:" + setowner: "&a管理者: &b{0} &e[&d&l改變&e]" + setowner-hover: "&e點擊變更店主." + unlimited: "&a無限制: {0} &e[&d&l開關&e]" + unlimited-hover: "&e點擊切換商店無限制模式." + mode-selling: "&a商店模式 &b銷售 &e[&d&l開關&e]" + mode-selling-hover: "&e點擊將船變成銷售模式." + mode-buying: "&a商店模式: &b買入 &e[&d&l開關&e]" + mode-buying-hover: "&e點擊將船變成購買模式." + price: "&a價錢: &b{0} &e[&d&l設定&e]" + price-hover: "&e點擊變更商品價錢." + refill: "&a填裝: 重新填裝商品 &e[&d&lOK&e]" + refill-hover: "&e點擊重新填充商品" + empty: "&a全部刪除: 刪除您商店所有商品 &e[&d&lOK&e]" + empty-hover: "&e點擊清除商店內庫存." + remove: "&c&l[刪除商店]" + remove-hover: "&e典籍刪除商店." + commands: + setowner: "/qs setowner [玩家名稱] (更改店主)" + unlimited: "/qs slientunlimited {0} {1} {2} {3} (未知指令)" + buy: "/qs silentbuy {0} {1} {2} {3} (未知指令)" + sell: "/qs silentsell {0} {1} {2} {3} (未知指令)" + price: "/qs price [新的價錢] (更改您物品的售價)" + refill: "/qs refill [增加商品的數量] (在您商店內增加您賣的東西)" + empty: "/qs silentempty {0} {1} {2} {3} (未知指令)" + remove: "/qs silentremove {0} {1} {2} {3} (未知指令)" tableformat: - full_line: +---------------------------------------------------+ - left_half_line: +-------------------- - right_half_line: "--------------------+" - left_begin: "| " + full_line: +---------------------------------------------------+ + left_half_line: +-------------------- + right_half_line: "--------------------+" + left_begin: "| " booleanformat: - success: "&a✔" - failed: "&c✘" + success: "&a✔" + failed: "&c✘" tabcomplete: - price: "[價錢]" - range: "[範圍]" - amount: "[數量]" \ No newline at end of file + price: "[價錢]" + range: "[範圍]" + amount: "[數量]" \ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 1f6008e69..3718bf2b7 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -11,84 +11,84 @@ softdepend: [Vault, Reserve, LangUtils, NoCheatPlus, LuckPerms, PermissionEx, Gr api-version: 1.13 commands: - qs: - description: QuickShop command - usage: /qs - aliases: [shop,qsshop,qshop,quickshop,chestshop,cshop] + qs: + description: QuickShop command + usage: /qs + aliases: [shop,qsshop,qshop,quickshop,chestshop,cshop] permissions: - quickshop.create.sell: - description: Allows a player to sell from a shop - default: op - quickshop.create.buy: - description: Allows a player to buy from a shop - default: op - quickshop.create.double: - description: Allows a player to create a double shop - default: op - quickshop.create.changeprice: - description: Allow a player to chyange their shop's price - default: op - quickshop.create.cmd: - description: Allow a player to use /qs create to create a shop - default: op - quickshop.create.admin: - description: Allow a player use /qs supercreate to create a shop bypass all protection checks - default: op - quickshop.use: - description: Allows a player to buy/sell using other players shops - default: true - quickshop.unlimited: - description: Allows a Staff Member to use /qs unlimited and make a shop infinite - default: op - quickshop.bypass.: - description: Allows a player to sell , even if its blacklisted - default: op - quickshop.other.destroy: - description: Allows a Staff Member to destroy other players shops if they are locked in the config - default: op - quickshop.other.open: - description: Allows a Staff Member to open someone elses shop if they are locked in the config - default: op - quickshop.other.price: - description: Allows a Staff Member to change the price of someone elses shop - default: op - quickshop.setowner: - description: Allows a Staff Member to change the owner of any shop - default: op - quickshop.staff: - description: Allow a shop owner to add staff to the shop - default: op - quickshop.find: - description: Allows a player to locate the nearest shop that has a specific item type. Works in a 3 chunk radius. - default: true - quickshop.refill: - description: Allows a Staff Member to refill the shop theyre looking at with the given number of items. - default: op - quickshop.empty: - description: Allows a Staff Member to empty the shop theyre looking at of all items. - default: op - quickshop.debug: - description: Switch to or from developer mode - default: op - quickshop.export: - description: Allows exporting the database to mysql or sqlite - default: op - quickshop.alerts: - description: Alert the player when someone tries to cheat with the display item - default: op - quickshop.about: - description: Show QuickShop about message - default: true - quickshop.info: - description: Show QuickShop Statistics. - default: op - quickshop.fetchmessage: - description: Use command /qs fetchmessage to manual fetch shop message from database. Will not effect auto fetch if you have it on... - default: true - quickshop.paste: - description: Command to upload server information to Pastebin. !WARNING, This will upload your data and it may leak your server configuration and other sensitive information. - default: op - quickshop.preview: - description: Permission for preview item to use a GUI - default: true + quickshop.create.sell: + description: Allows a player to sell from a shop + default: op + quickshop.create.buy: + description: Allows a player to buy from a shop + default: op + quickshop.create.double: + description: Allows a player to create a double shop + default: op + quickshop.create.changeprice: + description: Allow a player to chyange their shop's price + default: op + quickshop.create.cmd: + description: Allow a player to use /qs create to create a shop + default: op + quickshop.create.admin: + description: Allow a player use /qs supercreate to create a shop bypass all protection checks + default: op + quickshop.use: + description: Allows a player to buy/sell using other players shops + default: true + quickshop.unlimited: + description: Allows a Staff Member to use /qs unlimited and make a shop infinite + default: op + quickshop.bypass.: + description: Allows a player to sell , even if its blacklisted + default: op + quickshop.other.destroy: + description: Allows a Staff Member to destroy other players shops if they are locked in the config + default: op + quickshop.other.open: + description: Allows a Staff Member to open someone elses shop if they are locked in the config + default: op + quickshop.other.price: + description: Allows a Staff Member to change the price of someone elses shop + default: op + quickshop.setowner: + description: Allows a Staff Member to change the owner of any shop + default: op + quickshop.staff: + description: Allow a shop owner to add staff to the shop + default: op + quickshop.find: + description: Allows a player to locate the nearest shop that has a specific item type. Works in a 3 chunk radius. + default: true + quickshop.refill: + description: Allows a Staff Member to refill the shop theyre looking at with the given number of items. + default: op + quickshop.empty: + description: Allows a Staff Member to empty the shop theyre looking at of all items. + default: op + quickshop.debug: + description: Switch to or from developer mode + default: op + quickshop.export: + description: Allows exporting the database to mysql or sqlite + default: op + quickshop.alerts: + description: Alert the player when someone tries to cheat with the display item + default: op + quickshop.about: + description: Show QuickShop about message + default: true + quickshop.info: + description: Show QuickShop Statistics. + default: op + quickshop.fetchmessage: + description: Use command /qs fetchmessage to manual fetch shop message from database. Will not effect auto fetch if you have it on... + default: true + quickshop.paste: + description: Command to upload server information to Pastebin. !WARNING, This will upload your data and it may leak your server configuration and other sensitive information. + default: op + quickshop.preview: + description: Permission for preview item to use a GUI + default: true diff --git a/src/main/resources/potioni18n.yml b/src/main/resources/potioni18n.yml index 679fcce3c..bd12e5da6 100644 --- a/src/main/resources/potioni18n.yml +++ b/src/main/resources/potioni18n.yml @@ -1,31 +1,31 @@ potioni18n: - SPEED: SPEED - SLOW: SLOW - FAST_DIGGING: FAST_DIGGING - SLOW_DIGGING: SLOW_DIGGING - INCREASE_DAMAGE: INCREASE_DAMAGE - HEAL: HEAL - HARM: HARM - JUMP: JUMP - CONFUSION: CONFUSION - REGENERATION: REGENERATION - DAMAGE_RESISTANCE: DAMAGE_RESISTANCE - FIRE_RESISTANCE: FIRE_RESISTANCE - WATER_BREATHING: WATER_BREATHING - INVISIBILITY: INVISIBILITY - BLINDNESS: BLINDNESS - NIGHT_VISION: NIGHT_VISION - HUNGER: HUNGER - WEAKNESS: WEAKNESS - POISON: POISON - WITHER: WITHER - HEALTH_BOOST: HEALTH_BOOST - ABSORPTION: ABSORPTION - SATURATION: SATURATION - GLOWING: GLOWING - LEVITATION: LEVITATION - LUCK: LUCK - UNLUCK: UNLUCK - SLOW_FALLING: SLOW_FALLING - CONDUIT_POWER: CONDUIT_POWER - DOLPHINS_GRACE: DOLPHINS_GRACE + SPEED: SPEED + SLOW: SLOW + FAST_DIGGING: FAST_DIGGING + SLOW_DIGGING: SLOW_DIGGING + INCREASE_DAMAGE: INCREASE_DAMAGE + HEAL: HEAL + HARM: HARM + JUMP: JUMP + CONFUSION: CONFUSION + REGENERATION: REGENERATION + DAMAGE_RESISTANCE: DAMAGE_RESISTANCE + FIRE_RESISTANCE: FIRE_RESISTANCE + WATER_BREATHING: WATER_BREATHING + INVISIBILITY: INVISIBILITY + BLINDNESS: BLINDNESS + NIGHT_VISION: NIGHT_VISION + HUNGER: HUNGER + WEAKNESS: WEAKNESS + POISON: POISON + WITHER: WITHER + HEALTH_BOOST: HEALTH_BOOST + ABSORPTION: ABSORPTION + SATURATION: SATURATION + GLOWING: GLOWING + LEVITATION: LEVITATION + LUCK: LUCK + UNLUCK: UNLUCK + SLOW_FALLING: SLOW_FALLING + CONDUIT_POWER: CONDUIT_POWER + DOLPHINS_GRACE: DOLPHINS_GRACE