diff --git a/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java b/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java index 20ec1f26..b3dd4d9f 100644 --- a/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java +++ b/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java @@ -192,7 +192,7 @@ public class GuiManager { int i = 0; for (ActionType actionType : ActionType.values()) { - if (i > 54) { + if (i > tempInv.getMaxStackSize()) { break; } @@ -275,7 +275,8 @@ public class GuiManager { items.add(one); } - int GuiSize = GUIManager.isOpenedGui(player) && GUIManager.getGui(player) != null ? GUIManager.getGui(player).getInvSize().getFields() : Jobs.getGCManager().getJobsGUIRows() * 9; + int GuiSize = GUIManager.isOpenedGui(player) && GUIManager.getGui(player) != null ? + GUIManager.getGui(player).getInvSize().getFields() : Jobs.getGCManager().getJobsGUIRows() * 9; int backButton = Jobs.getGCManager().getJobsGUIBackButton(); CMIGui gui = new CMIGui(player); diff --git a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java index aec52249..99ce10c3 100644 --- a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java @@ -28,16 +28,15 @@ import com.gamingmesh.jobs.Jobs; import com.gamingmesh.jobs.container.*; import com.gamingmesh.jobs.resources.jfep.Parser; import com.gamingmesh.jobs.stuff.ChatColor; +import com.gamingmesh.jobs.stuff.Util; + import org.apache.commons.lang.StringEscapeUtils; -import org.bukkit.Bukkit; -import org.bukkit.OfflinePlayer; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.enchantments.Enchantment; import org.bukkit.entity.EntityType; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.EnchantmentStorageMeta; -import org.bukkit.inventory.meta.SkullMeta; import java.io.*; import java.nio.charset.StandardCharsets; @@ -45,7 +44,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; -import java.util.UUID; public class ConfigManager { @@ -323,7 +321,6 @@ public class ConfigManager { public void setId(int id) { this.id = id; } - } @SuppressWarnings("deprecation") @@ -365,6 +362,7 @@ public class ConfigManager { case BREW: case BREAK: case STRIPLOGS: + case COLLECT: material = CMIMaterial.get(myKey + (subType)); if (material == null) @@ -537,7 +535,6 @@ public class ConfigManager { kv.setMeta(meta); kv.setSubType(subType); kv.setType(type); - return kv; } @@ -555,29 +552,29 @@ public class ConfigManager { } InputStreamReader s = new InputStreamReader(new FileInputStream(f), StandardCharsets.UTF_8); - - Jobs.setNoneJob(null); + java.util.logging.Logger log = Jobs.getPluginLogger(); if (!f.exists()) { try { f.createNewFile(); } catch (IOException e) { - Jobs.getPluginLogger().severe("Unable to create jobConfig.yml! No jobs were loaded!"); + log.severe("Unable to create jobConfig.yml! No jobs were loaded!"); s.close(); return; } } + YamlConfiguration conf = new YamlConfiguration(); conf.options().pathSeparator('/'); try { conf.load(s); } catch (Exception e) { - Jobs.getPluginLogger().severe("==================== Jobs ===================="); - Jobs.getPluginLogger().severe("Unable to load jobConfig.yml!"); - Jobs.getPluginLogger().severe("Check your config for formatting issues!"); - Jobs.getPluginLogger().severe("No jobs were loaded!"); - Jobs.getPluginLogger().severe("Error: " + e.getMessage()); - Jobs.getPluginLogger().severe("=============================================="); + log.severe("==================== Jobs ===================="); + log.severe("Unable to load jobConfig.yml!"); + log.severe("Check your config for formatting issues!"); + log.severe("No jobs were loaded!"); + log.severe("Error: " + e.getMessage()); + log.severe("=============================================="); return; } finally { s.close(); @@ -585,10 +582,10 @@ public class ConfigManager { ConfigurationSection jobsSection = conf.getConfigurationSection("Jobs"); if (jobsSection == null) { - Jobs.getPluginLogger().severe("==================== Jobs ===================="); - Jobs.getPluginLogger().severe("Jobs section not found in jobConfig file!"); - Jobs.getPluginLogger().severe("Check the config for fix the issue."); - Jobs.getPluginLogger().severe("=============================================="); + log.severe("==================== Jobs ===================="); + log.severe("Jobs section not found in jobConfig file!"); + log.severe("Check the config for fix the issue."); + log.severe("=============================================="); return; } @@ -607,9 +604,8 @@ public class ConfigManager { // Translating unicode jobFullName = StringEscapeUtils.unescapeJava(jobFullName); - if (jobFullName == null) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid fullname property. Skipping job!"); + log.warning("Job " + jobKey + " has an invalid fullname property. Skipping job!"); continue; } @@ -632,7 +628,7 @@ public class ConfigManager { String jobShortName = jobSection.getString("shortname", null); if (jobShortName == null) { - Jobs.getPluginLogger().warning("Job " + jobKey + " is missing the shortname property. Skipping job!"); + log.warning("Job " + jobKey + " is missing the shortname property. Skipping job!"); continue; } @@ -654,22 +650,22 @@ public class ConfigManager { color = ChatColor.matchColor(jobSection.getString("ChatColour", "")); if (color == null) { color = ChatColor.WHITE; - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid ChatColour property. Defaulting to WHITE!"); + log.warning("Job " + jobKey + " has an invalid ChatColour property. Defaulting to WHITE!"); } } - String bossbar = null; + String bossbar = ""; if (jobSection.contains("BossBarColour")) { bossbar = jobSection.getString("BossBarColour", ""); - if (bossbar == null) { + if (bossbar.isEmpty()) { color = ChatColor.WHITE; - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid BossBarColour property."); + log.warning("Job " + jobKey + " has an invalid BossBarColour property."); } } DisplayMethod displayMethod = DisplayMethod.matchMethod(jobSection.getString("chat-display", "")); if (displayMethod == null) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid chat-display property. Defaulting to None!"); + log.warning("Job " + jobKey + " has an invalid chat-display property. Defaulting to None!"); displayMethod = DisplayMethod.NONE; } @@ -682,7 +678,7 @@ public class ConfigManager { maxExpEquation.setVariable("joblevel", 1); maxExpEquation.getValue(); } catch (Throwable e) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid leveling-progression-equation property. Skipping job!"); + log.warning("Job " + jobKey + " has an invalid leveling-progression-equation property. Skipping job!"); continue; } @@ -697,7 +693,7 @@ public class ConfigManager { incomeEquation.setVariable("baseincome", 1); incomeEquation.getValue(); } catch (Throwable e) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid income-progression-equation property. Skipping job!"); + log.warning("Job " + jobKey + " has an invalid income-progression-equation property. Skipping job!"); continue; } } @@ -712,7 +708,7 @@ public class ConfigManager { expEquation.setVariable("baseexperience", 1); expEquation.getValue(); } catch (Throwable e) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid experience-progression-equation property. Skipping job!"); + log.warning("Job " + jobKey + " has an invalid experience-progression-equation property. Skipping job!"); continue; } @@ -727,7 +723,7 @@ public class ConfigManager { pointsEquation.setVariable("basepoints", 1); pointsEquation.getValue(); } catch (Throwable e) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid points-progression-equation property. Skipping job!"); + log.warning("Job " + jobKey + " has an invalid points-progression-equation property. Skipping job!"); continue; } } @@ -761,8 +757,8 @@ public class ConfigManager { if (matId != null) { material = CMIMaterial.get(matId); if (material != null) { - Jobs.getPluginLogger().warning("Job " + jobFullName + " is using GUI item ID: " + item + "!"); - Jobs.getPluginLogger().warning("Please use the Material name instead: " + material.toString() + "!"); + log.warning("Job " + jobFullName + " is using GUI item ID: " + item + "!"); + log.warning("Please use the Material name instead: " + material.toString() + "!"); } } } @@ -781,15 +777,7 @@ public class ConfigManager { GUIitem.addUnsafeEnchantment(CMIEnchantment.getEnchantment(enchantid[0]), Integer.parseInt(enchantid[1])); } } else if (guiSection.contains("CustomSkull")) { - String skullOwner = guiSection.getString("CustomSkull"); - GUIitem = CMIMaterial.PLAYER_HEAD.newItemStack(); - SkullMeta skullMeta = (SkullMeta) GUIitem.getItemMeta(); - if (skullOwner.length() == 36) { - OfflinePlayer offPlayer = Bukkit.getOfflinePlayer(UUID.fromString(skullOwner)); - skullMeta.setOwner(offPlayer.getName()); - } else - skullMeta.setOwner(skullOwner); - GUIitem.setItemMeta(skullMeta); + GUIitem = Util.getSkull(guiSection.getString("CustomSkull")); } } else if (guiSection.isInt("Id") && guiSection.isInt("Data")) { GUIitem = CMIMaterial.get(guiSection.getInt("Id"), guiSection.getInt("Data")).newItemStack(); @@ -804,18 +792,10 @@ public class ConfigManager { GUIitem.addUnsafeEnchantment(CMIEnchantment.getEnchantment(id[0]), Integer.parseInt(id[1])); } } else if (guiSection.contains("CustomSkull")) { - String skullOwner = guiSection.getString("CustomSkull"); - GUIitem = CMIMaterial.PLAYER_HEAD.newItemStack(); - SkullMeta skullMeta = (SkullMeta) GUIitem.getItemMeta(); - if (skullOwner.length() == 36) { - OfflinePlayer offPlayer = Bukkit.getOfflinePlayer(UUID.fromString(skullOwner)); - skullMeta.setOwner(offPlayer.getName()); - } else - skullMeta.setOwner(skullOwner); - GUIitem.setItemMeta(skullMeta); + GUIitem = Util.getSkull(guiSection.getString("CustomSkull")); } } else - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid Gui property. Please fix this if you want to use it!"); + log.warning("Job " + jobKey + " has an invalid Gui property. Please fix this if you want to use it!"); } // Permissions @@ -825,7 +805,7 @@ public class ConfigManager { for (String permissionKey : permissionsSection.getKeys(false)) { ConfigurationSection permissionSection = permissionsSection.getConfigurationSection(permissionKey); if (permissionSection == null) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid permission key " + permissionKey + "!"); + log.warning("Job " + jobKey + " has an invalid permission key " + permissionKey + "!"); continue; } @@ -842,20 +822,19 @@ public class ConfigManager { if (conditionsSection != null) { for (String ConditionKey : conditionsSection.getKeys(false)) { ConfigurationSection permissionSection = conditionsSection.getConfigurationSection(ConditionKey); - - String node = ConditionKey.toLowerCase(); if (permissionSection == null) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid condition key " + ConditionKey + "!"); + log.warning("Job " + jobKey + " has an invalid condition key " + ConditionKey + "!"); continue; } + if (!permissionSection.contains("requires") || !permissionSection.contains("perform")) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid condition requirement " + ConditionKey + "!"); + log.warning("Job " + jobKey + " has an invalid condition requirement " + ConditionKey + "!"); continue; } + List requires = permissionSection.getStringList("requires"); List perform = permissionSection.getStringList("perform"); - - jobConditions.add(new JobConditions(node, requires, perform)); + jobConditions.add(new JobConditions(ConditionKey.toLowerCase(), requires, perform)); } } @@ -876,19 +855,20 @@ public class ConfigManager { for (String commandKey : commandsSection.getKeys(false)) { ConfigurationSection commandSection = commandsSection.getConfigurationSection(commandKey); - String node = commandKey.toLowerCase(); if (commandSection == null) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid command key" + commandKey + "!"); + log.warning("Job " + jobKey + " has an invalid command key" + commandKey + "!"); continue; } + List commands = new ArrayList<>(); if (commandSection.isString("command")) commands.add(commandSection.getString("command")); else if (commandSection.isList("command")) commands.addAll(commandSection.getStringList("command")); + int levelFrom = commandSection.getInt("levelFrom"); int levelUntil = commandSection.getInt("levelUntil"); - jobCommand.add(new JobCommands(node, commands, levelFrom, levelUntil)); + jobCommand.add(new JobCommands(commandKey.toLowerCase(), commands, levelFrom, levelUntil)); } } @@ -901,7 +881,7 @@ public class ConfigManager { String node = itemKey.toLowerCase(); if (itemSection == null) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid item key " + itemKey + "!"); + log.warning("Job " + jobKey + " has an invalid item key " + itemKey + "!"); continue; } int id = itemSection.getInt("id"); @@ -955,12 +935,11 @@ public class ConfigManager { if (LimitedItemsSection != null) { for (String itemKey : LimitedItemsSection.getKeys(false)) { ConfigurationSection itemSection = LimitedItemsSection.getConfigurationSection(itemKey); - - String node = itemKey.toLowerCase(); if (itemSection == null) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid item key " + itemKey + "!"); + log.warning("Job " + jobKey + " has an invalid item key " + itemKey + "!"); continue; } + int id = itemSection.getInt("id"); String name = null; @@ -974,9 +953,8 @@ public class ConfigManager { } HashMap enchants = new HashMap<>(); - if (itemSection.contains("enchants") && !itemSection.getStringList("enchants").isEmpty()) + if (itemSection.contains("enchants")) for (String eachLine : itemSection.getStringList("enchants")) { - if (!eachLine.contains("=")) continue; @@ -993,8 +971,8 @@ public class ConfigManager { } int level = itemSection.getInt("level"); - - jobLimitedItems.put(node.toLowerCase(), new JobLimitedItems(node, id, 0, 1, name, lore, enchants, level)); + String node = itemKey.toLowerCase(); + jobLimitedItems.put(node, new JobLimitedItems(node, id, 0, 1, name, lore, enchants, level)); } } @@ -1020,11 +998,9 @@ public class ConfigManager { String name = sqsection.getString("Name", one); Quest quest = new Quest(name, job); - KeyValues kv = null; if (sqsection.isString("Target")) { ActionType actionType = ActionType.getByName(sqsection.getString("Action")); - kv = getKeyValue(sqsection.getString("Target"), actionType, jobFullName); - + KeyValues kv = getKeyValue(sqsection.getString("Target"), actionType, jobFullName); if (kv != null) { int amount = sqsection.getInt("Amount", 1); QuestObjective objective = new QuestObjective(actionType, kv.getId(), kv.getMeta(), kv.getType() + kv.getSubType(), amount); @@ -1037,23 +1013,45 @@ public class ConfigManager { for (String oneObjective : list) { String[] split = oneObjective.split(";"); if (split.length < 2) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has incorrect quest objective (" + oneObjective + ")!"); + log.warning("Job " + jobKey + " has incorrect quest objective (" + oneObjective + ")!"); continue; } + try { ActionType actionType = ActionType.getByName(split[0]); - kv = getKeyValue(split[1], actionType, jobFullName); - if (kv != null) { + String mats = split[1]; + String[] co = mats.split(","); + if (co.length > 0) { + for (String c : co) { + KeyValues kv = getKeyValue(c, actionType, jobFullName); + if (kv == null) { + continue; + } + int amount = 1; if (split.length == 3) { amount = Integer.parseInt(split[2]); } - QuestObjective objective = new QuestObjective(actionType, kv.getId(), kv.getMeta(), kv.getType() + kv.getSubType(), amount); + QuestObjective objective = new QuestObjective(actionType, kv.getId(), kv.getMeta(), + kv.getType() + kv.getSubType(), amount); quest.addObjective(objective); } + } else { + KeyValues kv = getKeyValue(mats, actionType, jobFullName); + if (kv != null) { + int amount = 1; + if (split.length == 3) { + amount = Integer.parseInt(split[2]); + } + + QuestObjective objective = new QuestObjective(actionType, kv.getId(), kv.getMeta(), + kv.getType() + kv.getSubType(), amount); + quest.addObjective(objective); + } + } } catch (Exception | Error e) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has incorrect quest objective (" + oneObjective + ")!"); + log.warning("Job " + jobKey + " has incorrect quest objective (" + oneObjective + ")!"); } } } @@ -1076,7 +1074,6 @@ public class ConfigManager { quest.setDescription(desc); quest.setRestrictedArea(areas); quests.add(quest); - } catch (Throwable e) { Jobs.consoleMsg("&c[Jobs] Can't load " + one + " quest for " + jobFullName); e.printStackTrace(); @@ -1142,6 +1139,7 @@ public class ConfigManager { case BREW: case BREAK: case STRIPLOGS: + case COLLECT: material = CMIMaterial.get(myKey + (subType)); if (material == CMIMaterial.NONE) @@ -1157,8 +1155,8 @@ public class ConfigManager { if (matId != null) { material = CMIMaterial.get(matId); if (material != null) { - Jobs.getPluginLogger().warning("Job " + jobKey + " " + actionType.getName() + " is using ID: " + key + "!"); - Jobs.getPluginLogger().warning("Please use the Material name instead: " + material.toString() + "!"); + log.warning("Job " + jobKey + " " + actionType.getName() + " is using ID: " + key + "!"); + log.warning("Please use the Material name instead: " + material.toString() + "!"); } } } @@ -1194,7 +1192,7 @@ public class ConfigManager { // Break and Place actions MUST be blocks if (actionType == ActionType.BREAK || actionType == ActionType.PLACE || actionType == ActionType.STRIPLOGS) { if (!material.isBlock()) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid " + actionType.getName() + " type property: " + material + log.warning("Job " + jobKey + " has an invalid " + actionType.getName() + " type property: " + material + " (" + key + ")! Material must be a block! Use \"/jobs blockinfo\" on a target block"); continue; } @@ -1211,14 +1209,14 @@ public class ConfigManager { * configurations broken. */ if (material == CMIMaterial.REDSTONE_ORE && actionType == ActionType.BREAK && Version.isCurrentLower(Version.v1_13_R1)) { - Jobs.getPluginLogger().warning("Job " + jobKey + " is using REDSTONE_ORE instead of GLOWING_REDSTONE_ORE."); - Jobs.getPluginLogger().warning("Automatically changing block to GLOWING_REDSTONE_ORE. Please update your configuration."); - Jobs.getPluginLogger().warning("In vanilla minecraft, REDSTONE_ORE changes to GLOWING_REDSTONE_ORE when interacted with."); - Jobs.getPluginLogger().warning("In the future, Jobs using REDSTONE_ORE instead of GLOWING_REDSTONE_ORE may fail to work correctly."); + log.warning("Job " + jobKey + " is using REDSTONE_ORE instead of GLOWING_REDSTONE_ORE."); + log.warning("Automatically changing block to GLOWING_REDSTONE_ORE. Please update your configuration."); + log.warning("In vanilla minecraft, REDSTONE_ORE changes to GLOWING_REDSTONE_ORE when interacted with."); + log.warning("In the future, Jobs using REDSTONE_ORE instead of GLOWING_REDSTONE_ORE may fail to work correctly."); material = CMIMaterial.LEGACY_GLOWING_REDSTONE_ORE; } else if (material == CMIMaterial.LEGACY_GLOWING_REDSTONE_ORE && actionType == ActionType.BREAK && Version.isCurrentEqualOrHigher(Version.v1_13_R1)) { - Jobs.getPluginLogger().warning("Job " + job.getName() + " is using GLOWING_REDSTONE_ORE instead of REDSTONE_ORE."); - Jobs.getPluginLogger().warning("Automatically changing block to REDSTONE_ORE. Please update your configuration."); + log.warning("Job " + job.getName() + " is using GLOWING_REDSTONE_ORE instead of REDSTONE_ORE."); + log.warning("Automatically changing block to REDSTONE_ORE. Please update your configuration."); material = CMIMaterial.REDSTONE_ORE; } // END HACK @@ -1285,9 +1283,10 @@ public class ConfigManager { } else if (actionType == ActionType.ENCHANT) { CMIEnchantment enchant = CMIEnchantment.get(myKey); if (enchant == null && material == CMIMaterial.NONE) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid " + actionType.getName() + " type property: " + key + "!"); + log.warning("Job " + jobKey + " has an invalid " + actionType.getName() + " type property: " + key + "!"); continue; } + type = enchant == null ? myKey : enchant.toString(); } else if (actionType == ActionType.CUSTOMKILL || actionType == ActionType.COLLECT || actionType == ActionType.MMKILL || actionType == ActionType.SHEAR || actionType == ActionType.BAKE) @@ -1298,16 +1297,17 @@ public class ConfigManager { try { amount = Integer.valueOf(myKey); } catch (NumberFormatException e) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid " + actionType.getName() + " type property: " + key + "!"); + log.warning("Job " + jobKey + " has an invalid " + actionType.getName() + " type property: " + key + "!"); continue; } + Jobs.getExplore().setExploreEnabled(); Jobs.getExplore().setPlayerAmount(amount); } else if (actionType == ActionType.CRAFT && myKey.startsWith("!")) type = myKey.substring(1, myKey.length()); if (type == null) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid " + actionType.getName() + " type property: " + key + "!"); + log.warning("Job " + jobKey + " has an invalid " + actionType.getName() + " type property: " + key + "!"); continue; } @@ -1330,7 +1330,7 @@ public class ConfigManager { if (section.isInt("until-level")) { untilLevel = section.getInt("until-level"); if (untilLevel < fromlevel) { - Jobs.getPluginLogger().warning("Job " + jobKey + " has an invalid until-level in " + actionType.getName() + " for type property: " + key + log.warning("Job " + jobKey + " has an invalid until-level in " + actionType.getName() + " for type property: " + key + "! It will be not set."); untilLevel = -1; } diff --git a/src/main/java/com/gamingmesh/jobs/dao/JobsDAO.java b/src/main/java/com/gamingmesh/jobs/dao/JobsDAO.java index b680688f..0a15a868 100644 --- a/src/main/java/com/gamingmesh/jobs/dao/JobsDAO.java +++ b/src/main/java/com/gamingmesh/jobs/dao/JobsDAO.java @@ -1665,11 +1665,10 @@ public abstract class JobsDAO { */ public List getQuestTopList(int start) { JobsConnection conn = getConnection(); - List names = new ArrayList<>(); - if (conn == null) return names; + PreparedStatement prest = null; ResultSet res = null; try { @@ -1683,10 +1682,10 @@ public abstract class JobsDAO { PlayerInfo info = Jobs.getPlayerManager().getPlayerInfo(res.getInt("id")); if (info == null) continue; - if (info.getName() == null) - continue; + TopList top = new TopList(info, res.getInt(UserTableFields.donequests.getCollumn()), 0); names.add(top); + if (names.size() >= Jobs.getGCManager().JobsTopAmount) break; } @@ -2548,9 +2547,6 @@ public abstract class JobsDAO { if (info == null) continue; - if (info.getName() == null) - continue; - jobs.add(new TopList(info, res.getInt(JobsTableFields.level.getCollumn()), res.getInt(JobsTableFields.experience.getCollumn()))); } } catch (SQLException e) { diff --git a/src/main/java/com/gamingmesh/jobs/stuff/TimeManage.java b/src/main/java/com/gamingmesh/jobs/stuff/TimeManage.java index f88aed09..8b21f3e0 100644 --- a/src/main/java/com/gamingmesh/jobs/stuff/TimeManage.java +++ b/src/main/java/com/gamingmesh/jobs/stuff/TimeManage.java @@ -36,8 +36,6 @@ public class TimeManage { String time = ""; -// CMI.d(hours); - if (days > 0) time += Jobs.getLanguage().getMessage("general.info.time.days", "%days%", days); diff --git a/src/main/java/com/gamingmesh/jobs/stuff/Util.java b/src/main/java/com/gamingmesh/jobs/stuff/Util.java index 8b9b80a8..8295a766 100644 --- a/src/main/java/com/gamingmesh/jobs/stuff/Util.java +++ b/src/main/java/com/gamingmesh/jobs/stuff/Util.java @@ -17,6 +17,7 @@ import java.util.UUID; import org.bukkit.Bukkit; import org.bukkit.Color; import org.bukkit.Material; +import org.bukkit.OfflinePlayer; import org.bukkit.World; import org.bukkit.block.Block; import org.bukkit.block.BlockState; @@ -26,6 +27,7 @@ import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.BlockStateMeta; import org.bukkit.inventory.meta.ItemMeta; +import org.bukkit.inventory.meta.SkullMeta; import org.bukkit.util.BlockIterator; import com.gamingmesh.jobs.Jobs; @@ -67,6 +69,20 @@ public class Util { return is; } + @SuppressWarnings("deprecation") + public static ItemStack getSkull(String skullOwner) { + ItemStack item = CMIMaterial.PLAYER_HEAD.newItemStack(); + SkullMeta skullMeta = (SkullMeta) item.getItemMeta(); + if (skullOwner.length() == 36) { + OfflinePlayer offPlayer = Bukkit.getOfflinePlayer(UUID.fromString(skullOwner)); + skullMeta.setOwner(offPlayer.getName()); + } else + skullMeta.setOwner(skullOwner); + + item.setItemMeta(skullMeta); + return item; + } + public static World getWorld(String name) { World w = null; w = Bukkit.getWorld(name); diff --git a/src/main/resources/jobConfig.yml b/src/main/resources/jobConfig.yml index c13ae065..3ec3da5e 100644 --- a/src/main/resources/jobConfig.yml +++ b/src/main/resources/jobConfig.yml @@ -108,11 +108,14 @@ Jobs: # List of objectives this quest will require for it to count as finished # you can have as many objectives as you want Objectives: - # This should be in a format as [actionType];[actionTarget];[amount] + # This should be in a format as [actionType];[actionTarget, actionTarget];[amount] # [actionType] can be any valid job action. Look lower for all possible action types - # [actionTarget] can be material name, block type, entity name and so on. This is defined in same way as any generic payable job action + # [actionTarget] can be material name, block type, entity name and so on. + # - This is defined in same way as any generic payable job action. + # - You can use multiple names separated by commas "," to avoid creating many rows. # [amount] is how many times player should perform this action to complete quest - Break;17-0;300 + #- Place;stone,cobblestone;5 # Command list to be performed after quest is finished. # Use [playerName] to insert players name who finished that quest RewardCommands: diff --git a/src/main/resources/locale/.gitignore b/src/main/resources/locale/.gitignore deleted file mode 100644 index 08351d41..00000000 --- a/src/main/resources/locale/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/messages_de.yml diff --git a/src/main/resources/locale/messages_de.yml b/src/main/resources/locale/messages_de.yml index dad3d23e..e0c32d7d 100644 --- a/src/main/resources/locale/messages_de.yml +++ b/src/main/resources/locale/messages_de.yml @@ -24,7 +24,7 @@ general: error: noHelpPage: '&cEs gibt keine Hilfeseite mit dieser Nummer.' notNumber: '&eBitte benutze Nummern!' - job: '&cDer ausgewählte Job existiert nicht!' + job: '&cThe job you selected does not exist or you not joined to this' noCommand: '&cEs gibt keinen Befehl mit diesem Namen!' permission: '&cDu hast keine Berechtigung für diesen Befehl!' noinfo: '&cKeine Informationen vorhanden.' @@ -53,6 +53,9 @@ command: nextPage: '&6 Nächste Seite &2>>----' nextPageOff: '&7 Nächste Seite >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] entries' + prevPageGui: '&6Previous page ' + nextPageGui: '&6Next Page' moneyboost: help: info: Der Geldbonus für alle Spieler wird erhöht. @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7Von Level: %from% \n&7Bis Level: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &ePerm Bonus: %money% %points% %exp%' - item: ' &eItem Bonus: %money% %points% %exp%' - global: ' &eGlobaler Bonus: %money% %points% %exp%' - dynamic: ' &eDynamischer Bonus: %money% %points% %exp%' - nearspawner: ' &eSpawner Bonus: %money% %points% %exp%' - petpay: ' &ePetPay Bonus: %money% %points% %exp%' - area: ' &eGebietsbonus: %money% %points% %exp%' - mcmmo: ' &eMcMMO Bonus: %money% %points% %exp%' - final: ' &eGesamtbonus: %money% %points% %exp%' + permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + item: ' &eItem bonus: &2%money% &6%points% &e%exp%' + global: ' &eGlobal bonus: &2%money% &6%points% &e%exp%' + dynamic: ' &eDynamic bonus: &2%money% &6%points% &e%exp%' + nearspawner: ' &eSpawner bonus: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%' + area: ' &eArea bonus: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' + final: ' &eFinal bonus: &2%money% &6%points% &e%exp%' finalExplanation: ' &ePetpay und Spawner Bonus/Strafe nicht eingerechnet' convert: help: @@ -254,6 +258,9 @@ command: reqJobs: '&eBenötigte Jobs:' reqJobsList: ' &6%jobsname%&e: &e%level% lvl' reqTotalLevel: '&Benötigtes Gesamtlevel: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cDie Seite kann nicht geöffnet werden' NoPermForItem: '&cDir ist es nicht erlaubt, dieses Item zu nutzen!' NoPermToBuy: '&cDir ist es nicht erlaubt, dieses Item zu kaufen!' @@ -296,9 +303,11 @@ command: jobinfo: '&e[jobname] Info!' actions: '&eMögliche Optionen:' leftClick: '&eLinksklick für mehr Informationen' + middleClick: '&eMiddle Click to leave this job' rightClick: '&eRechtsklick um den Job anzunehmen' leftSlots: '&eOffene Stellen:&f ' working: '&2Ausgewählt' + cantJoin: '&cYou can''t join to the selected job.' max: '&eMaximales Level:&f ' back: '&e<<< Zurück' output: @@ -405,6 +414,7 @@ command: info: Überprüft, wer diesen Chunk besucht hat. error: noexplore: Niemand hat diesen chunk besucht. + fullExplore: '&aThis chunk is fully explored' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Es wurden &7[furnaces] &2Zäune und &7[brewing] &2Braustände entfernt.' + skipquest: + help: + info: Skip defined quest and get new one + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' quests: help: info: Verfügbare Quests auflisten @@ -449,6 +465,8 @@ command: output: completed: '&2 !Abgeschlossen!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Click to skip this quest' + skips: '&7Left skips: &f[skips]' hover: "&f[jobName] \n[desc] \n&7New quest in: [time]" fire: help: @@ -529,6 +547,7 @@ command: money: '&6money: %amount% ' exp: '&eErfahrung: &%amount% ' points: '&6Punkte: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Vorherige Seite &2|' next: '&2|&e Nächste Seite >>>>' @@ -543,6 +562,7 @@ command: money: '&6Geld: %amount% ' exp: '&eErfahrung: %amount% ' points: '&6Punkte: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cDaten nicht gefunden' transfer: diff --git a/src/main/resources/locale/messages_es.yml b/src/main/resources/locale/messages_es.yml index b5fb2b10..d990404a 100644 --- a/src/main/resources/locale/messages_es.yml +++ b/src/main/resources/locale/messages_es.yml @@ -24,7 +24,7 @@ general: error: noHelpPage: '&c¡No existe este número de página de ayuda!' notNumber: '&ePor favor, utiliza números.' - job: '&cNo eres trabajador de esta profesión.' + job: '&cThe job you selected does not exist or you not joined to this' noCommand: '&c¡No hay ningún conjuro con este nombre!' permission: '&cNo tienes permiso para hacer esto.' noinfo: '&cNo se ha encontrado información.' @@ -53,6 +53,9 @@ command: nextPage: '&6 Siguiente &2>>----' nextPageOff: '&7 Siguiente >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] entries' + prevPageGui: '&6Previous page ' + nextPageGui: '&6Next Page' moneyboost: help: info: Aumentar el salario de todos los jugadores @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7Desde el nivel: %from% \n&7Hasta el nivel: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &7Prima por permiso: %money% %points% %exp%' - item: ' &7Prima por objeto: %money% %points% %exp%' - global: ' &7Prima global: %money% %points% %exp%' - dynamic: ' &7Prima dinámica: %money% %points% %exp%' - nearspawner: ' &7Prima por Spawner: %money% %points% %exp%' - petpay: ' &7Prima de Mascota: %money% %points% %exp%' - area: ' &7Prima por Región: %money% %points% %exp%' - mcmmo: ' &7Prima de mcMMO: %money% %points% %exp%' - final: ' &fPrima TOTAL: %money% %points% %exp%' + permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + item: ' &eItem bonus: &2%money% &6%points% &e%exp%' + global: ' &eGlobal bonus: &2%money% &6%points% &e%exp%' + dynamic: ' &eDynamic bonus: &2%money% &6%points% &e%exp%' + nearspawner: ' &eSpawner bonus: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%' + area: ' &eArea bonus: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' + final: ' &eFinal bonus: &2%money% &6%points% &e%exp%' finalExplanation: ' &eNo se incluye la prima de Mascota o la penalización de proximidad de spawner.' convert: help: @@ -254,6 +258,9 @@ command: reqJobs: '&eProfesiones que necesitas:' reqJobsList: ' &6%jobsname%&e: &e%level% lvl' reqTotalLevel: '&6Nivel total que necesitas: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cNo se puede abrir esta página' NoPermForItem: '&c¡No tienes permiso para obtener este objeto!' NoPermToBuy: '&cNo tienes permiso para comprar este objeto.' @@ -296,9 +303,11 @@ command: jobinfo: '&e[jobname] información' actions: '&eAcciones validas:' leftClick: '&eClic izquierdo para mas información' + middleClick: '&eMiddle Click to leave this job' rightClick: '&eClic derecho para trabajar en la profesión' leftSlots: '&ePuestos libres:&f ' working: '&2&nTrabajando actualmente' + cantJoin: '&cYou can''t join to the selected job.' max: '&eNivel máximo:&f ' back: '&e<<< Volver' output: @@ -405,6 +414,7 @@ command: info: Comprobar quien ha visitado este chunk error: noexplore: Nadie a visitado este chunk + fullExplore: '&aThis chunk is fully explored' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Se han eliminado &7[furnaces] &2hornos y &7[brewing] &2Soportes para Pociones' + skipquest: + help: + info: Skip defined quest and get new one + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' quests: help: info: Ver la lista de misiones disponibles. @@ -449,6 +465,8 @@ command: output: completed: '&2 !Completado!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Click to skip this quest' + skips: '&7Left skips: &f[skips]' hover: "&f[jobName] \n[desc] \n&7New quest in: [time]" fire: help: @@ -529,6 +547,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Prev page &2|' next: '&2|&e Next Page >>>>' @@ -543,6 +562,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cData not found' transfer: diff --git a/src/main/resources/locale/messages_et.yml b/src/main/resources/locale/messages_et.yml index b01d2cce..d487daa6 100644 --- a/src/main/resources/locale/messages_et.yml +++ b/src/main/resources/locale/messages_et.yml @@ -15,7 +15,7 @@ general: hours: '&e%hours% &6tundi ' mins: '&e%mins% &6minutit ' secs: '&e%secs% &6sekundit ' - invalidPage: '&cInvalid page' + invalidPage: '&cSobimatu leht' 'true': '&2Tõene' 'false': '&cVäär' admin: @@ -24,7 +24,7 @@ general: error: noHelpPage: '&cSellise leheküljega abileht puudub!' notNumber: '&ePalun kasuta numbreid!' - job: '&cValitud ametit pole olemas!' + job: '&cValitud ametit pole olemas või sa pole sellega liitunud' noCommand: '&cSellise nimega käsklus puudub!' permission: '&cSul puudub selle tegemiseks luba!' noinfo: '&cTeavet ei leitud!' @@ -53,6 +53,9 @@ command: nextPage: '&6 Järgmine &2>>----' nextPageOff: '&7 Järgmine >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] üksust' + prevPageGui: '&6Eelmine leht ' + nextPageGui: '&6Järgmine leht' moneyboost: help: info: Võimendab raha saamist kõikide mängijate jaoks @@ -60,7 +63,7 @@ command: output: allreset: Kõik palgavõimendused on väljalülitatud jobsboostreset: Palgavõimendus on ameti %jobname% jaoks välja lülitatud - nothingtoreset: Nothing to reset + nothingtoreset: Pole midagi lähtestada boostalladded: Palgavõimendus suurusega %boost% on lisatud kõikidele ametitele! boostadded: Palgavõimendus suurusega &e%boost% &aon lisatud ametile &e%jobname%! infostats: '&c-----> &aRahavõimendus x%boost% lubatud&c <-------' @@ -71,7 +74,7 @@ command: output: allreset: Kõik punktivõimendused on välja lülitatud jobsboostreset: Punktivõimendus on ameti %jobname% jaoks välja lülitatud - nothingtoreset: Nothing to reset + nothingtoreset: Pole midagi lähtestada boostalladded: Punktivõimendus suurusega %boost% on lisatud kõikidele ametitele! boostadded: Punktivõimendus suurusega &e%boost% &aon lisatud ametile &e%jobname%! infostats: '&c-----> &aPunktivõimendus x%boost% lubatud&c <-------' @@ -82,7 +85,7 @@ command: output: allreset: Kõik kogemuste võimendused on välja lülitatud jobsboostreset: Kogemuste võimendus on ameti %jobname% jaoks välja lülitatud - nothingtoreset: Nothing to reset + nothingtoreset: Pole midagi lähtestada boostalladded: Kogemuste võimendus suurusega %boost% on lisatud kõikidele ametitele! boostadded: Kogemuste võimendus suurusega &e%boost% &aon lisatud ametile &e%jobname%! infostats: '&c-----> &aKogemuste võimendus x%boost% lubatud&c <-------' @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7Tasemest: %from% \n&7Tasemeni: %until%" edititembonus: @@ -104,19 +108,19 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &eLoa boonus: %money% %points% %exp%' - item: ' &eEseme boonus: %money% %points% %exp%' - global: ' &eÜldine boonus: %money% %points% %exp%' - dynamic: ' &eDünaamiline boonus: %money% %points% %exp%' - nearspawner: ' &eTekitaja boonus: %money% %points% %exp%' - petpay: ' &ePetPay boonus: %money% %points% %exp%' - area: ' &eAla boonus: %money% %points% %exp%' - mcmmo: ' &eMcMMO boonus: %money% %points% %exp%' - final: ' &eLõplik boonus: %money% %points% %exp%' - finalExplanation: ' &eDoes not include Petpay and Near spawner bonus/penalty' + permission: ' &eLoa boonus: &2%money% &6%points% &e%exp%' + item: ' &eEseme boonus: &2%money% &6%points% &e%exp%' + global: ' &eÜldine boonus: &2%money% &6%points% &e%exp%' + dynamic: ' &eDünaamiline boonus: &2%money% &6%points% &e%exp%' + nearspawner: ' &eTekitaja boonus: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay boonus: &2%money% &6%points% &e%exp%' + area: ' &eAla boonus: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO boonus: &2%money% &6%points% &e%exp%' + final: ' &eLõplik boonus: &2%money% &6%points% &e%exp%' + finalExplanation: ' &eEi sisalda Petpay ja lähedal oleva tekitaja boonust/trahvi' convert: help: - info: Converts the database system from one system to another. If you are currently running SQLite, this will convert it to MySQL and vice versa. + info: Konverteerib andmebaasi ühest süsteemist teise. Kui hetkel käitad SQLite'i, muutub see MySQL-iks ning vastupidi. args: '' limit: help: @@ -188,10 +192,10 @@ command: lookHover: '&6Vajuta, et hankida teave vaadatavalt plokilt' editquests: help: - info: Edit current quests. + info: Muuda praeguseid eesmärke. args: '' list: - quest: '&eQuests:' + quest: '&eEesmärgid:' jobs: ' -> [&e%jobname%&r]' quests: ' -> [&e%questname%&r]' actions: ' -> [&e%actionname%&r]' @@ -199,13 +203,13 @@ command: objectiveRemove: '&c[X]' objectiveAdd: ' -> &e[&2+&e]' modify: - newValue: '&eEnter new value' - enter: '&eEnter new name or press ' - hand: '&6HAND ' - handHover: '&6Press to grab info from item in your hand' - or: '&eor ' - look: '&6LOOKING AT' - lookHover: '&6Press to grab info from block you are looking' + newValue: '&eSisesta uus väärtus' + enter: '&eSisesta uus väärtus või vajuta ' + hand: '&6KÄSI ' + handHover: '&6Vajuta, et hankida teave käes olevalt esemelt' + or: '&evõi ' + look: '&6VAADATAV PLOKK' + lookHover: '&6Vajuta, et hankida teave vaadatavalt plokilt' blockinfo: help: info: Näitab vaadatava ploki teavet. @@ -227,7 +231,7 @@ command: placeholders: help: info: Nimetab kõik kohatäited - args: (parse) (placeholder) + args: (töötlemine) (kohatäide) output: list: '&e[place]. &7[placeholder]' outputResult: ' &etulemus: &7[result]' @@ -254,6 +258,9 @@ command: reqJobs: '&eNõutud ametid:' reqJobsList: ' &6%jobsname%&e: &e%level%. tase' reqTotalLevel: '&6Nõutud üldine tase: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cSeda lehte ei saa avada' NoPermForItem: '&cSul puuduvad sellele esemele vajalikud õigused!' NoPermToBuy: '&cPuudub selle eseme ostmise õigus' @@ -289,16 +296,18 @@ command: levelFrom: ' &a(alates &e%levelFrom% &atasemest)' levelUntil: ' &a(kuni &e%levelUntil% &atasemeni)' money: ' &2%money%$' - points: ' &6%points%pts' - exp: ' &e%exp%xp' + points: ' &6%points% punkti' + exp: ' &e%exp% kogemust' gui: pickjob: '&eVali oma amet!' jobinfo: '&e[jobname] teave!' actions: '&eLubatud tegevused:' leftClick: '&eVasakklõps rohkema teabe saamiseks' + middleClick: '&eKeskklõps ametist lahkumiseks' rightClick: '&eParemklõps ametiga liitumiseks' leftSlots: '&eVabu kohti:&f ' working: '&2&nOled juba liitunud' + cantJoin: '&cSa ei saa valitud ametiga liituda.' max: '&eMaksimaalne tase:&f ' back: '&e<<< Tagasi' output: @@ -316,7 +325,7 @@ command: none: 'Ametis %jobname% ei saa puutüvede koorimise eest raha.' kill: info: '&eTapmine' - none: '%jobname% does not get money for killing monsters.' + none: 'Ametis %jobname% ei saa koletiste tapmise eest raha.' mmkill: info: '&eMK tapmine' none: 'Ametis %jobname% ei saa Müütiliste Koletiste tapmise eest raha.' @@ -366,11 +375,11 @@ command: info: '&eTehislikud tapmised' none: 'Ametis %jobname% ei saa raha mängijate tehislike tapmiste eest raha.' collect: - info: '&eCollect' - none: '%jobname% does not get money for collecting blocks.' + info: '&eKogu' + none: 'Ametis %jobname% ei saa plokkide kogumise eest raha.' bake: - info: '&eBake' - none: '%jobname% does not get money for cooking foods.' + info: '&eKüpseta' + none: 'Ametis %jobname% ei saa toitude küpsetamise eest raha.' playerinfo: help: info: Näitab, kui palju ja mille eest igas ametis mõni mängija raha saab. @@ -386,25 +395,26 @@ command: rejoin: '&cSelle ametiga ei saa uuesti liituda. Oota [time]' rejoin: '&aKlõpsa ametiga taasliitumiseks: ' success: Oled liitunud ametiga %jobname%. - confirm: '&2Click to confirm joining action for the &7[jobname] &2job.' + confirm: '&2Klõpsa ametiga &7[jobname] &2 liitumise kinnitamiseks.' leave: help: info: Lahku valitud ametist. args: '[oldplayerjob]' success: Oled lahkunud ametist %jobname%. - confirmationNeed: '&cAre you sure you want to leave from&e [jobname]&c job? Type the command again within&6 [time] seconds &cto confirm!' + confirmationNeed: '&cKas soovid kindlasti ametist&e [jobname]&c lahkuda? Kinnitamiseks kirjuta&6 [time] sekundi &c jooksul käsklus uuesti!' leaveall: help: info: Lahku kõikidest ametitest. error: nojobs: Sul pole ühtegi ametit, millest lahkuda! success: Oled kõigist ametitest lahkunud. - confirmationNeed: '&cAre you sure you want to leave from all jobs? Type the command again within&6 [time] seconds &cto confirm!' + confirmationNeed: '&cKas soovid kindlasti lahkuda kõigist ametitest? Kinnitamiseks kirjuta&6 [time] sekundi &c jooksul käsklus uuesti!' explored: help: info: Vaata, kes on seda kamakat külastanud error: noexplore: Keegi pole seda kamakat külastanud + fullExplore: '&aSee kamakas on täielikult avastatud' list: '&e%place%. %playername%' browse: help: @@ -413,7 +423,7 @@ command: nojobs: Pole ühtegi ametit, millega sa saaksid liituda. output: header: 'Sa tohid liituda järgnevate ametitega:' - footer: For more information type in /jobs info [JobName] + footer: Rohkema teabe saamiseks kirjuta /jobs info [TööNimi] totalWorkers: ' &7Töötajaid: &e[amount]' penalty: ' &4Trahv: &c[amount]%' bonus: ' &2Boonus: &a[amount]%' @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Eemaldati &7[furnaces] &2ahju ja &7[brewing] &2pruulimisalust' + skipquest: + help: + info: Jäta valitud eesmärk vahele ja hangi uus + args: '[ametinimi] [eesmärginimi] (mängijanimi)' + output: + questSkipForCost: '&2Sa jätsid eesmärgi vahele ning maksid:&e %amount%$' quests: help: info: Loetle saadaolevad eesmärgid @@ -449,7 +465,9 @@ command: output: completed: '&2 !Saavutatud!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' - hover: "&f[jobName] \n[desc] \n&7New quest in: [time]" + skip: '&7Klõpsa eesmärgi vahelejätmiseks' + skips: '&7Vahelejätmisi alles: &f[skips]' + hover: "&f[jobName] \n[desc] \n&7Uus eesmärk tuleb: [time]" fire: help: info: Vallanda mängija ametist. @@ -477,7 +495,7 @@ command: target: Sind on palgatud ametisse %jobname%. top: help: - info: Shows top players by jobs name. + info: Näitab parimaid mängijaid ametinimetuse järgi. args: '[jobname]' error: nojob: Selle nimetusega ameteid ei leitud. @@ -529,6 +547,7 @@ command: money: '&6raha: %amount% ' exp: '&ekogemusi: %amount% ' points: '&6punkte: %amount%' + totalIncomes: ' &6Raha kokku:&2 %money%&6, kogemusi kokku:&2 %exp%&6, punkte kokku:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Eelmine leht &2|' next: '&2|&e Järgmine leht >>>>' @@ -543,6 +562,7 @@ command: money: '&6raha: %amount% ' exp: '&ekogemusi: %amount% ' points: '&6punkte: %amount%' + totalIncomes: ' &6Raha kokku:&2 %money%&6, kogemusi kokku:&2 %exp%&6, punkte kokku:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cAndmeid ei leitud' transfer: @@ -570,7 +590,7 @@ command: info: Muuda mängija taset teatud ametis. args: '[playername] [jobname] set/add/take [amount]' error: - nojob: '&cThis player must first join a job.' + nojob: '&cSee mängija peab kõigepealt ametiga liituma.' output: target: '&eSu kogemust muudeti ametis %jobname%&e, nüüd on sul &6%level%. tase &ening &6%exp% kogemust.' demote: @@ -626,7 +646,7 @@ message: broadcast: '%playername% on nüüd %joblevel%. tasemel ametis %jobname%.' nobroadcast: Oled nüüd %joblevel%. tasemel ametis %jobname%. leveldown: - message: '&cYou lost level&e %lostLevel%&c in&e %jobname%&c job! Level:&6 %joblevel%&c.' + message: '&cSa kaotasid&e %lostLevel%&c. taseme ametis&e %jobname%&c! Hetkel&6 %joblevel%&c. tase.' cowtimer: '&ePead veel &6%time% &esekundit ootama, et selle töö eest palka saada.' blocktimer: '&ePead ootama &3[time] &esekundit veel, et selle eest palka saada!' placeblocktimer: '&eSa ei saa samasse kohta plokke asetada kiiremini kui &6[time] &esekundit!' @@ -651,7 +671,7 @@ signs: p10: '&b** &8Kümnes &b**' name: '&9[player]' level: '&8[level]. tase' - quests: '&8[quests] quests' + quests: '&8[quests] eesmärki' bottom: '&b************' cantcreate: '&4Sa ei saa seda silti luua!' cantdestroy: '&4Sa ei saa seda silti lõhkuda!' diff --git a/src/main/resources/locale/messages_fr.yml b/src/main/resources/locale/messages_fr.yml index 47a43d13..73498a09 100644 --- a/src/main/resources/locale/messages_fr.yml +++ b/src/main/resources/locale/messages_fr.yml @@ -24,7 +24,7 @@ general: error: noHelpPage: '&cIl n''y a pas de page d''aide portant ce numéro !' notNumber: '&eVeuillez utiliser des chiffres !' - job: '&cLe métier que vous avez selectionné n''existe pas!' + job: '&cThe job you selected does not exist or you not joined to this' noCommand: '&cIl n''y pas de commande portant ce nom!' permission: '&cVous n''avez pas la permission de faire ça!' noinfo: '&cAucune information trouvée !' @@ -53,13 +53,16 @@ command: nextPage: '&6 Suivant &2>>----' nextPageOff: '&7 Suivant >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] entrées' + prevPageGui: 'Page précédente ' + nextPageGui: 'Page suivante' moneyboost: help: info: Booster le gain d'argent pour tous les joueurs args: '[jobname] [rate]' output: - allreset: All money boosts turned off - jobsboostreset: Money boost has been turned off for %jobname% + allreset: Tous les boost d'argent ont été désactivés + jobsboostreset: Le boost d'argent pour le métier %jobname% a été désactivé nothingtoreset: Il n'y a rien à remettre à zéro. boostalladded: Un boost d'argent de %boost% a été activé pour tous les métiers! boostadded: Un boost d'argent de &e%boost% &aa été activé pour le métier &e%jobname%! @@ -69,29 +72,30 @@ command: info: Booster les points pour tous les joueurs args: '[jobname] [rate]' output: - allreset: All point boosts turned off - jobsboostreset: Point boost has been turned off for %jobname% + allreset: Tous les boosts de points ont été désactivés + jobsboostreset: Le boost de points pour le métier %jobname% a été désactivé nothingtoreset: Il n'y a rien à remettre à zéro. - boostalladded: Points boost of %boost% added for all jobs! + boostalladded: Un boost de points de %boost% a été activé pour tous les métiers ! boostadded: Un boost de points de &e%boost% &aa été activé pour le métier &e%jobname%! infostats: '&c-----> &aBoost de points x%boost% activé&c <-------' expboost: help: - info: Boosts exp gain for all players + info: Booster l'XP pour tous les joueurs args: '[jobname] [rate]' output: - allreset: All exp boosts turned off - jobsboostreset: Exp boost has been turned off for %jobname% + allreset: Tous les boost d'XP ont été désactivés + jobsboostreset: Le boost d'EXP pour le métier %jobname% a été désactivé nothingtoreset: Il n'y a rien à remettre à zéro. - boostalladded: Exp boost of %boost% added for all jobs! - boostadded: Exp boost of &e%boost% &aadded for &e%jobname%! - infostats: '&c-----> &aExp rate x%boost% enabled&c <-------' + boostalladded: Un boost d'XP de %boost% a été activé pour tous les métiers ! + boostadded: Un boost d'XP de &e%boost% &aa été activé pour le métier &e%jobname% ! + infostats: '&c-----> &aBoost &2XP x%boost% &aactivé&c <-------' itembonus: help: info: Vérifier l'objet bonus args: '' output: list: '&e[jobname] : %money% %points% %exp%' + notAplyingList: '&e[jobname] : %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7Du niveau: %from%\n&7Au niveau: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &eBonus de permission : %money% %points% %exp%' - item: ' &eBonus d''objet : %money% %points% %exp%' - global: ' &eBonus global : %money% %points% %exp%' - dynamic: ' &eBonus dynamique : %money% %points% %exp%' - nearspawner: ' &eBonus de générateur : %money% %points% %exp%' - petpay: ' &eBonus PetPay: %money% %points% %exp%' - area: ' &eBonus de zone : %money% %points% %exp%' - mcmmo: ' &eBonus McMMO: %money% %points% %exp%' - final: ' &eBonus final : %money% %points% %exp%' + permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + item: ' &eItem bonus: &2%money% &6%points% &e%exp%' + global: ' &eGlobal bonus: &2%money% &6%points% &e%exp%' + dynamic: ' &eDynamic bonus: &2%money% &6%points% &e%exp%' + nearspawner: ' &eSpawner bonus: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%' + area: ' &eArea bonus: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' + final: ' &eFinal bonus: &2%money% &6%points% &e%exp%' finalExplanation: ' &eN''inclut pas les bonus/pénalités des spawners à proximité et de PetPay' convert: help: @@ -123,8 +127,8 @@ command: info: Affiche les limites de payement des métiers. args: '[playername]' output: - moneytime: '&eTime left until money limit resets: &2%time%' - moneyLimit: '&eMoney limit: &2%current%&e/&2%total%' + moneytime: '&eTemps restant avant le reset de la limite d''argent: &2%hour%&eh &2%min%&em &2%sec%&es' + moneyLimit: '&eLimite d''argent journalié: &2%money%&e/&2%totalmoney%' exptime: '&eTime left until Exp limit resets: &2%time%' expLimit: '&eLimite d''expérience : &2%current%&e/&2%total%' pointstime: '&eTime left until Point limit resets: &2%time%' @@ -254,6 +258,9 @@ command: reqJobs: '&eMétiers requis :' reqJobsList: ' &6%jobsname%&e : niveau &e%level%' reqTotalLevel: '&6Niveau total requis: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cImpossible d''ouvrir cette page' NoPermForItem: '&cVous n''avez pas la permission requise pour cet objet!' NoPermToBuy: '&cVous n''avez pas la permission requise pour acheter cet objet!' @@ -296,9 +303,11 @@ command: jobinfo: '&e[jobname] info!' actions: '&eActions rémunérées:' leftClick: '&eClic gauche pour plus d''infos' + middleClick: '&eMiddle Click to leave this job' rightClick: '&eClic droit pour rejoindre ce métier' leftSlots: '&ePlaces restantes :&f ' working: '&2&nVous exercez déjà ce métier' + cantJoin: '&cYou can''t join to the selected job.' max: '&eNiveau maximum :&f ' back: '&e<<< Retour' output: @@ -405,6 +414,7 @@ command: info: Vérifie qui a visité ce tronçon error: noexplore: Personne n'a visité ce tronçon + fullExplore: '&aThis chunk is fully explored' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Removed &7[furnaces] &2furnaces and &7[brewing] &2brewing stands' + skipquest: + help: + info: Skip defined quest and get new one + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' quests: help: info: Affiche les quêtes disponibles @@ -449,6 +465,8 @@ command: output: completed: '&2 ! Terminé !&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Click to skip this quest' + skips: '&7Left skips: &f[skips]' hover: "&f[jobName] \n[desc] \n&7Nouvelle quête dans : [time]" fire: help: @@ -529,6 +547,7 @@ command: money: '&6argent : %amount% ' exp: '&eXP : %amount% ' points: '&6points : %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Page précédente &2|' next: '&2|&e Page suivante >>>>' @@ -543,6 +562,7 @@ command: money: '&6argent : %amount% ' exp: '&eXP : %amount% ' points: '&6points : %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cDonnées introuvables' transfer: diff --git a/src/main/resources/locale/messages_hu.yml b/src/main/resources/locale/messages_hu.yml index 67629ecc..46358bae 100644 --- a/src/main/resources/locale/messages_hu.yml +++ b/src/main/resources/locale/messages_hu.yml @@ -22,9 +22,9 @@ general: error: '&cHiba történt a parancsban.' success: '&eA parancs végrehajtásra került.' error: - noHelpPage: '&cNincs több segítség oldal szám!' + noHelpPage: '&cNincs segítség ezzel az oldalszámmal!' notNumber: '&eKérlek, használj számokat!' - job: '&cEz a munka nem létezik!' + job: '&cA kiválasztott munka nem létezik, vagy nem csatlakoztál ehhez' noCommand: '&cNincs ilyen parancs ezzel a névvel!' permission: '&cNincs jogosultságod a használatára!' noinfo: '&cNincs információ találva!' @@ -53,6 +53,9 @@ command: nextPage: '&6 Következő &2>>----' nextPageOff: '&7 Következő >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] bejegyzések' + prevPageGui: '&6Előző oldal ' + nextPageGui: '&6Következő oldal' moneyboost: help: info: Növeli a pénzszerzést minden játékos számára @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7Szinttől: %from%\n&7Szintig: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &eJog bónusz: %money% %points% %exp%' - item: ' &eTárgy bónusz: %money% %points% %exp%' - global: ' &eGlobális bónusz: %money% %points% %exp%' - dynamic: ' &eDinamikus bónusz: %money% %points% %exp%' - nearspawner: ' &eIdéző bónusz: %money% %points% %exp%' - petpay: ' &ePetPay bónusz: %money% %points% %exp%' - area: ' &eTerület bónusz: %money% %points% %exp%' - mcmmo: ' &eMcMMO bónusz: %money% %points% %exp%' - final: ' &eVégső bónusz: %money% %points% %exp%' + permission: ' &eJog bónusz: &2%money% &6%points% &e%exp%' + item: ' &eTárgy bónusz: &2%money% &6%points% &e%exp%' + global: ' &eGlobális bónusz: &2%money% &6%points% &e%exp%' + dynamic: ' &eDinamikus bónusz: &2%money% &6%points% &e%exp%' + nearspawner: ' &eIdéző bónusz: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay bónusz: &2%money% &6%points% &e%exp%' + area: ' &eTerület bónusz: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO bónusz: &2%money% &6%points% &e%exp%' + final: ' &eVégső bónusz: &2%money% &6%points% &e%exp%' finalExplanation: ' &eNem tartalmazza a Petpay és az idéző bónusz/penaltyFinal bónuszt' convert: help: @@ -254,6 +258,9 @@ command: reqJobs: '&eSzükséges munkák:' reqJobsList: ' &6%jobsname%&e: &e%level% lvl' reqTotalLevel: '&6Szükséges teljes szint: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cNem nyithatod meg ezt az oldalt!' NoPermForItem: '&cNincs jogod ehhez az elemhez!' NoPermToBuy: '&cNincs jogod ennek az elemnek a megvásárlásához!' @@ -296,9 +303,11 @@ command: jobinfo: '&e[jobname] info!' actions: '&eÉrvényes akciók:' leftClick: '&eTovábbi információért kattints bal gombbal' + middleClick: '&eKözépkattintás a munka elhagyásához' rightClick: '&eJobb kattintás a munkához való csatlakozáshoz' - leftSlots: '&eBal oldali helyek:&f ' + leftSlots: '&eMaradt helyek:&f ' working: '&2&nMár dolgozol' + cantJoin: '&cNem csatlakozhatsz a kiválasztott munkához.' max: '&eMax. szint:&f ' back: '&e<<< Vissza' output: @@ -405,6 +414,7 @@ command: info: Ellenőrzi, ki látogatta meg ezt a darabot. error: noexplore: '&cSenki sem látogatta meg ezt a darabot.' + fullExplore: '&aEzt a darabot teljesen felfedezték' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Eltávolítva &7[furnaces] &2kemence &7[brewing] &2főzet.' + skipquest: + help: + info: Hagyja ki a meghatározott küldetést, és szerezzen újat + args: '[jobname] [questname] (játékos név)' + output: + questSkipForCost: '&2Átugrottad a küldetést és fizettél:&e %amount%$' quests: help: info: Megmutassa a rendelkezésre álló küldetések listáját. @@ -449,6 +465,8 @@ command: output: completed: '&2 !Teljesítve!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Kattints, hogy hagyja ki ezt a küldetést' + skips: '&7Maradt ugrások: &f[skips]' hover: "&f[jobName] \n[desc] \n&7Következő küldetés: [time]" fire: help: @@ -529,6 +547,7 @@ command: money: '&6pénz: %amount% ' exp: '&eexp: %amount% ' points: '&6pontok: %amount%' + totalIncomes: ' &6Összes pénz:&2 %money%&6, Összes exp:&2 %exp%&6, Összes pontok:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Előző oldal &2|' next: '&2|&e Következő oldal >>>>' @@ -543,6 +562,7 @@ command: money: '&6pénz: %amount% ' exp: '&etapasztalat: %amount% ' points: '&6pontok: %amount%' + totalIncomes: ' &6Összes pénz:&2 %money%&6, Összes exp:&2 %exp%&6, Összes pontok:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cAz adatok nem találhatóak.' transfer: diff --git a/src/main/resources/locale/messages_ja.yml b/src/main/resources/locale/messages_ja.yml index 97242725..a15e334b 100644 --- a/src/main/resources/locale/messages_ja.yml +++ b/src/main/resources/locale/messages_ja.yml @@ -24,7 +24,7 @@ general: error: noHelpPage: '&cこの番号のヘルプページはありません。' notNumber: '&e数値ではありません' - job: '&c存在しないジョブです' + job: '&cThe job you selected does not exist or you not joined to this' noCommand: '&c存在しないコマンドです' permission: '&c権限を持っていないため実行できません' noinfo: '&c情報はありません' @@ -53,6 +53,9 @@ command: nextPage: '&6 Next &2>>----' nextPageOff: '&7 Next >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] entries' + prevPageGui: '&6Previous page ' + nextPageGui: '&6Next Page' moneyboost: help: info: '[職業名]の収入(お金)を[倍率]倍にします' @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7From level: %from% \n&7Until level: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[収入(お金)] &6[獲得ポイント] &e[獲得経験値] &7****************' - permission: '&e権限ボーナス: %money% %points% %exp%' - item: '&eアイテムボーナス: %money% %points% %exp%' - global: '&eグローバルボーナス: %money% %points% %exp%' - dynamic: '&eダイナミックボーナス: %money% %points% %exp%' - nearspawner: '&eスポナーボーナス: %money% %points% %exp%' - petpay: '&eペットペイボーナス: %money% %points% %exp%' - area: '&eエリアボーナス: %money% %points% %exp%' - mcmmo: '&eMcMMO ボーナス: %money% %points% %exp%' - final: '&e最終ボーナス: %money% %points% %exp%' + permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + item: ' &eItem bonus: &2%money% &6%points% &e%exp%' + global: ' &eGlobal bonus: &2%money% &6%points% &e%exp%' + dynamic: ' &eDynamic bonus: &2%money% &6%points% &e%exp%' + nearspawner: ' &eSpawner bonus: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%' + area: ' &eArea bonus: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' + final: ' &eFinal bonus: &2%money% &6%points% &e%exp%' finalExplanation: '&eペットボーナスとスポナーボーナスは含まれていません' convert: help: @@ -254,6 +258,9 @@ command: reqJobs: '&e必要な職業:' reqJobsList: ' &6%jobsname%&e: &e%level% lvl' reqTotalLevel: '&6必要な合計レベル: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cこのページを開くことはできません' NoPermForItem: '&cあなたはこのアイテムに必要な権限を持っていません' NoPermToBuy: '&c権限がないため購入できません' @@ -296,9 +303,11 @@ command: jobinfo: '&e[職業名] info!' actions: '&e有効な行動:' leftClick: '&eクリックで詳しい情報' + middleClick: '&eMiddle Click to leave this job' rightClick: '&e右クリックで職業に就きます' leftSlots: '&e左のスロット:&f ' working: '&2&nすでに選択している職業です' + cantJoin: '&cYou can''t join to the selected job.' max: '&e最大レベル:&f ' back: '&e<<< 戻る' output: @@ -405,6 +414,7 @@ command: info: このチャンクに来たことのある人を確認できます error: noexplore: 誰もこのチャンクを訪れたことがありません + fullExplore: '&aThis chunk is fully explored' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Removed &7[furnaces] &2furnaces and &7[brewing] &2brewing stands' + skipquest: + help: + info: Skip defined quest and get new one + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' quests: help: info: List available quests @@ -449,6 +465,8 @@ command: output: completed: '&2 !Completed!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Click to skip this quest' + skips: '&7Left skips: &f[skips]' hover: "&f[jobName] \n[desc] \n&7New quest in: [time]" fire: help: @@ -529,6 +547,7 @@ command: money: '&6収入(お金): %amount% ' exp: '&e獲得経験値: %amount% ' points: '&6ポイント: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< 前のぺージ &2|' next: '&2|&e 次のページ >>>>' @@ -543,6 +562,7 @@ command: money: '&6収入(お金): %amount% ' exp: '&e獲得経験値: %amount% ' points: '&6ポイント: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cデータがありません' transfer: diff --git a/src/main/resources/locale/messages_lt.yml b/src/main/resources/locale/messages_lt.yml index 102966b1..1ef87a40 100644 --- a/src/main/resources/locale/messages_lt.yml +++ b/src/main/resources/locale/messages_lt.yml @@ -24,7 +24,7 @@ general: error: noHelpPage: '&cPagalbos puslapis su nurodytu skaičiu nerastas' notNumber: '&ePrašau naudokite skaičius' - job: '&cPasirinktas darbas neegzistuoja' + job: '&cThe job you selected does not exist or you not joined to this' noCommand: '&cNėra komandos naudojant šiuos žodžius' permission: '&cTu neturi leidimo atlikti šį veiksmą' noinfo: '&cNėrasta jokios informacijos' @@ -53,6 +53,9 @@ command: nextPage: '&6 Kitas &2>>----' nextPageOff: '&7 Kitas >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] entries' + prevPageGui: '&6Previous page ' + nextPageGui: '&6Next Page' moneyboost: help: info: Paspartina pinigų gavima darbuotojams @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7Nuo lygio: %from% \n&7Iki lygio: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &eLeidimu bonusas: %money% %points% %exp%' - item: ' &eDaiktų bonusas: %money% %points% %exp%' - global: ' &eBendras bonusas: %money% %points% %exp%' - dynamic: ' &eDinaminis bonusas: %money% %points% %exp%' - nearspawner: ' &eSpawner bonusas: %money% %points% %exp%' - petpay: ' &eGyvūno bonusas: %money% %points% %exp%' - area: ' &eZonos bonusas: %money% %points% %exp%' - mcmmo: ' &eMcMMO bonusas: %money% %points% %exp%' - final: ' &eFinalinis bonusas: %money% %points% %exp%' + permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + item: ' &eItem bonus: &2%money% &6%points% &e%exp%' + global: ' &eGlobal bonus: &2%money% &6%points% &e%exp%' + dynamic: ' &eDynamic bonus: &2%money% &6%points% &e%exp%' + nearspawner: ' &eSpawner bonus: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%' + area: ' &eArea bonus: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' + final: ' &eFinal bonus: &2%money% &6%points% &e%exp%' finalExplanation: ' &eNeįeina Gyvūno bonusas ir Spawnerio bonusas' convert: help: @@ -254,6 +258,9 @@ command: reqJobs: '&eTuri dirbti:' reqJobsList: ' &6%jobsname%&e: &e%level% lvl' reqTotalLevel: '&6Reikalingas bendras lygis: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cNegali atidaryti šio puslapio' NoPermForItem: '&cTu neturi leidimo šiam daiktui!' NoPermToBuy: '&cNeturi leidimo šiam daiktui' @@ -296,9 +303,11 @@ command: jobinfo: '&e[jobname] informacija!' actions: '&eGalimi veiksmai:' leftClick: '&eKairys mygtukas daugiau info' + middleClick: '&eMiddle Click to leave this job' rightClick: '&eDešinys mygtukas pradėti dirbti' leftSlots: '&eLiko vietu:&f ' working: '&2&nJau dirbi' + cantJoin: '&cYou can''t join to the selected job.' max: '&eMaksimalus lygis:&f ' back: '&e<<< Grįžti' output: @@ -405,6 +414,7 @@ command: info: Patikrinti kas buvo Chunke error: noexplore: Niekas nebuvo šiame Chunke + fullExplore: '&aThis chunk is fully explored' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Pašalintos &7[furnaces] &2furnaces ir &7[brewing] &2brewing stendai' + skipquest: + help: + info: Skip defined quest and get new one + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' quests: help: info: Peržiūrėti galimus Questus @@ -449,6 +465,8 @@ command: output: completed: '&2 !Atliktas!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Click to skip this quest' + skips: '&7Left skips: &f[skips]' hover: "&f[jobName] \n[desc] \n&7New quest in: [time]" fire: help: @@ -529,6 +547,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Prev page &2|' next: '&2|&e Next Page >>>>' @@ -543,6 +562,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cData not found' transfer: diff --git a/src/main/resources/locale/messages_pl.yml b/src/main/resources/locale/messages_pl.yml index c62582c9..498f5bab 100644 --- a/src/main/resources/locale/messages_pl.yml +++ b/src/main/resources/locale/messages_pl.yml @@ -24,7 +24,7 @@ general: error: noHelpPage: '&cNie ma strony pomocy z tym numerem!' notNumber: '&eProszę użyj numerów!' - job: '&cPracę jaką wybrałeś/aś nie istnieje!' + job: '&cPraca która wybrałeś/aś nie istnieje lub do niej nie dołączyłeś/aś' noCommand: '&cNie ma komendy z tą nazwą!' permission: '&cNie masz uprawnień do zrobienia tego!' noinfo: '&cBrak informacji znalezionych!' @@ -53,6 +53,9 @@ command: nextPage: '&6 Nast &2>>----' nextPageOff: '&7 Nast >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] wejścia' + prevPageGui: '&6Poprzednia strona ' + nextPageGui: '&6Następna Strona' moneyboost: help: info: Zwiększa zysk pieniężny dla wszystkich graczy @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7Z levelu: %from% \n&7Do levelu: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &eBonus permisji: %money% %points% %exp%' - item: ' &eBonus przedmiotu: %money% %points% %exp%' - global: ' &eBonus globalny: %money% %points% %exp%' - dynamic: ' &eDynamiczny bonus: %money% %points% %exp%' - nearspawner: ' &eBonus spawneru: %money% %points% %exp%' - petpay: ' &eBunus PetPay: %money% %points% %exp%' - area: ' &eBonus obszaru: %money% %points% %exp%' - mcmmo: ' &eBonus McMMO: %money% %points% %exp%' - final: ' &eŁączny bonus: %money% %points% %exp%' + permission: ' &eBonus permisji: &2%money% &6%points% &e%exp%' + item: ' &eBonus itemu: &2%money% &6%points% &e%exp%' + global: ' &eBonus globalny: &2%money% &6%points% &e%exp%' + dynamic: ' &eBonus dynamiczny: &2%money% &6%points% &e%exp%' + nearspawner: ' &eBonus spawneru: &2%money% &6%points% &e%exp%' + petpay: ' &eBonus PetPay: &2%money% &6%points% &e%exp%' + area: ' &eBonus miejscowy: &2%money% &6%points% &e%exp%' + mcmmo: ' &eBonus McMMO: &2%money% &6%points% &e%exp%' + final: ' &eBonus końcowy: &2%money% &6%points% &e%exp%' finalExplanation: ' &eNie obejmuje bonusów Petpay i pobliskich spawnerów' convert: help: @@ -242,7 +246,7 @@ command: args: '[playername]' error: nojob: Proszę dołącz do pracy najpierw. - output: 'Level %joblevel% dla%jobname%: %jobxp%/%jobmaxxp% xp' + output: 'Level %joblevel% dla %jobname%: %jobxp%/%jobmaxxp% xp' shop: help: info: Otwiera specjalny sklep prac. @@ -254,6 +258,9 @@ command: reqJobs: '&eWymagana praca:' reqJobsList: ' &6%jobsname%&e: &e%level% lvl' reqTotalLevel: '&6Wymagany całkowity level: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cNie można otworzyć tej strony' NoPermForItem: '&cNie masz wymaganych permisji do tego przedmiotu!' NoPermToBuy: '&cBrak permisji aby kupić ten przedmiot' @@ -296,9 +303,11 @@ command: jobinfo: '&e[jobname] informacje!' actions: '&eMożliwe akcje to:' leftClick: '&eNaciśnij lewym po więcej informacji' + middleClick: '&eNaciśnij środkowym aby opuścić tą pracę' rightClick: '&eNaciścij prawym aby dołączyć do pracy' leftSlots: '&ePozostałe miejsca:&f ' working: '&2&nJuż pracujesz' + cantJoin: '&cNie możesz dołączyć do wybranej pracy.' max: '&eMax level:&f ' back: '&e<<< Powrót' output: @@ -369,8 +378,8 @@ command: info: '&eZbierz' none: '%jobname% nie otrzymuje pieniędzy za zbieranie bloków.' bake: - info: '&eBake' - none: '%jobname% does not get money for cooking foods.' + info: '&Upiecz' + none: '%jobname% nie otrzymuje pieniędzy za gotowanie jedzenia.' playerinfo: help: info: Wyświetla jak dużo za każdą pracę otrzymuje się płacy i za co na innym graczu. @@ -405,6 +414,7 @@ command: info: Sprawdź kto odwiedził ten chunk error: noexplore: Nikt nie odwiedził tego chunku + fullExplore: '&aTen chunk jest w pełni przepodróżowany' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Usunięto &7[furnaces] &pieców i &7[brewing] &2stojaki do warzenia' + skipquest: + help: + info: Pomiń dany quest i otrzymaj nowy + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2Pominąłeś/ełaś quest i zapłaciłeś/aś:&e %amount%$' quests: help: info: Wyświetla listę dostępnych questów @@ -449,6 +465,8 @@ command: output: completed: '&2 !Ukończono!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Kliknij aby pominąć ten quest' + skips: '&7Pozostałe pominięcia: &f[skips]' hover: "&f[jobName] \n[desc] \n&7Nowy quest za: [time]" fire: help: @@ -477,7 +495,7 @@ command: target: Zostałeś/aś zatrudniony/a jako %jobname%. top: help: - info: Shows top players by jobs name. + info: Wyświetla top graczy poprzez nazwę pracy. args: '[jobname]' error: nojob: Nie można znaleźć żadnej pracy z tą nazwą. @@ -529,6 +547,7 @@ command: money: '&6pieniądze: &6%amount% ' exp: '&eexp: &%amount% ' points: '&epunkty: &6%amount%' + totalIncomes: ' &6Razem pieniędzy:&2 %money%&6, Razem exp:&2 %exp%&6, Razem punktów:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Poprz str &2|' next: '&2|&e Nast Str >>>>' @@ -543,6 +562,7 @@ command: money: '&6pieniądze: &6%amount% ' exp: '&eexp: &%amount% ' points: '&epunkty: &6%amount%' + totalIncomes: ' &6Razem pieniędzy:&2 %money%&6, Razem exp:&2 %exp%&6, Razem punktów:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cDane nie znalezione' transfer: diff --git a/src/main/resources/locale/messages_pt_BR.yml b/src/main/resources/locale/messages_pt_BR.yml index 46ccdcc3..fbf66bfb 100644 --- a/src/main/resources/locale/messages_pt_BR.yml +++ b/src/main/resources/locale/messages_pt_BR.yml @@ -22,9 +22,9 @@ general: error: '&cHouve um erro no comando.' success: '&eSeu comando foi executado.' error: - noHelpPage: '&cNão existe uma página de ajuda com este número!' + noHelpPage: '&cNão existe nenhuma página de ajuda com este número!' notNumber: '&ePor favor, use números!' - job: '&cO trabalho que você selecionou não existe!' + job: '&cThe job you selected does not exist or you not joined to this' noCommand: '&cNão há comando com esse nome!' permission: '&cVocê não tem permissão para fazer isso!' noinfo: '&cNenhuma informação encontrada!' @@ -45,14 +45,17 @@ command: cmdInfoFormat: '[command] &f- &2[description]' cmdFormat: '&7/[command] &f[arguments]' helpPageDescription: '&2* [description]' - title: '&e-------&e ======= &6Empregos &e======= &e-------' - page: '&e-----&e ====== Pagina &6[1] &eof &6[2] &e====== &e-----' + title: '&e-------&e ======= &6Profissões &e======= &e-------' + page: '&e-----&e ====== Página &6[1] &ede &6[2] &e====== &e-----' fliperSimbols: '&e----------' - prevPage: '&2----<< &6Ant ' - prevPageOff: '&7----<< Ant ' - nextPage: '&6 Prox &2>>----' - nextPageOff: '&7 Prox >>----' + prevPage: '&2----<< &6Ant. ' + prevPageOff: '&7----<< Ant. ' + nextPage: '&6 Próx. &2>>----' + nextPageOff: '&7 Próx. >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] entradas' + prevPageGui: '&6Página anterior ' + nextPageGui: '&6Próxima página' moneyboost: help: info: Aumenta o ganho de dinheiro para todos os jogadores @@ -61,9 +64,9 @@ command: allreset: Todo o impulso de aumento de dinheiro desativado jobsboostreset: O impulso de dinheiro foi desativado para %jobname% nothingtoreset: Nada para redefinir - boostalladded: Impulso de Dinheiro %boost% adicionado para todas profissões! - boostadded: Impulso de dinheiro&e%boost% &a adicionado para &e%jobname%! - infostats: '&c-----> &aMoney rate x%boost% enabled&c <-------' + boostalladded: Impulso de dinheiro %boost% adicionado para todas profissões! + boostadded: Impulso de dinheiro &e%boost% &a adicionado para &e%jobname%! + infostats: '&c-----> &aImpulso de dinheiro de x%boost% ativado&c <-------' pointboost: help: info: Aumenta o impulso de ganho de pontos para todos os jogadores @@ -72,28 +75,29 @@ command: allreset: Todos os pontos impulsos foram desativados jobsboostreset: O impulso de pontos foi desativado para %jobname% nothingtoreset: Nada para redefinir - boostalladded: Points boost of %boost% added for all jobs! - boostadded: Points boost of &e%boost% &aadded for &e%jobname%! - infostats: '&c-----> &aPoints rate x%boost% enabled&c <-------' + boostalladded: Impulso de pontos %boost% adicionado para todas profissões! + boostadded: Impulso de pontos de &e%boost% &a adicionado para &e%jobname%! + infostats: '&c-----> &aImpulso de pontos de x%boost% ativado&c <-------' expboost: help: - info: Aumenta o bônus ganho de xp para todos os jogadores + info: Aumenta o bônus ganho de experiência para todos os jogadores args: '[jobname] [rate]' output: - allreset: Todos os pontos impulsos de xp foram desativados - jobsboostreset: O impulso de exp foi desativado para %jobname% + allreset: Todos os impulsos de experiência foram desativados + jobsboostreset: O impulso de experiência foi desativado para %jobname% nothingtoreset: Nada para redefinir - boostalladded: Impulso de Experiencia %boost% adicionado para todas as Profissões! - boostadded: Impulso de Experiencia &e%boost% &aadicionado para &e%jobname%! - infostats: '&c-----> &aExp rate x%boost% enabled&c <-------' + boostalladded: Impulso de experiência de %boost% adicionado a todas as profissões! + boostadded: Impulso de experiência de &e%boost% &aadicionado para &e%jobname%! + infostats: '&c-----> &aImpulso de experiência de x%boost% ativado&c <-------' itembonus: help: info: Verificar item bônus args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' - hoverLevelLimits: "&7From level: %from% \n&7Until level: %until%" + hoverLevelLimits: "&7Do nível: %from% \n&7Até o nível: %until%" edititembonus: help: info: Editar bônus de aumento de item @@ -104,19 +108,19 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &eBônus por perm: %money% %points% %exp%' - item: ' &eBônus de Item: %money% %points% %exp%' - global: ' &eBônus Global: %money% %points% %exp%' - dynamic: ' &eDynamic bonus: %money% %points% %exp%' - nearspawner: ' &eSpawner bonus: %money% %points% %exp%' - petpay: ' &ePetPay bonus: %money% %points% %exp%' - area: ' &eArea bonus: %money% %points% %exp%' - mcmmo: ' &eMcMMO bonus: %money% %points% %exp%' - final: ' &eBônus Final: %money% %points% %exp%' - finalExplanation: ' &eDoes not include Petpay and Near spawner bonus/penalty' + permission: ' &eBônus de permissão: &2%money% &6%points% &e%exp%' + item: ' &eBônus de item: &2%money% &6%points% &e%exp%' + global: ' &eBônus global: &2%money% &6%points% &e%exp%' + dynamic: ' &eBônus dinâmico: &2%money% &6%points% &e%exp%' + nearspawner: ' &eBônus de spawner:%money% %points% %exp%' + petpay: ' &eBônus do PetPay: &2%money% &6%points% &e%exp%' + area: ' &eBônus de área: &2%money% &6%points% &e%exp%' + mcmmo: ' &eBônus do McMMO: &2%money% &6%points% &e%exp%' + final: ' &eBônus final: &2%money% &6%points% &e%exp%' + finalExplanation: ' & Não inclui bônus / penalidade de Petpay e spawner proximo' convert: help: - info: Converts the database system from one system to another. If you are currently running SQLite, this will convert it to MySQL and vice versa. + info: Converte o sistema de banco de dados de um sistema para outro. Se você estiver atualmente executando o SQLite, isso o converterá no MySQL e vice-versa. args: '' limit: help: @@ -124,8 +128,8 @@ command: args: '[playername]' output: moneytime: '&eTempo restante até que o limite de dinheiro seja redefinido: &2%time%' - moneyLimit: '&eMoney limit: &2%current%&e/&2%total%' - exptime: '&eTime left until Exp limit resets: &2%time%' + moneyLimit: '&eLimite de Dinheiro: &2%current%&e/&2%total%' + exptime: '&eTempo restante até que o limite Exp seja redefinido: &2%time%' expLimit: '&eLimite de exp: &2%current%&e/&2%total%' pointstime: '&eTempo restante até que o limite de pontos seja redefinido: &2%time%' pointsLimit: '&eLimite de pontos: &2%current%&e/&2%total%' @@ -231,7 +235,7 @@ command: output: list: '&e[place]. &7[placeholder]' outputResult: ' &eresultado: &7[result]' - parse: '&6[placeholder] &7by [source] &6result &8|&f[result]&8|' + parse: '&6[placeholder] &7por [source] &6resultado &8|&f[result]&8|' entitylist: help: info: Mostra todas as entidades possíveis que podem ser usadas com o plug-in. @@ -242,7 +246,7 @@ command: args: '[playername]' error: nojob: Entre primeiro em uma Profissão. - output: 'Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp' + output: 'Nível %joblevel% para %jobname%: %jobxp%/%jobmaxxp% exp' shop: help: info: Abre uma loja de profissão especial. @@ -254,13 +258,16 @@ command: reqJobs: '&e Profissões necessárias:' reqJobsList: ' &6%jobsname%&e: &e%level% lvl' reqTotalLevel: '&6Nível total necessário: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cNão é possível abrir esta página' NoPermForItem: '&cVocê não tem as permissões necessárias para usar esse item!' NoPermToBuy: '&cVocê não tem permissão para comprar esse item' - NoJobReqForitem: '&cYou don''t have the required job (&6%jobname%&e) with required (&6%joblevel%&e) level' + NoJobReqForitem: '&cVocê não tem a profissão necessária (&6%jobname%&e) com o nível (&6%joblevel%&e)' NoPoints: '&cVocê não tem pontos' NoTotalLevel: '&cO nível total de profissões é muito baixo' - Paid: '&eYou have paid &6%amount% &efor this item' + Paid: '&eVocê pagou &6%amount% &epor este item' archive: help: info: Mostra todos as profissões salvas no arquivo pelo usuário. @@ -285,8 +292,8 @@ command: max: ' - &eLever maxl:&f ' newMax: ' &eLevel Max: &f[max]' material: '&7%material%' - levelRange: ' &a(&e%levelFrom% &a- &e%levelUntil% &alevels)' - levelFrom: ' &a(from &e%levelFrom% &alevel)' + levelRange: ' &a(&e%levelFrom% &a- &e%levelUntil% &aníveis)' + levelFrom: ' &a(De &e%levelFrom% &alevel)' levelUntil: ' &a(until &e%levelUntil% &alevel)' money: ' &2%money%$' points: ' &6%points%pts' @@ -296,30 +303,32 @@ command: jobinfo: '&e[jobname] info!' actions: '&eAções validas são:' leftClick: '&eClique esquerdo para mais informações' + middleClick: '&eClique no botão do meio para sair esta profissão' rightClick: 'Clique direito para mais informações' - leftSlots: '&eLeft slots:&f ' - working: '&2&nAlready working' + leftSlots: '&eSlots Esquerdo:&f ' + working: '&2&nJá esta nessa profissão' + cantJoin: '&cYou can''t join to the selected job.' max: '&eLevel Maxl:&f ' back: '&e<< Voltar' output: break: info: '&ePausa' - none: '%jobname% does not get money for breaking blocks.' + none: '%jobname% não ganha dinheiro por quebrar blocos.' tntbreak: info: '&eQuebrar com Tnt' - none: '%jobname% does not get money for breaking blocks with TNT.' + none: '%jobname% não ganha dinheiro por quebrar blocos com TNT.' place: - info: '&ePlace' - none: '%jobname% does not get money for placing blocks.' + info: '&eColocar' + none: '%jobname% não ganha dinheiro por colocar blocos.' striplogs: - info: '&eStrip logs' - none: '%jobname% does not get money for stripping logs.' + info: '&eMadeira descascada' + none: '%jobname% não ganha dinheiro por descascar madeira.' kill: - info: '&eKill' - none: '%jobname% does not get money for killing monsters.' + info: '&eMatar' + none: '%jobname% não ganha dinheiro por matar monstros.' mmkill: - info: '&eMMKill' - none: '%jobname% does not get money for killing Mythic monsters.' + info: '&eMatar MM' + none: '%jobname% não ganha dinheiro por matar monstros míticos.' fish: info: '&ePeixe' none: '%jobname% não ganha dinheiro com a pesca.' @@ -328,52 +337,52 @@ command: none: '%jobname% não ganha dinheiro com artesanato.' smelt: info: '&eFundir' - none: '%jobname% does not get money from smelting.' + none: '%jobname% não ganha dinheiro ao usar a fornalha.' brew: - info: '&eBrew' - none: '%jobname% does not get money from brewing.' + info: '&eFermentar' + none: '%jobname% não ganha dinheiro ao fermentar.' eat: - info: '&eEat' - none: '%jobname% does not get money from eating food.' + info: '&eComer' + none: '%jobname% não ganha dinheiro ao comer comida.' dye: - info: '&eDye' - none: '%jobname% does not get money from dyeing.' + info: '&eTingir' + none: '%jobname% não ganha dinheiro ao tingir.' enchant: - info: '&eEnchant' - none: '%jobname% does not get money from enchanting.' + info: '&eEncantar' + none: '%jobname% não ganha dinheiro ao encantar.' vtrade: - info: '&eVillager trade' - none: '%jobname% does not get money for trading a villager.' + info: '&eTroca com aldeão' + none: '%jobname% não ganha dinheiro ao trocar com um aldeão.' repair: - info: '&eRepair' - none: '%jobname% does not get money from repairing.' + info: '&eReparar' + none: '%jobname% não ganha dinheiro ao reparar.' breed: - info: '&eBreed' + info: '&eProcriar' none: '%jobname% não recebe dinheiro de reprodução.' tame: - info: '&eTame' - none: '%jobname% does not get money from taming.' + info: '&eDomesticar' + none: '%jobname% não ganha dinheiro por domesticar.' milk: - info: '&eMilk' - none: '%jobname% does not get money from milking cows.' + info: '&eOrdenhar vacas' + none: '%jobname% não ganha dinheiro ao ordenhar vacas.' shear: - info: '&eShear' - none: '%jobname% does not get money from shearing sheep.' + info: '&eTosquiar' + none: '%jobname% não ganha dinheiro ao tosquiar ovelhas.' explore: - info: '&eExplore' - none: '%jobname% does not get money from exploring.' + info: '&eExplorar' + none: '%jobname% não ganha dinheiro por explorar.' custom-kill: - info: '&eCustom kill' - none: '%jobname% does not get money from custom player kills.' + info: '&eEliminação personalizada' + none: '%jobname% não ganha dinheiro por eliminações personalizadas de jogadores.' collect: info: '&eColetar' - none: '%jobname% does not get money for collecting blocks.' + none: '%jobname% não ganha dinheiro por coletar blocos.' bake: - info: '&eBake' - none: '%jobname% does not get money for cooking foods.' + info: '&eAssar' + none: '%jobname% não ganha dinheiro por cozinhar comidas.' playerinfo: help: - info: Show how much each job is getting paid and for what on another player. + info: Mostra quanto cada trabalho está sendo pago e por quê noutro jogador. args: '[playername] [jobname] [action]' join: help: @@ -381,7 +390,7 @@ command: args: '[jobname]' error: alreadyin: Você já entrou na profissão %jobname%. - fullslots: You cannot join the job %jobname%, there are no slots available. + fullslots: Você não pode entrar na profissão %jobname% porque não há vagas disponíveis. maxjobs: Você já ingressou em muitas profissões. rejoin: '&cNão é possível voltar a este trabalho. espere[time]' rejoin: '&aClique para entrar na profissão: ' @@ -395,25 +404,26 @@ command: confirmationNeed: 'Tem certeza de que deseja sair da profissão &e [jobname] Digite o comando novamente em &6 [time] &cpara Confirmar!' leaveall: help: - info: Leave all your jobs. + info: Sair de todas as profissões. error: - nojobs: You do not have any jobs to leave! - success: You have left all your jobs. - confirmationNeed: '&cAre you sure you want to leave from all jobs? Type the command again within&6 [time] seconds &cto confirm!' + nojobs: Você não têm nenhuma profissão para sair! + success: Você saiu de todas as suas profissões. + confirmationNeed: '&cTem certeza que deseja sair de todas as suas profissões? Digite o comando novamente em &6 [time] segundos &cpara confirmar!' explored: help: - info: Check who visited this chunk + info: Verificar quem visitou este chunk error: - noexplore: No one visited this chunk + noexplore: Ninguém visitou este chunk + fullExplore: '&aEsse chunk já foi totalmente explorado' list: '&e%place%. %playername%' browse: help: - info: List the jobs available to you. + info: Lista das profissões disponíveis para você. error: - nojobs: There are no jobs you can join. + nojobs: Não há profissões para as quais pode entrar. output: - header: 'You are allowed to join the following jobs:' - footer: For more information type in /jobs info [JobName] + header: 'Você pode entrar nas seguintes profissões:' + footer: Para mais informações digite /jobs info [JobName] totalWorkers: ' &7Trabalhadores: &e[amount]' penalty: ' &4Penalidade: &c[amount]%' bonus: ' &2Bônus: &a[amount]%' @@ -421,7 +431,7 @@ command: description: '[description]' list: ' &8[place]. &7[jobname]' console: - newHeader: '&2========== [amount] Available Jobs =========' + newHeader: '&2========== [amount] Profissões Disponíveis =========' description: '[description]' totalWorkers: ' &7Trabalhadores: &e[amount]' penalty: ' &4Penalidade: &c[amount]%' @@ -435,89 +445,97 @@ command: chooseJobHover: '& 7Clique aqui para obter esta profissão' clearownership: help: - info: Clear block ownership + info: Remover posse do bloco args: '[playername]' output: - cleared: '&2Removed &7[furnaces] &2furnaces and &7[brewing] &2brewing stands' + cleared: '&2Removidas &7[furnaces] &2fornalhas e &7[brewing] &2suportes de poções' + skipquest: + help: + info: Pular missão definida e obter outra + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2Você pulou a missão e pagou:&e %amount%$' quests: help: info: Lista Quests disponiveis args: '[playername]' error: - noquests: '&cThere are no quests' + noquests: '&cNão há missões disponíveis' toplineseparator: '&7*********************** &6[playerName] &2(&f[questsDone]&2) &7***********************' output: completed: '&2 !Completado!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Clique para pular esta missão' + skips: '&7Pulos restantes: &f[skips]' hover: "&f[jobName] \n[desc] \n&7Nova quest em: [time]" fire: help: - info: Fire the player from the job. + info: Despedir o jogador de uma profissão. args: '[playername] [jobname]' error: - nojob: Player does not have the job %jobname%. + nojob: Esse jogador não trabalha como %jobname%. output: - target: You have been fired from %jobname%. + target: Você foi despedido de %jobname%. fireall: help: - info: Fire player from all their jobs. + info: Despedir jogador de todas as suas profissões. args: '[playername]' error: - nojobs: Player does not have any jobs to be fired from! + nojobs: O jogador não tem quaisquer profissões para ser despedido! output: - target: You have been fired from all your jobs. + target: Você foi despedido de todas as suas profissões. employ: help: - info: Employ the player to the job. + info: Contratar o jogador para uma profissão. args: '[playername] [jobname]' error: - alreadyin: Player is already in the job %jobname%. - fullslots: You cannot join the job %jobname%, there are no slots available. + alreadyin: O jogador já está na profissão %jobname%. + fullslots: Você não pode entrar na profissão %jobname% porque não há vagas disponíveis. output: - target: You have been employed as a %jobname%. + target: Você foi contratado como %jobname%. top: help: - info: Shows top players by jobs name. + info: Mostra os melhores jogadores pelo nome da profissão. args: '[jobname]' error: - nojob: Can't find any job with this name. + nojob: Não foi possível encontrar nenhuma profissão com este nome. output: - topline: '&aTop&e %amount% &aplayers by &e%jobname% &ajob' - list: '&e%number%&a. &e%playername% &alvl &e%level% &awith&e %exp% &aexp' - prev: '&e<<<<< Prev page &2|' - next: '&2|&e Next Page >>>>' - show: '&2Show from &e[from] &2until &e[until] &2top list' + topline: '&aTop&e %amount% %jobname% &ajogadores' + list: '&e%number%&a. &e%playername% &anível &e%level% &acom &e %exp% &aexperiência' + prev: '&e<<<<< Página ant. &2|' + next: '&2|&e Próx. Página >>>>' + show: '&2Mostrar top desde &e[from] &2até &e[until]' gtop: help: - info: Shows top %amount% players by global jobs level. + info: Mostra os melhores %amount% jogadores por nível de profissão global. args: '' error: - nojob: Can't find any information. + nojob: Não foi possível encontrar qualquer informação. output: - topline: '&aTop&e %amount% &aplayers by global job level' - list: '&e%number%&a. &e%playername% &alvl &e%level% &awith&e %exp% &aexp' - prev: '&e<<<<< Prev page &2|' - next: '&2|&e Next Page >>>>' - show: '&2Show from &e[from] &2until &e[until] &2global top list' + topline: '&aTop&e %amount% &ajogadores por nível de profissão global' + list: '&e%number%&a. &e%playername% &anível &e%level% &acom&e %exp% &aexperiência' + prev: '&e<<<<< Página ant. &2|' + next: '&2|&e Próx. Página >>>>' + show: '&2Mostrar top global desde &e[from] &2até &e[until]' area: help: - info: Modify restricted areas. + info: Modificar áreas restritas. args: add/remove/info/list - addUsage: '&eUsage: &6/Jobs area add [areaName/wg:worldGuardAreaName] [bonus]' - removeUsage: '&eUsage: &6/Jobs area remove [areaName]' + addUsage: '&eUso: &6/Jobs area add [areaName/wg:worldGuardAreaName] [bonus]' + removeUsage: '&eUso: &6/Jobs area remove [areaName]' output: - addedNew: '&eAdded a new restricted area with &6%bonus% &ebonus' - removed: '&eRemoved the restricted area &6%name%' + addedNew: '&eAdicionada uma nova área restrita com bônus de &6%bonus%' + removed: '&eA área restrita &6%name% foi removida' list: '&e%number%&a. &e%areaname% &e%worldname% (&a%x1%:%y1%:%z1%/&e%x2%:%y2%:%z2%) &6%bonus%' wgList: '&e%number%&a. WorldGuard: &e%areaname% &6%bonus%' noAreas: '&eNão há áreas restritas salvas' - noAreasByLoc: '&eThere are no restricted areas in this location' - areaList: '&eRestricted areas by your location: &6%list%' - selected1: '&eSelected the first point: &6%x%:%y%:%z%' - selected2: '&eSelected the second point: &6%x%:%y%:%z%' - select: '&eSelect 2 points with the selection tool (%tool%)' - exist: '&eRestriction area by this name already exists' - dontExist: '&eRestriction area by this name does not exist' + noAreasByLoc: '&eNão há áreas restritas nessa localização' + areaList: '&eÁreas restristas na sua localização: &6%list%' + selected1: '&eSelecionado o primeiro ponto: &6%x%:%y%:%z%' + selected2: '&eSelecionado o segundo ponto: &6%x%:%y%:%z%' + select: '&eSelecione 2 pontos com a ferramenta de seleção (%tool%)' + exist: '&eJá existe uma área restrita com esse nome' + dontExist: '&eNão existe nenhuma área restrita com esse nome' wgDontExist: 'A área do &eWorldGuard com esse nome não existe' log: help: @@ -527,8 +545,9 @@ command: topline: '&7************************* &6%playername% &7*************************' ls: '&7* &6%number%. &3%action%: &6%item% &equant: %qty% %money%%exp%%points%' money: '&6dinheiro: %amount% ' - exp: '&eexp: %amount% ' + exp: '&eExperiência: %amount% ' points: '&6pontos: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Pag Ant &2|' next: '&2|&e Prox Pag >>>>' @@ -541,132 +560,133 @@ command: topline: '&7 *********************** & 6Estatísticas globais &7 ***********************' ls: '&7* &6%number%. &3%action%: &6%item% &equant: %qty% %money%%exp%%points%' money: '&6dinheiro: %amount% ' - exp: '&eexp: %amount% ' + exp: '&eExperiência: %amount% ' points: '&6pontos: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cDados não encontrados' transfer: help: - info: Transfer a player's job from an old job to a new job. + info: Transfere a profissão de um jogador de uma antiga para uma nova profissão. args: '[playername] [oldjob] [newjob]' output: - target: You have been transferred from %oldjobname% to %newjobname%. + target: Você foi transferido de %oldjobname% para %newjobname%. promote: help: - info: Promote the player X levels in a job. + info: Promover o jogador X níveis numa profissão. args: '[playername] [jobname] [levels]' output: - target: You have been promoted %levelsgained% levels in %jobname%. + target: Você foi promovido %levelsgained% níveis como %jobname%. exp: help: - info: Change the player exp for job. + info: Altera a experiência do jogador numa profissão. args: '[playername] [jobname] set/add/take [amount]' error: - nojob: '&cThis player must first join a job.' + nojob: '&cPrimeiramente, este jogador deve estar numa profissão.' output: - target: '&eYour exp was changed for %jobname% &eand now you at &6%level%lvl &eand with &6%exp%exp.' + target: '&eA sua experiência como %jobname% &efoi alterada e agora você é nível &6%level% &ecom &6%exp% experiência.' level: help: - info: Change the player's level in a job. + info: Altera o nível do jogador numa profissão. args: '[playername] [jobname] set/add/take [amount]' error: - nojob: '&cThis player must first join a job.' + nojob: '&cPrimeiramente, este jogador deve estar numa profissão.' output: - target: '&eYour level was changed for %jobname% &eand now you at &6%level%lvl &eand with &6%exp%exp.' + target: '&eO seu nível como %jobname% &efoi alterado e agora você é nível &6%level% &ecom &6%exp% experiência.' demote: help: - info: Demote the player X levels in a job. + info: Rebaixar o jogador X níveis numa profissão. args: '[playername] [jobname] [levels]' output: - target: You have been demoted %levelslost% levels in %jobname%. + target: Você foi rebaixado %levelslost% níveis como %jobname%. grantxp: help: - info: Grants the player X experience in a job. + info: Dá ao jogador X experiência num trabalho. args: '[playername] [jobname] [xp]' output: - target: You have been granted %xpgained% experience in %jobname%. + target: Foi lhe dada %xpgained% experiência como %jobname%. removexp: help: - info: Remove X experience from the player in a job. + info: Remove X experiência de um jogador num trabalho. args: '[playername] [jobname] [xp]' output: - target: You have lost %xplost% experience in %jobname%. + target: Você perdeu %xplost% experiência como %jobname%. signupdate: help: - info: Manually updates a sign by its name + info: Atualiza manualmente uma placa pelo seu nome args: '[jobname]' bp: help: - info: Shows block protections around you in 10 block radius + info: Mostra proteções de bloco à sua volta num raio de 10 blocos args: '' output: - found: '&eFound &6%amount% &eprotected blocks around you' - notFound: '&eNo protected blocks found around you' + found: '&eForam encontrados &6%amount% &eblocos protegidos à sua volta' + notFound: '&eNão foram encontrados blocos protegidos à sua volta' reload: help: - info: Reload configurations. + info: Recarregar configurações. toggle: help: - info: Toggles payment output on action bar or bossbar. + info: Ativa/Desativa a saída de pagamento na barra de ação ou na bossbar. args: actionbar/bossbar output: - turnedoff: '&4This feature is turned off!' + turnedoff: '&4Esta função está desativada!' paid: - main: '&aYou got:' - money: '&e[amount] money' - exp: '&7[exp] exp' - points: '&6[points] points' - 'on': '&aToggled: &aON' - 'off': '&aToggled: &4OFF' + main: '&aVocê tem:' + money: '&e[amount] moedas' + exp: '&7[exp] experiência' + points: '&6[points] pontos' + 'on': '&aAtivado' + 'off': '&4Desativado' message: skillup: - broadcast: '%playername% has been promoted to a %titlename% %jobname%.' - nobroadcast: Congratulations, you have been promoted to a %titlename% %jobname%. + broadcast: '%playername% foi promovido a %titlename% %jobname%.' + nobroadcast: Parabéns, você foi promovido a %titlename% %jobname%. levelup: - broadcast: '%playername% is now a level %joblevel% %jobname%.' - nobroadcast: You are now level %joblevel% %jobname%. + broadcast: '%playername% agora é nível %joblevel% %jobname%.' + nobroadcast: Agora você é nível %joblevel% %jobname%. leveldown: - message: '&cYou lost level&e %lostLevel%&c in&e %jobname%&c job! Level:&6 %joblevel%&c.' - cowtimer: '&eYou still need to wait &6%time% &esec to get paid for this job.' - blocktimer: '&eYou need to wait &3[time] &esec more to get paid for this!' - placeblocktimer: '&eYou can''t place blocks faster than &6[time] &esec in the same place!' - taxes: '&3[amount] &eserver taxes were transferred to this account' - boostStarted: '&eJobs boost time have been started!' - boostStoped: '&eJobs boost time have been ended!' + message: '&cVocê perdeu &e%lostLevel% níveis &c como&e %jobname%&c! Nível:&6 %joblevel%&c.' + cowtimer: '&eVocê precisa aguardar &6%time% &esegundos para ser pago nesta profissão.' + blocktimer: '&eVocê precisa aguardar &3[time] &esegundos para ser pago por isso!' + placeblocktimer: '&eVocê não pode colocar blocos mais rápido do que &6[time] &esegundos no mesmo lugar!' + taxes: '&3[amount] &eimpostos do servidor foram transferidos para esta conta' + boostStarted: '&eO tempo de impulso das profissões foi iniciado!' + boostStoped: '&eO tempo de impulso das profissões acabou!' crafting: - fullinventory: '&cYour inventory is full!' + fullinventory: '&cO seu inventário está cheio!' signs: List: '&0[number].&8[player]&7:&4[level]' questList: '&0[number].&8[player]&7:&4[quests]' SpecialList: - p1: '&b** &8First &b**' - p2: '&b** &8Second &b**' - p3: '&b** &8Third &b**' - p4: '&b** &8Fourth &b**' - p5: '&b** &8Fifth &b**' - p6: '&b** &8Sixth &b**' - p7: '&b** &8Seventh &b**' - p8: '&b** &8Eight &b**' - p9: '&b** &8Ninth &b**' - p10: '&b** &8Tenth &b**' + p1: '&b** &8Primeiro &b**' + p2: '&b** &8Segundo &b**' + p3: '&b** &8Terceiro &b**' + p4: '&b** &8Quarto &b**' + p5: '&b** &8Quinto &b**' + p6: '&b** &8Sexto &b**' + p7: '&b** &8Sétimo &b**' + p8: '&b** &8Oitavo &b**' + p9: '&b** &8Nono &b**' + p10: '&b** &8Décimo &b**' name: '&9[player]' - level: '&8[level] level' - quests: '&8[quests] quests' + level: '&8Nível [level]' + quests: '&8[quests] missões' bottom: '&b************' - cantcreate: '&4You can''t create this sign!' - cantdestroy: '&4You can''t destroy this sign!' + cantcreate: '&4Você não pode criar esta placa!' + cantdestroy: '&4Você não pode destruir esta placa!' topline: '&0[Jobs]' secondline: - join: '&0Join' - leave: '&0Leave' - toggle: '&0Toggle' + join: '&0Entrar' + leave: '&0Sair' + toggle: '&0Ativar/Desativar' top: '&0Top' - browse: '&0Browse' - stats: '&0Stats' - limit: '&0Limit' - info: '&0Info' - archive: '&0Archive' + browse: '&0Navegar' + stats: '&0Estatísticas' + limit: '&0Limite' + info: '&0Informação' + archive: '&0Arquivo' scoreboard: topline: '&2Top &e%jobname%' - gtopline: '&2Global top list' + gtopline: '&2Top global' line: '&2%number%. &e%playername% (&6%level%&e)' diff --git a/src/main/resources/locale/messages_ro.yml b/src/main/resources/locale/messages_ro.yml index 347ad9c0..ba2994c3 100644 --- a/src/main/resources/locale/messages_ro.yml +++ b/src/main/resources/locale/messages_ro.yml @@ -24,7 +24,7 @@ general: error: noHelpPage: '&cThere is no help page by this number!' notNumber: '&ePlease use numbers!' - job: '&cThe job you selected does not exist!' + job: '&cThe job you selected does not exist or you not joined to this' noCommand: '&cThere is no command by this name!' permission: '&cYou do not have permission to do that!' noinfo: '&cNo information found!' @@ -53,6 +53,9 @@ command: nextPage: '&6 Next &2>>----' nextPageOff: '&7 Next >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] entries' + prevPageGui: '&6Previous page ' + nextPageGui: '&6Next Page' moneyboost: help: info: Boosts money gain for all players @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7From level: %from% \n&7Until level: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &ePerm bonus: %money% %points% %exp%' - item: ' &eItem bonus: %money% %points% %exp%' - global: ' &eGlobal bonus: %money% %points% %exp%' - dynamic: ' &eDynamic bonus: %money% %points% %exp%' - nearspawner: ' &eSpawner bonus: %money% %points% %exp%' - petpay: ' &ePetPay bonus: %money% %points% %exp%' - area: ' &eArea bonus: %money% %points% %exp%' - mcmmo: ' &eMcMMO bonus: %money% %points% %exp%' - final: ' &eFinal bonus: %money% %points% %exp%' + permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + item: ' &eItem bonus: &2%money% &6%points% &e%exp%' + global: ' &eGlobal bonus: &2%money% &6%points% &e%exp%' + dynamic: ' &eDynamic bonus: &2%money% &6%points% &e%exp%' + nearspawner: ' &eSpawner bonus: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%' + area: ' &eArea bonus: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' + final: ' &eFinal bonus: &2%money% &6%points% &e%exp%' finalExplanation: ' &eDoes not include Petpay and Near spawner bonus/penalty' convert: help: @@ -254,6 +258,9 @@ command: reqJobs: '&eRequired jobs:' reqJobsList: ' &6%jobsname%&e: &e%level% lvl' reqTotalLevel: '&6Required total level: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cCan''t open this page' NoPermForItem: '&cYou don''t have required permissions for this item!' NoPermToBuy: '&cNo permissions to buy this item' @@ -296,9 +303,11 @@ command: jobinfo: '&e[jobname] info!' actions: '&eValid actions are:' leftClick: '&eLeft Click for more info' + middleClick: '&eMiddle Click to leave this job' rightClick: '&eRight click to join job' leftSlots: '&eLeft slots:&f ' working: '&2&nAlready working' + cantJoin: '&cYou can''t join to the selected job.' max: '&eMax level:&f ' back: '&e<<< Back' output: @@ -405,6 +414,7 @@ command: info: Check who visited this chunk error: noexplore: No one visited this chunk + fullExplore: '&aThis chunk is fully explored' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Removed &7[furnaces] &2furnaces and &7[brewing] &2brewing stands' + skipquest: + help: + info: Skip defined quest and get new one + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' quests: help: info: List available quests @@ -449,6 +465,8 @@ command: output: completed: '&2 !Completed!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Click to skip this quest' + skips: '&7Left skips: &f[skips]' hover: "&f[jobName] \n[desc] \n&7New quest in: [time]" fire: help: @@ -529,6 +547,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Prev page &2|' next: '&2|&e Next Page >>>>' @@ -543,6 +562,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cData not found' transfer: diff --git a/src/main/resources/locale/messages_ru.yml b/src/main/resources/locale/messages_ru.yml index 7d07355f..cde95d41 100644 --- a/src/main/resources/locale/messages_ru.yml +++ b/src/main/resources/locale/messages_ru.yml @@ -24,7 +24,7 @@ general: error: noHelpPage: '&cНет страницы справочника с этим номером!' notNumber: '&eПожалуйста, используйте целые числа!' - job: '&cРаботы, что вы выбрали, не существует!' + job: '&cThe job you selected does not exist or you not joined to this' noCommand: '&cТакой команды не существует!' permission: '&cУ вас нет прав на совершение этого дествия!' noinfo: '&cИнформация не найдена!' @@ -53,6 +53,9 @@ command: nextPage: '&6 Следующая страница &2>>----' nextPageOff: '&7 Следующая страница >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] entries' + prevPageGui: '&6Previous page ' + nextPageGui: '&6Next Page' moneyboost: help: info: Ускоряет получение денег для всех игроков @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7From level: %from% \n&7Until level: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &eНа основе привилегий: %money% %points% %exp%' - item: ' &eБонус на предмет: %money% %points% %exp%' - global: ' &eГлобальный: %money% %points% %exp%' - dynamic: ' &eДинамический бонус: %money% %points% %exp%' - nearspawner: ' &eБонус спавнера: %money% %points% %exp%' - petpay: ' &ePetPay бонус: %money% %points% %exp%' - area: ' &eНа основе местности: %money% %points% %exp%' - mcmmo: ' &eMcMMO бонус: %money% %points% %exp%' - final: ' &eИтого: %money% %points% %exp%' + permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + item: ' &eItem bonus: &2%money% &6%points% &e%exp%' + global: ' &eGlobal bonus: &2%money% &6%points% &e%exp%' + dynamic: ' &eDynamic bonus: &2%money% &6%points% &e%exp%' + nearspawner: ' &eSpawner bonus: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%' + area: ' &eArea bonus: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' + final: ' &eFinal bonus: &2%money% &6%points% &e%exp%' finalExplanation: ' &eНе включает бонусы/пенальти Petpay и Спавнеров' convert: help: @@ -254,6 +258,9 @@ command: reqJobs: '&eТребуемые работы:' reqJobsList: ' &6%jobsname%&e: &e%level% lvl' reqTotalLevel: '&6Требуется совокупный уровень: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cНе могу открыть эту страницу' NoPermForItem: '&cУ Вас нет прав на совершение этого действия!' NoPermToBuy: '&cУ Вас нет прав на покупку этого товара!' @@ -296,9 +303,11 @@ command: jobinfo: '&eИнформация о[jobname]!' actions: '&eДоступные действия:' leftClick: '&eНажмите ЛКМ, чтобы узнать подробнее' + middleClick: '&eMiddle Click to leave this job' rightClick: '&eНажмите ПКМ, чтобы устроиться на работу' leftSlots: '&e"Осталось вакансий":&f ' working: '&2&nТекущая работа' + cantJoin: '&cYou can''t join to the selected job.' max: '&eМаксимальный уровень:&f ' back: '&e<--Вернуться' output: @@ -405,6 +414,7 @@ command: info: Проверить, кто посещал этот чанк. error: noexplore: Никто ещё не был замечен на этом чанке + fullExplore: '&aThis chunk is fully explored' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Removed &7[furnaces] &2furnaces and &7[brewing] &2brewing stands' + skipquest: + help: + info: Skip defined quest and get new one + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2Ты пропустил задание и заплатил:&e %amount%$' quests: help: info: Отобразить список доступных квестов. @@ -449,6 +465,8 @@ command: output: completed: '&2 !Завершено!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Click to skip this quest' + skips: '&7Left skips: &f[skips]' hover: "&f[jobName] \n[desc] \n&7New quest in: [time]" fire: help: @@ -529,6 +547,7 @@ command: money: '&6деньги: %amount% ' exp: '&eexp: %amount% ' points: '&6очки: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Prev page &2|' next: '&2|&e Next Page >>>>' @@ -543,6 +562,7 @@ command: money: '&6деньги: %amount% ' exp: '&eопыт: %amount% ' points: '&6очки: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cДанные не найдены' transfer: diff --git a/src/main/resources/locale/messages_tr.yml b/src/main/resources/locale/messages_tr.yml index 9e33f14b..22db116d 100644 --- a/src/main/resources/locale/messages_tr.yml +++ b/src/main/resources/locale/messages_tr.yml @@ -24,7 +24,7 @@ general: error: noHelpPage: '&cBu sayıda bir yardım sayfası yok!' notNumber: '&eLütfen sayıları kullanın!' - job: '&cBöyle bir meslek bulunmamaktadır!' + job: '&cThe job you selected does not exist or you not joined to this' noCommand: '&cThere is no command by this name!' permission: '&cBunun için yetkiniz bulunmamaktadır!' noinfo: '&cBilgi bulunamadı!' @@ -53,6 +53,9 @@ command: nextPage: '&6 Next &2>>----' nextPageOff: '&7 Next >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] entries' + prevPageGui: '&6Previous page ' + nextPageGui: '&6Next Page' moneyboost: help: info: Tüm oyunculara para avansı verir. @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7From level: %from% \n&7Until level: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[Para] &6[Puan] &e[EXP] &7****************' - permission: ' &eYetki bonusu: %money% %points% %exp%' - item: ' &eItem bonusu: %money% %points% %exp%' - global: ' &eGenell bonus: %money% %points% %exp%' - dynamic: ' &eDinamik ödeme bonus: %money% %points% %exp%' - nearspawner: ' &eSpawner bonus: %money% %points% %exp%' - petpay: ' &ePetPay bonus: %money% %points% %exp%' - area: ' &eAlan bonusu: %money% %points% %exp%' - mcmmo: ' &eMcMMO bonus: %money% %points% %exp%' - final: ' &eFinal bonus: %money% %points% %exp%' + permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + item: ' &eItem bonus: &2%money% &6%points% &e%exp%' + global: ' &eGlobal bonus: &2%money% &6%points% &e%exp%' + dynamic: ' &eDynamic bonus: &2%money% &6%points% &e%exp%' + nearspawner: ' &eSpawner bonus: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%' + area: ' &eArea bonus: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' + final: ' &eFinal bonus: &2%money% &6%points% &e%exp%' finalExplanation: ' &eSpawner ve Pet bonusu dahil değildir.' convert: help: @@ -254,6 +258,9 @@ command: reqJobs: '&eGereken Meslekler:' reqJobsList: ' &6%jobsname%&e: &e%level% lvl' reqTotalLevel: '&6Gereken toplam level: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&cBu sayfayı açamazsın.' NoPermForItem: '&cBunu kullanmak için yetkin yok!' NoPermToBuy: '&cBu item için yetkin yok' @@ -296,9 +303,11 @@ command: jobinfo: '&b[meslek] &abilgi!' actions: '&bPara &aKazanılan Eylemler :' leftClick: '&bSol &atıklayarak bilgi al' + middleClick: '&eMiddle Click to leave this job' rightClick: '&bSağ &atıklayarak katıl' leftSlots: '&eKalan Slotlar:&f ' working: '&2&nZaten alınmış' + cantJoin: '&cYou can''t join to the selected job.' max: '&eMaximum level:&f ' back: '&e<<< Geri' output: @@ -405,6 +414,7 @@ command: info: Check who visited this chunk error: noexplore: No one visited this chunk + fullExplore: '&aThis chunk is fully explored' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Removed &7[furnaces] &2furnaces and &7[brewing] &2brewing stands' + skipquest: + help: + info: Skip defined quest and get new one + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' quests: help: info: List available quests @@ -449,6 +465,8 @@ command: output: completed: '&2 !Completed!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Click to skip this quest' + skips: '&7Left skips: &f[skips]' hover: "&f[jobName] \n[desc] \n&7New quest in: [time]" fire: help: @@ -529,6 +547,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Önceki Sayfa &2|' next: '&2|&e Sonraki Sayfa >>>>' @@ -543,6 +562,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7**************************************************************' nodata: '&cVeri bulunamadı' transfer: diff --git a/src/main/resources/locale/messages_zhcn.yml b/src/main/resources/locale/messages_zhcn.yml index b4e24d99..8db9ccc4 100644 --- a/src/main/resources/locale/messages_zhcn.yml +++ b/src/main/resources/locale/messages_zhcn.yml @@ -24,7 +24,7 @@ general: error: noHelpPage: '&c帮助页面没有这个页数!' notNumber: '&e请使用数字!' - job: '&c你选择的职业不存在!' + job: '&cThe job you selected does not exist or you not joined to this' noCommand: '&cThere is no command by this name!' permission: '&c你没有权限这样做!' noinfo: '&c没有找到信息!' @@ -53,6 +53,9 @@ command: nextPage: '&6 Next &2>>----' nextPageOff: '&7 Next >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] entries' + prevPageGui: '&6Previous page ' + nextPageGui: '&6Next Page' moneyboost: help: info: 加成玩家得到的游戏币 @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7From level: %from% \n&7Until level: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &e权限加成: %money% %points% %exp%' - item: ' &e物品加成: %money% %points% %exp%' - global: ' &e全局加成: %money% %points% %exp%' - dynamic: ' &动态加成: %money% %points% %exp%' - nearspawner: ' &eSpawner bonus: %money% %points% %exp%' - petpay: ' &e宠物加成: %money% %points% %exp%' - area: ' &e区域加成: %money% %points% %exp%' - mcmmo: ' &eMcMMO加成: %money% %points% %exp%' - final: ' &e最终加成: %money% %points% %exp%' + permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + item: ' &eItem bonus: &2%money% &6%points% &e%exp%' + global: ' &eGlobal bonus: &2%money% &6%points% &e%exp%' + dynamic: ' &eDynamic bonus: &2%money% &6%points% &e%exp%' + nearspawner: ' &eSpawner bonus: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%' + area: ' &eArea bonus: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' + final: ' &eFinal bonus: &2%money% &6%points% &e%exp%' finalExplanation: ' &e不包括宠物和附近生成加成' convert: help: @@ -254,6 +258,9 @@ command: reqJobs: '&e职业需求:' reqJobsList: ' &6%jobsname%&e: &eLV.%level%' reqTotalLevel: '&6总等级需求: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&c不能打开这个页面' NoPermForItem: '&c你没有指定的权限使用此物品!' NoPermToBuy: '&c你没有制定的权限购买此物品' @@ -296,9 +303,11 @@ command: jobinfo: '&e[jobname] 信息!' actions: '&e可用的动作:' leftClick: '&e左键查看更多信息' + middleClick: '&eMiddle Click to leave this job' rightClick: '&e右键加入职业' leftSlots: '&e剩余:&f ' working: '&2&n已经就业' + cantJoin: '&cYou can''t join to the selected job.' max: '&e最高等级:&f ' back: '&e<<< 返回' output: @@ -405,6 +414,7 @@ command: info: Check who visited this chunk error: noexplore: No one visited this chunk + fullExplore: '&aThis chunk is fully explored' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Removed &7[furnaces] &2furnaces and &7[brewing] &2brewing stands' + skipquest: + help: + info: Skip defined quest and get new one + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' quests: help: info: List available quests @@ -449,6 +465,8 @@ command: output: completed: '&2 !Completed!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Click to skip this quest' + skips: '&7Left skips: &f[skips]' hover: "&f[jobName] \n[desc] \n&7New quest in: [time]" fire: help: @@ -529,6 +547,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< 上一页 &2|' next: '&2|&e 下一页 >>>>' @@ -543,6 +562,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7**************************************************************' nodata: '&c没有数据' transfer: diff --git a/src/main/resources/locale/messages_zhtw.yml b/src/main/resources/locale/messages_zhtw.yml index eb8b05ac..35811700 100644 --- a/src/main/resources/locale/messages_zhtw.yml +++ b/src/main/resources/locale/messages_zhtw.yml @@ -24,7 +24,7 @@ general: error: noHelpPage: '&c幫助頁面沒有這個頁數!' notNumber: '&e請使用數字!' - job: '&c你選擇的職業不存在!' + job: '&cThe job you selected does not exist or you not joined to this' noCommand: '&cThere is no command by this name!' permission: '&c你沒有權限這樣做!' noinfo: '&c沒有找到資訊!' @@ -53,6 +53,9 @@ command: nextPage: '&6 下一頁 &2>>----' nextPageOff: '&7 下一頁 >>----' pageCount: '&2[current]/[total]' + pageCountHover: '&e[totalEntries] entries' + prevPageGui: '&6Previous page ' + nextPageGui: '&6Next Page' moneyboost: help: info: 加成玩家得到的遊戲幣 @@ -92,6 +95,7 @@ command: args: '' output: list: '&e[jobname]: %money% %points% %exp%' + notAplyingList: '&7[jobname]: %money% %points% %exp%' hover: '&7%itemtype%' hoverLevelLimits: "&7From level: %from% \n&7Until level: %until%" edititembonus: @@ -104,15 +108,15 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &e權限加成: %money% %points% %exp%' - item: ' &e物品加成: %money% %points% %exp%' - global: ' &e全局加成: %money% %points% %exp%' - dynamic: ' &動態加成: %money% %points% %exp%' - nearspawner: ' &eSpawner bonus: %money% %points% %exp%' - petpay: ' &e寵物加成: %money% %points% %exp%' - area: ' &e區域加成: %money% %points% %exp%' - mcmmo: ' &eMcMMO加成: %money% %points% %exp%' - final: ' &e最終加成: %money% %points% %exp%' + permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + item: ' &eItem bonus: &2%money% &6%points% &e%exp%' + global: ' &eGlobal bonus: &2%money% &6%points% &e%exp%' + dynamic: ' &eDynamic bonus: &2%money% &6%points% &e%exp%' + nearspawner: ' &eSpawner bonus: &2%money% &6%points% &e%exp%' + petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%' + area: ' &eArea bonus: &2%money% &6%points% &e%exp%' + mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' + final: ' &eFinal bonus: &2%money% &6%points% &e%exp%' finalExplanation: ' &e不包括寵物和附近生成加成' convert: help: @@ -254,6 +258,9 @@ command: reqJobs: '&e職業需求:' reqJobsList: ' &6%jobsname%&e: &eLV.%level%' reqTotalLevel: '&6總等級需求: &e%totalLevel%' + reqJobsColor: '&c' + reqJobsLevelColor: '&4' + reqTotalLevelColor: '&4' cantOpen: '&c不能打開這個頁面' NoPermForItem: '&c你沒有權限使用此物品!' NoPermToBuy: '&c你沒有權限購買此物品' @@ -296,9 +303,11 @@ command: jobinfo: '&e[jobname] 資訊!' actions: '&e可用的動作:' leftClick: '&e左键查看更多資訊' + middleClick: '&eMiddle Click to leave this job' rightClick: '&e右键加入職業' leftSlots: '&e剩餘:&f ' working: '&2&n已經就業' + cantJoin: '&cYou can''t join to the selected job.' max: '&e最高等級:&f ' back: '&e<<< 返回' output: @@ -405,6 +414,7 @@ command: info: Check who visited this chunk error: noexplore: No one visited this chunk + fullExplore: '&aThis chunk is fully explored' list: '&e%place%. %playername%' browse: help: @@ -439,6 +449,12 @@ command: args: '[playername]' output: cleared: '&2Removed &7[furnaces] &2furnaces and &7[brewing] &2brewing stands' + skipquest: + help: + info: Skip defined quest and get new one + args: '[jobname] [questname] (playerName)' + output: + questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' quests: help: info: List available quests @@ -449,6 +465,8 @@ command: output: completed: '&2 !Completed!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' + skip: '&7Click to skip this quest' + skips: '&7Left skips: &f[skips]' hover: "&f[jobName] \n[desc] \n&7New quest in: [time]" fire: help: @@ -529,6 +547,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< 上一頁 &2|' next: '&2|&e 下一頁 >>>>' @@ -543,6 +562,7 @@ command: money: '&6money: %amount% ' exp: '&eexp: %amount% ' points: '&6points: %amount%' + totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7**************************************************************' nodata: '&c沒有資料' transfer: