From 03dee3da8e908e38d65d0c65b4b48233dabff104 Mon Sep 17 00:00:00 2001 From: montlikadani Date: Thu, 17 Dec 2020 16:21:51 +0100 Subject: [PATCH 1/2] Remove redundant fields from heap --- .../gamingmesh/jobs/PermissionManager.java | 5 +- .../jobs/Placeholders/Placeholder.java | 14 +++- .../com/gamingmesh/jobs/commands/list/bp.java | 9 +-- .../gamingmesh/jobs/commands/list/browse.java | 7 +- .../jobs/commands/list/fireall.java | 8 +- .../gamingmesh/jobs/commands/list/glog.java | 35 ++++---- .../gamingmesh/jobs/config/ConfigManager.java | 79 +++++++------------ .../com/gamingmesh/jobs/container/Job.java | 29 +++---- .../jobs/listeners/JobsPaymentListener.java | 3 +- src/main/resources/jobs/_EXAMPLE.yml | 8 +- 10 files changed, 87 insertions(+), 110 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/PermissionManager.java b/src/main/java/com/gamingmesh/jobs/PermissionManager.java index 3b424aea..d7127d11 100644 --- a/src/main/java/com/gamingmesh/jobs/PermissionManager.java +++ b/src/main/java/com/gamingmesh/jobs/PermissionManager.java @@ -29,7 +29,6 @@ import org.bukkit.permissions.PermissionAttachmentInfo; import com.gamingmesh.jobs.container.Job; import com.gamingmesh.jobs.container.JobsPlayer; -import com.gamingmesh.jobs.stuff.Debug; public class PermissionManager { @@ -128,7 +127,7 @@ public class PermissionManager { public Double getMaxPermission(JobsPlayer jPlayer, String perm, boolean force, boolean cumulative) { if (jPlayer == null || jPlayer.getPlayer() == null) return 0D; - + perm = perm.toLowerCase(); if (!perm.endsWith(".")) perm += "."; @@ -157,7 +156,7 @@ public class PermissionManager { } } - return amount == Double.NEGATIVE_INFINITY ? 0D : amount; + return amount == Double.NEGATIVE_INFINITY ? 0D : amount; } public boolean hasPermission(JobsPlayer jPlayer, String perm) { diff --git a/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java b/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java index 4ef8cad6..da553503 100644 --- a/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java +++ b/src/main/java/com/gamingmesh/jobs/Placeholders/Placeholder.java @@ -544,9 +544,19 @@ public class Placeholder { Title title = Jobs.gettitleManager().getTitle(j.getLevel(), j.getJob().getName()); return title == null ? "" : title.getChatColor() + title.getName(); case user_archived_jobs_level: - return j == null ? "" : Integer.toString(user.getArchivedJobProgression(j.getJob()).getLevel()); + if (j == null) { + return ""; + } + + JobProgression archivedJobProg = user.getArchivedJobProgression(j.getJob()); + return archivedJobProg == null ? "" : Integer.toString(archivedJobProg.getLevel()); case user_archived_jobs_exp: - return j == null ? "" : Double.toString(user.getArchivedJobProgression(j.getJob()).getExperience()); + if (j == null) { + return ""; + } + + JobProgression archivedJobProgression = user.getArchivedJobProgression(j.getJob()); + return archivedJobProgression == null ? "" : Double.toString(archivedJobProgression.getExperience()); default: break; } diff --git a/src/main/java/com/gamingmesh/jobs/commands/list/bp.java b/src/main/java/com/gamingmesh/jobs/commands/list/bp.java index 4fe91dc0..84dacaee 100644 --- a/src/main/java/com/gamingmesh/jobs/commands/list/bp.java +++ b/src/main/java/com/gamingmesh/jobs/commands/list/bp.java @@ -56,12 +56,9 @@ public class bp implements Cmd { changedBlocks.add(l.getBlock()); if (Version.isCurrentEqualOrHigher(Version.v1_15_R1)) { - if (bp.getAction() == DBAction.DELETE) - player.sendBlockChange(l, CMIMaterial.RED_STAINED_GLASS.getMaterial().createBlockData()); - else if (time == -1) - player.sendBlockChange(l, CMIMaterial.BLACK_STAINED_GLASS.getMaterial().createBlockData()); - else - player.sendBlockChange(l, CMIMaterial.WHITE_STAINED_GLASS.getMaterial().createBlockData()); + player.sendBlockChange(l, (bp.getAction() == DBAction.DELETE ? + CMIMaterial.RED_STAINED_GLASS : + time == -1 ? CMIMaterial.BLACK_STAINED_GLASS : CMIMaterial.WHITE_STAINED_GLASS).getMaterial().createBlockData()); } else { if (bp.getAction() == DBAction.DELETE) player.sendBlockChange(l, CMIMaterial.RED_STAINED_GLASS.getMaterial(), (byte) 14); diff --git a/src/main/java/com/gamingmesh/jobs/commands/list/browse.java b/src/main/java/com/gamingmesh/jobs/commands/list/browse.java index fd73f3fa..acf95ad2 100644 --- a/src/main/java/com/gamingmesh/jobs/commands/list/browse.java +++ b/src/main/java/com/gamingmesh/jobs/commands/list/browse.java @@ -19,7 +19,6 @@ public class browse implements Cmd { @Override @JobCommand(200) public boolean perform(Jobs plugin, CommandSender sender, final String[] args) { - if (Jobs.getGCManager().BrowseUseNewLook) { List jobList = new ArrayList<>(Jobs.getJobs()); if (jobList.isEmpty()) { @@ -32,25 +31,24 @@ public class browse implements Cmd { Jobs.getGUIManager().openJobsBrowseGUI((Player) sender); } catch (Throwable e) { ((Player) sender).closeInventory(); - return true; } return true; } - Job j = null; int page = 1; if (sender instanceof Player) { for (String one : args) { if (one.startsWith("-p:")) { try { page = Integer.parseInt(one.substring("-p:".length())); - continue; } catch (Exception e) { } } } } + + Job j = null; for (String one : args) { if (one.startsWith("-j:")) { j = Jobs.getJob(one.substring("-j:".length())); @@ -228,7 +226,6 @@ public class browse implements Cmd { Jobs.getGUIManager().openJobsBrowseGUI((Player) sender); } catch (Throwable e) { ((Player) sender).closeInventory(); - return true; } return true; diff --git a/src/main/java/com/gamingmesh/jobs/commands/list/fireall.java b/src/main/java/com/gamingmesh/jobs/commands/list/fireall.java index 6acf4e12..92dc8d32 100644 --- a/src/main/java/com/gamingmesh/jobs/commands/list/fireall.java +++ b/src/main/java/com/gamingmesh/jobs/commands/list/fireall.java @@ -1,8 +1,6 @@ package com.gamingmesh.jobs.commands.list; import java.util.List; -import java.util.Map.Entry; -import java.util.UUID; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; @@ -32,10 +30,10 @@ public class fireall implements Cmd { Jobs.getDBManager().getDB().truncate(DBTables.JobsTable.getTableName()); - for (Entry one : Jobs.getPlayerManager().getPlayersCache().entrySet()) { - one.getValue().leaveAllJobs(); + for (JobsPlayer one : Jobs.getPlayerManager().getPlayersCache().values()) { + one.leaveAllJobs(); // No need to save as we are clearing database with more efficient method - one.getValue().setSaved(true); + one.setSaved(true); } sender.sendMessage(Jobs.getLanguage().getMessage("general.admin.success")); diff --git a/src/main/java/com/gamingmesh/jobs/commands/list/glog.java b/src/main/java/com/gamingmesh/jobs/commands/list/glog.java index 26b83765..45114ab7 100644 --- a/src/main/java/com/gamingmesh/jobs/commands/list/glog.java +++ b/src/main/java/com/gamingmesh/jobs/commands/list/glog.java @@ -4,7 +4,6 @@ import java.text.NumberFormat; import java.util.HashMap; import java.util.Locale; import java.util.Map; -import java.util.Map.Entry; import org.bukkit.Bukkit; import org.bukkit.command.CommandSender; @@ -36,8 +35,8 @@ public class glog implements Cmd { Map unsortMap = new HashMap<>(); int time = TimeManage.timeInInt(); - for (Integer OneP : Jobs.getJobsDAO().getLognameList(time, time)) { - PlayerInfo info = Jobs.getPlayerManager().getPlayerInfo(OneP); + for (Integer oneP : Jobs.getJobsDAO().getLognameList(time, time)) { + PlayerInfo info = Jobs.getPlayerManager().getPlayerInfo(oneP); if (info == null) continue; @@ -45,21 +44,19 @@ public class glog implements Cmd { if (name == null) continue; - JobsPlayer JPlayer = Jobs.getPlayerManager().getJobsPlayer(info.getUuid()); - if (JPlayer == null) + JobsPlayer jPlayer = Jobs.getPlayerManager().getJobsPlayer(info.getUuid()); + if (jPlayer == null) continue; - HashMap logList = JPlayer.getLog(); + HashMap logList = jPlayer.getLog(); if (logList == null || logList.isEmpty()) continue; - for (Entry l : logList.entrySet()) { - Log one = l.getValue(); - HashMap AmountList = one.getAmountList(); - for (Entry oneMap : AmountList.entrySet()) { - oneMap.getValue().setUsername(name); - oneMap.getValue().setAction(one.getActionType()); - unsortMap.put(oneMap.getValue(), oneMap.getValue().get(CurrencyType.MONEY)); + for (Log l : logList.values()) { + for (LogAmounts amounts : l.getAmountList().values()) { + amounts.setUsername(name); + amounts.setAction(l.getActionType()); + unsortMap.put(amounts, amounts.get(CurrencyType.MONEY)); } } } @@ -77,25 +74,23 @@ public class glog implements Cmd { totalPoints = 0; sender.sendMessage(Jobs.getLanguage().getMessage("command.glog.output.topline")); - for (Entry one : unsortMap.entrySet()) { - LogAmounts info = one.getKey(); - + for (LogAmounts info : unsortMap.keySet()) { double money = info.get(CurrencyType.MONEY); - totalMoney = totalMoney + money; + totalMoney += money; String moneyS = ""; if (money != 0D) moneyS = Jobs.getLanguage().getMessage("command.glog.output.money", "%amount%", money); double exp = info.get(CurrencyType.EXP); - totalExp = totalExp + exp; + totalExp += exp; String expS = ""; if (exp != 0D) expS = Jobs.getLanguage().getMessage("command.glog.output.exp", "%amount%", exp); double points = info.get(CurrencyType.POINTS); - totalPoints = totalPoints + points; + totalPoints += points; String pointsS = ""; if (points != 0D) @@ -104,7 +99,7 @@ public class glog implements Cmd { sender.sendMessage(Jobs.getLanguage().getMessage("command.glog.output.ls", "%number%", count, "%action%", info.getAction(), - "%item%", info.getItemName().replace(":0", "").replace("_", " ").toLowerCase(), + "%item%", info.getItemName().replace(":0", "").replace('_', ' ').toLowerCase(), "%qty%", info.getCount(), "%money%", moneyS, "%exp%", expS, diff --git a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java index 979206de..f07a2b62 100644 --- a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java @@ -19,7 +19,6 @@ package com.gamingmesh.jobs.config; import java.io.File; -import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; @@ -29,7 +28,6 @@ import java.util.Map; import java.util.Set; import org.apache.commons.lang.StringEscapeUtils; -import org.bukkit.Bukkit; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; @@ -70,8 +68,8 @@ public class ConfigManager { private final Set jobFiles = new HashSet<>(); - public static final String exampleJobName = "_EXAMPLE"; - public static final String exampleJobInternalName = "exampleJob"; + public static final String EXAMPLEJOBNAME = "_EXAMPLE"; + public static final String EXAMPLEJOBINTERNALNAME = "exampleJob"; public ConfigManager() { this.jobFile = new File(Jobs.getFolder(), "jobConfig.yml"); @@ -81,7 +79,7 @@ public class ConfigManager { } private void updateExampleFile() { - ConfigReader cfg = new ConfigReader(new File(Jobs.getFolder(), "jobs" + File.separator + exampleJobName.toUpperCase() + ".yml")); + ConfigReader cfg = new ConfigReader(new File(Jobs.getFolder(), "jobs" + File.separator + EXAMPLEJOBNAME.toUpperCase() + ".yml")); if (!cfg.getFile().isFile()) return; cfg.load(); @@ -311,7 +309,7 @@ public class ConfigManager { } public void changeJobsSettings(String jobName, String path, Object value) { - path = path.replace("/", "."); + path = path.replace('/', '.'); for (YmlMaker yml : jobFiles) { if (yml.getConfigFile().getName().contains(jobName.toLowerCase())) { yml.getConfig().set(path, value); @@ -323,9 +321,7 @@ public class ConfigManager { public class KeyValues { - private String type; - private String subType = ""; - private String meta = ""; + private String type, subType = "", meta = ""; private int id = 0; public String getType() { @@ -628,12 +624,12 @@ public class ConfigManager { } private boolean migrateJobs() { - YamlConfiguration oldConf = getJobConfig(); if (oldConf == null) { if (!jobsPathFolder.exists()) { jobsPathFolder.mkdirs(); } + if (jobsPathFolder.isDirectory() && jobsPathFolder.listFiles().length == 0) try { for (String f : Util.getFilesFromPackage("jobs", "", "yml")) { @@ -641,6 +637,7 @@ public class ConfigManager { } } catch (Exception c) { } + return false; } @@ -659,7 +656,7 @@ public class ConfigManager { for (String jobKey : jobsSection.getKeys(false)) { - String fileName = jobKey.equalsIgnoreCase(exampleJobName) ? jobKey.toUpperCase() : jobKey.toLowerCase(); + String fileName = jobKey.equalsIgnoreCase(EXAMPLEJOBNAME) ? jobKey.toUpperCase() : jobKey.toLowerCase(); YmlMaker newJobFile = new YmlMaker(jobsPathFolder, fileName + ".yml"); if (!newJobFile.exists()) { @@ -677,7 +674,7 @@ public class ConfigManager { newJobFile.saveConfig(); - if (!fileName.equalsIgnoreCase(exampleJobName)) { + if (!fileName.equalsIgnoreCase(EXAMPLEJOBNAME)) { jobFiles.add(newJobFile); } } @@ -705,7 +702,7 @@ public class ConfigManager { if (jobFiles.isEmpty()) { File[] files = jobsPathFolder.listFiles((dir, name) -> name.toLowerCase().endsWith(".yml") - && !name.toLowerCase().equalsIgnoreCase(exampleJobName + ".yml")); + && !name.toLowerCase().equalsIgnoreCase(EXAMPLEJOBNAME + ".yml")); if (files != null) { for (File file : files) { jobFiles.add(new YmlMaker(jobsPathFolder, file)); @@ -739,7 +736,7 @@ public class ConfigManager { for (String jobKey : jobsSection.getKeys(false)) { // Ignore example job - if (jobKey.equalsIgnoreCase(exampleJobInternalName)) { + if (jobKey.equalsIgnoreCase(EXAMPLEJOBINTERNALNAME)) { continue; } @@ -747,7 +744,7 @@ public class ConfigManager { jobKey = StringEscapeUtils.unescapeJava(jobKey); ConfigurationSection jobSection = jobsSection.getConfigurationSection(jobKey); - String jobFullName = jobSection.getString("fullname", null); + String jobFullName = jobSection.getString("fullname"); if (jobFullName == null) { log.warning("Job " + jobKey + " has an invalid fullname property. Skipping job!"); continue; @@ -775,7 +772,7 @@ public class ConfigManager { rejoinCd *= 1000L; } - String jobShortName = jobSection.getString("shortname", null); + String jobShortName = jobSection.getString("shortname"); if (jobShortName == null) { log.warning("Job " + jobKey + " is missing the shortname property. Skipping job!"); continue; @@ -884,7 +881,7 @@ public class ConfigManager { // Gui item int guiSlot = -1; - ItemStack GUIitem = CMIMaterial.GREEN_WOOL.newItemStack(); + ItemStack guiItem = CMIMaterial.GREEN_WOOL.newItemStack(); if (jobSection.contains("Gui")) { ConfigurationSection guiSection = jobSection.getConfigurationSection("Gui"); if (guiSection.isString("Item")) { @@ -921,24 +918,24 @@ public class ConfigManager { } if (material != null) - GUIitem = material.newItemStack(); + guiItem = material.newItemStack(); } else if (guiSection.isInt("Id") && guiSection.isInt("Data")) { - GUIitem = CMIMaterial.get(guiSection.getInt("Id"), guiSection.getInt("Data")).newItemStack(); + guiItem = CMIMaterial.get(guiSection.getInt("Id"), guiSection.getInt("Data")).newItemStack(); } else log.warning("Job " + jobKey + " has an invalid Gui property. Please fix this if you want to use it!"); for (String str4 : guiSection.getStringList("Enchantments")) { String[] id = str4.split(":"); - if (GUIitem.getItemMeta() instanceof EnchantmentStorageMeta) { - EnchantmentStorageMeta enchantMeta = (EnchantmentStorageMeta) GUIitem.getItemMeta(); + if (guiItem.getItemMeta() instanceof EnchantmentStorageMeta) { + EnchantmentStorageMeta enchantMeta = (EnchantmentStorageMeta) guiItem.getItemMeta(); enchantMeta.addStoredEnchant(CMIEnchantment.getEnchantment(id[0]), Integer.parseInt(id[1]), true); - GUIitem.setItemMeta(enchantMeta); + guiItem.setItemMeta(enchantMeta); } else - GUIitem.addUnsafeEnchantment(CMIEnchantment.getEnchantment(id[0]), Integer.parseInt(id[1])); + guiItem.addUnsafeEnchantment(CMIEnchantment.getEnchantment(id[0]), Integer.parseInt(id[1])); } if (guiSection.isString("CustomSkull")) { - GUIitem = Util.getSkull(guiSection.getString("CustomSkull")); + guiItem = Util.getSkull(guiSection.getString("CustomSkull")); } if (guiSection.getInt("slot", -1) >= 0) @@ -985,16 +982,6 @@ public class ConfigManager { } } - // Command on leave - List JobsCommandOnLeave = new ArrayList<>(); - if (jobSection.isList("cmd-on-leave")) - JobsCommandOnLeave = jobSection.getStringList("cmd-on-leave"); - - // Command on join - List JobsCommandOnJoin = new ArrayList<>(); - if (jobSection.isList("cmd-on-join")) - JobsCommandOnJoin = jobSection.getStringList("cmd-on-join"); - // Commands ArrayList jobCommand = new ArrayList<>(); ConfigurationSection commandsSection = jobSection.getConfigurationSection("commands"); @@ -1003,7 +990,7 @@ public class ConfigManager { ConfigurationSection commandSection = commandsSection.getConfigurationSection(commandKey); if (commandSection == null) { - log.warning("Job " + jobKey + " has an invalid command key" + commandKey + "!"); + log.warning("Job " + jobKey + " has an invalid command key " + commandKey + "!"); continue; } @@ -1019,12 +1006,6 @@ public class ConfigManager { } } - // Commands - List worldBlacklist = new ArrayList<>(); - if (jobSection.isList("world-blacklist")) { - worldBlacklist = jobSection.getStringList("world-blacklist"); - } - // Items **OUTDATED** Moved to ItemBoostManager!! HashMap jobItems = new HashMap<>(); ConfigurationSection itemsSection = jobSection.getConfigurationSection("items"); @@ -1084,10 +1065,10 @@ public class ConfigManager { // Limited Items HashMap jobLimitedItems = new HashMap<>(); - ConfigurationSection LimitedItemsSection = jobSection.getConfigurationSection("limitedItems"); - if (LimitedItemsSection != null) { - for (String itemKey : LimitedItemsSection.getKeys(false)) { - ConfigurationSection itemSection = LimitedItemsSection.getConfigurationSection(itemKey); + ConfigurationSection limitedItemsSection = jobSection.getConfigurationSection("limitedItems"); + if (limitedItemsSection != null) { + for (String itemKey : limitedItemsSection.getKeys(false)) { + ConfigurationSection itemSection = limitedItemsSection.getConfigurationSection(itemKey); if (itemSection == null) { log.warning("Job " + jobKey + " has an invalid item key " + itemKey + "!"); continue; @@ -1095,9 +1076,7 @@ public class ConfigManager { int id = itemSection.getInt("id"); - String name = null; - if (itemSection.isString("name")) - name = itemSection.getString("name"); + String name = itemSection.getString("name"); List lore = new ArrayList<>(); if (itemSection.isList("lore")) @@ -1128,7 +1107,9 @@ public class ConfigManager { } Job job = new Job(jobKey, jobFullName, jobShortName, description, color, maxExpEquation, displayMethod, maxLevel, vipmaxLevel, maxSlots, jobPermissions, jobCommand, - jobConditions, jobItems, jobLimitedItems, JobsCommandOnJoin, JobsCommandOnLeave, GUIitem, guiSlot, bossbar, rejoinCd, worldBlacklist); + jobConditions, jobItems, jobLimitedItems, jobSection.getStringList("cmd-on-join"), + jobSection.getStringList("cmd-on-leave"), guiItem, guiSlot, bossbar, rejoinCd, + jobSection.getStringList("world-blacklist")); job.setFullDescription(fDescription); job.setMoneyEquation(incomeEquation); diff --git a/src/main/java/com/gamingmesh/jobs/container/Job.java b/src/main/java/com/gamingmesh/jobs/container/Job.java index 8ccf81ce..1cb0ade4 100644 --- a/src/main/java/com/gamingmesh/jobs/container/Job.java +++ b/src/main/java/com/gamingmesh/jobs/container/Job.java @@ -69,15 +69,15 @@ public class Job { // max number of people allowed with this job on the server. private Integer maxSlots; - private List CmdOnJoin = new ArrayList<>(), CmdOnLeave = new ArrayList<>(); + private List cmdOnJoin = new ArrayList<>(), cmdOnLeave = new ArrayList<>(); - private ItemStack GUIitem; + private ItemStack guiItem; private int guiSlot = 0; private Long rejoinCd = 0L; private int totalPlayers = -1; - private Double bonus = null; + private Double bonus; private BoostMultiplier boost = new BoostMultiplier(); private String bossbar; @@ -89,12 +89,11 @@ public class Job { private final List quests = new ArrayList<>(); private int maxDailyQuests = 1; - private int id = 0; public Job(String jobName, String fullName, String jobShortName, String description, CMIChatColor jobColour, Parser maxExpEquation, DisplayMethod displayMethod, int maxLevel, int vipmaxLevel, Integer maxSlots, List jobPermissions, List jobCommands, List jobConditions, HashMap jobItems, - HashMap jobLimitedItems, List CmdOnJoin, List CmdOnLeave, ItemStack GUIitem, int guiSlot, String bossbar, Long rejoinCD, List worldBlacklist) { + HashMap jobLimitedItems, List cmdOnJoin, List cmdOnLeave, ItemStack guiItem, int guiSlot, String bossbar, Long rejoinCD, List worldBlacklist) { this.jobName = jobName == null ? "" : jobName; this.fullName = fullName == null ? "" : fullName; this.jobShortName = jobShortName; @@ -110,13 +109,16 @@ public class Job { this.jobConditions = jobConditions; this.jobItems = jobItems; this.jobLimitedItems = jobLimitedItems; - this.CmdOnJoin = CmdOnJoin; - this.CmdOnLeave = CmdOnLeave; - this.GUIitem = GUIitem; + this.cmdOnJoin = cmdOnJoin; + this.cmdOnLeave = cmdOnLeave; + this.guiItem = guiItem; this.guiSlot = guiSlot; this.bossbar = bossbar; this.rejoinCd = rejoinCD; - this.worldBlacklist = worldBlacklist; + + if (worldBlacklist != null) { + this.worldBlacklist = worldBlacklist; + } } public void addBoost(CurrencyType type, double Point) { @@ -197,15 +199,15 @@ public class Job { } public List getCmdOnJoin() { - return CmdOnJoin; + return cmdOnJoin; } public List getCmdOnLeave() { - return CmdOnLeave; + return cmdOnLeave; } public ItemStack getGuiItem() { - return GUIitem; + return guiItem; } public int getGuiSlot() { @@ -519,8 +521,7 @@ public class Job { while (true) { i++; - final Random rand = new Random(System.nanoTime()); - int target = rand.nextInt(100); + int target = new Random(System.nanoTime()).nextInt(100); for (Quest one : ls) { if (one.getChance() >= target && (excludeQuests == null || !excludeQuests.contains(one.getConfigName().toLowerCase())) && one.isInLevelRange(level)) { diff --git a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java index b22afea2..521a9616 100644 --- a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java +++ b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java @@ -27,7 +27,6 @@ import com.gamingmesh.jobs.container.blockOwnerShip.BlockOwnerShip; import com.gamingmesh.jobs.container.blockOwnerShip.BlockOwnerShip.ownershipFeedback; import com.gamingmesh.jobs.hooks.HookManager; import com.gamingmesh.jobs.hooks.JobsHook; -import com.gamingmesh.jobs.stuff.Debug; import com.google.common.base.Objects; import org.bukkit.Bukkit; @@ -418,7 +417,7 @@ public class JobsPaymentListener implements Listener { || brokenBlock == CMIMaterial.CACTUS.getMaterial() || brokenBlock == CMIMaterial.BAMBOO.getMaterial())) { return; } - + Jobs.action(Jobs.getPlayerManager().getJobsPlayer(player), bInfo, block); } diff --git a/src/main/resources/jobs/_EXAMPLE.yml b/src/main/resources/jobs/_EXAMPLE.yml index 4ba7645d..e575bc63 100644 --- a/src/main/resources/jobs/_EXAMPLE.yml +++ b/src/main/resources/jobs/_EXAMPLE.yml @@ -2,11 +2,11 @@ # # Edited by roracle to include 1.13 items and item names, preparing for 1.14 as well. +# ATTENTION! +# This is just an example job and will not be included into job list. Recomended to keep +# it around just for reference. Can be removed if needed. + # Must be one word. This job will be ignored as this is just example of all possible actions. - -# ATTENTION! -# This is just an example job and will not be included into job list. Recomended to keep it around just for reference. Can be removed if needed. - exampleJob: # full name of the job (displayed when browsing a job, used when joining and leaving) # also can be used as a prefix for the user's name if the option is enabled. From ed3ce013d61b7cea10f2938ab5ee3dea010e9cae Mon Sep 17 00:00:00 2001 From: montlikadani Date: Thu, 17 Dec 2020 16:26:13 +0100 Subject: [PATCH 2/2] New Crowdin updates --- src/main/resources/locale/messages_cs.yml | 2 +- src/main/resources/locale/messages_fr.yml | 28 +- src/main/resources/locale/messages_hu.yml | 2 +- src/main/resources/locale/messages_it_IT.yml | 714 +++++++++++++++++ src/main/resources/locale/messages_pl.yml | 18 +- src/main/resources/locale/messages_ro.yml | 800 +++++++++---------- src/main/resources/locale/messages_tr.yml | 68 +- 7 files changed, 1173 insertions(+), 459 deletions(-) create mode 100644 src/main/resources/locale/messages_it_IT.yml diff --git a/src/main/resources/locale/messages_cs.yml b/src/main/resources/locale/messages_cs.yml index 0a883f0d..e98a34b1 100644 --- a/src/main/resources/locale/messages_cs.yml +++ b/src/main/resources/locale/messages_cs.yml @@ -18,7 +18,7 @@ general: 'true': '&2Povoleno' 'false': '&cZakázáno' blocks: - furnace: Furnace + furnace: Pec smoker: Smoker blastfurnace: Blast furnace brewingstand: Brewing stand diff --git a/src/main/resources/locale/messages_fr.yml b/src/main/resources/locale/messages_fr.yml index 12dde570..591dfc8d 100644 --- a/src/main/resources/locale/messages_fr.yml +++ b/src/main/resources/locale/messages_fr.yml @@ -18,10 +18,10 @@ general: 'true': '&2Vrai' 'false': '&cFaux' blocks: - furnace: Furnace - smoker: Smoker - blastfurnace: Blast furnace - brewingstand: Brewing stand + furnace: Four + smoker: Fumoir + blastfurnace: Haut fourneau + brewingstand: Alambic admin: error: '&cUne erreur est survenue pendant l''exécution de la commande.' success: '&eLa commande a été exécutée avec succès.' @@ -36,8 +36,8 @@ general: ingame: '&cVous ne pouvez utiliser cette commande qu''en jeu!' fromconsole: '&cCette commande doit être lancée depuis la console!' worldisdisabled: '&cVous ne pouvez pas utiliser cette commande dans ce monde!' - newRegistration: '&eRegistered new ownership for [block] &7[current]&e/&f[max]' - noRegistration: '&cYou''ve reached max [block] count!' + newRegistration: '&eNouveau propriétaire enregistré pour [block] (&7[current]&e/&f[max]&e)' + noRegistration: '&cVous avez atteins la limite de [block] maximal !' command: help: output: @@ -118,12 +118,12 @@ command: args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + permission: ' &eBonus de premissions: &2%money% &6%points% &e%exp%' item: ' &eBonus d''objet: &2%money% &6%points% &e%exp%' global: ' &eBonus global: &2%money% &6%points% &e%exp%' dynamic: ' &eBonus dynamique: &2%money% &6%points% &e%exp%' nearspawner: ' &eBonus de Spawner: &2%money% &6%points% &e%exp%' - petpay: ' &ePetPay bonus: &2%money% &6%points% &e%exp%' + petpay: ' &eBonus paie animaux: &2%money% &6%points% &e%exp%' area: ' &eBonus de zone: &2%money% &6%points% &e%exp%' mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' final: ' &eBonus final: &2%money% &6%points% &e%exp%' @@ -258,8 +258,8 @@ command: nojob: Vous n'avez pas de métier. output: message: 'Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp' - max-level: ' &cMax level - %jobname%' - bossBarOutput: 'Lvl %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%' + max-level: ' &cNiveau max - %jobname%' + bossBarOutput: 'Niveau %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%' bossBarGain: ' &7(&f%gain%&7)' shop: help: @@ -317,7 +317,7 @@ 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' + middleClick: '&eClique molette pour quitter ce métier' rightClick: '&eClic droit pour rejoindre ce métier' leftSlots: '&ePlaces restantes :&f ' working: '&2&nVous exercez déjà ce métier' @@ -662,9 +662,9 @@ message: broadcast: '%playername% a été promu %titlename% %jobname%.' nobroadcast: Félicitations, vous avez été promu %titlename% %jobname%. max-level-reached: - title: '&2Max level reached' - subtitle: '&2in %jobname%!' - chat: '&cYou have reached the maximum level in %jobname%!' + title: 'Niveau maximum atteint' + subtitle: '&2dans %jobname% !' + chat: '&cVous avez atteint le niveau miximal au métier %jobname% !' levelup: broadcast: '%playername% est maintenant %jobname% niveau %joblevel%.' nobroadcast: Vous êtes maintenant %jobname% niveau %joblevel%. diff --git a/src/main/resources/locale/messages_hu.yml b/src/main/resources/locale/messages_hu.yml index 1f5afe21..ef677f46 100644 --- a/src/main/resources/locale/messages_hu.yml +++ b/src/main/resources/locale/messages_hu.yml @@ -41,7 +41,7 @@ general: command: help: output: - info: Típus /jobs [cmd] ? további információ a parancsról. + info: Írd be /jobs [cmd] ? a további információ a parancsról. cmdUsage: '&2Használat: &7[command]' label: Jobs cmdInfoFormat: '[command] &f- &2[description]' diff --git a/src/main/resources/locale/messages_it_IT.yml b/src/main/resources/locale/messages_it_IT.yml new file mode 100644 index 00000000..9ce7b99b --- /dev/null +++ b/src/main/resources/locale/messages_it_IT.yml @@ -0,0 +1,714 @@ +--- +economy: + error: + nomoney: '&cSorry, no money left in national bank!' +limitedItem: + error: + levelup: '&cYou need to level up in [jobname] to use this item!' +general: + info: + toplineseparator: '&7*********************** &6%playername% &7***********************' + separator: '&7*******************************************************' + time: + days: '&e%days% &6days ' + hours: '&e%hours% &6hours ' + mins: '&e%mins% &6min ' + secs: '&e%secs% &6sec ' + invalidPage: '&cInvalid page' + 'true': '&2True' + 'false': '&cFalse' + blocks: + furnace: Furnace + smoker: Smoker + blastfurnace: Blast furnace + brewingstand: Brewing stand + admin: + error: '&cThere was an error in the command.' + success: '&eYour command has been performed.' + error: + noHelpPage: '&cThere is no help page by this number!' + notNumber: '&ePlease use numbers!' + 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!' + noinfoByPlayer: '&cNo information found by [%playername%] player name!' + ingame: '&cYou can use this command only in game!' + fromconsole: '&cYou can use this command only from console!' + worldisdisabled: '&cYou can''t use command in this world!' + newRegistration: '&eRegistered new ownership for [block] &7[current]&e/&f[max]' + noRegistration: '&cYou''ve reached max [block] count!' +command: + help: + output: + info: Type /jobs [cmd] ? for more information about a command. + cmdUsage: '&2Usage: &7[command]' + label: Jobs + cmdInfoFormat: '[command] &f- &2[description]' + cmdFormat: '&7/[command] &f[arguments]' + helpPageDescription: '&2* [description]' + title: '&e-------&e ======= &6Jobs &e======= &e-------' + page: '&e-----&e ====== Page &6[1] &eof &6[2] &e====== &e-----' + fliperSimbols: '&e----------' + prevPage: '&2----<< &6Prev ' + prevPageOff: '&7----<< Prev ' + 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 + args: '[jobname]/all/reset [time]/[rate]' + output: + allreset: All money boosts turned off + jobsboostreset: Money boost has been turned off for %jobname% + nothingtoreset: Nothing to reset + boostalladded: Money boost of %boost% added for all jobs! + boostadded: Money boost of &e%boost% &aadded for &e%jobname%! + infostats: '&c-----> &aMoney rate x%boost% enabled&c <-------' + pointboost: + help: + info: Boosts point gain for all players + args: '[jobname]/all/reset [time]/[rate]' + output: + allreset: All point boosts turned off + jobsboostreset: Point boost has been turned off for %jobname% + nothingtoreset: Nothing to reset + 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 <-------' + expboost: + help: + info: Boosts exp gain for all players + args: '[jobname]/all/reset [time]/[rate]' + output: + allreset: All exp boosts turned off + jobsboostreset: Exp boost has been turned off for %jobname% + nothingtoreset: Nothing to reset + 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 <-------' + schedule: + help: + info: Enables the given scheduler + args: enable [scheduleName] [untilTime] + output: + noScheduleFound: '&cSchedule with this name not found.' + alreadyEnabled: '&cThis schedule already enabled.' + enabled: '&eSchedule have been enabled from&a %from%&e until&a %until%' + itembonus: + help: + info: Check item bonus + 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: + help: + info: Edit item boost bonus + args: list/add/remove [jobname] [itemBoostName] + bonus: + help: + info: Show job bonuses + args: '[jobname]' + output: + topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' + 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: + 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. + args: '' + limit: + help: + info: Shows payment limits for jobs + args: '[playername]' + output: + moneytime: '&eTime left until money limit resets: &2%time%' + moneyLimit: '&eMoney limit: &2%current%&e/&2%total%' + exptime: '&eTime left until Exp limit resets: &2%time%' + expLimit: '&eExp limit: &2%current%&e/&2%total%' + pointstime: '&eTime left until Point limit resets: &2%time%' + pointsLimit: '&ePoint limit: &2%current%&e/&2%total%' + reachedmoneylimit: '&4You have reached money limit in given time!' + reachedmoneylimit2: '&eYou can check your limit with &2/jobs limit &ecommand' + reachedmoneylimit3: '&eMoney earned is now reduced exponentially... But you still earn a little!' + reachedexplimit: '&4You have reached exp limit in given time!' + reachedexplimit2: '&eYou can check your limit with &2/jobs limit &ecommand' + reachedpointslimit: '&4You have reached exp limit in given time!' + reachedpointslimit2: '&eYou can check your limit with &2/jobs limit &ecommand' + notenabled: '&eMoney limit is not enabled' + resetlimit: + help: + info: Resets a player's payment limits + args: '[playername]' + output: + reseted: '&ePayment limits have been reset for: &2%playername%' + resetquest: + help: + info: Resets a player's quest + args: '[playername] [jobname]' + output: + reseted: '&eQuest has been reset for: &2%playername%' + noQuests: '&eCan''t find any quests' + points: + help: + info: Shows how much points does a player have. + args: '[playername]' + currentpoints: ' &eCurrent point amount: &6%currentpoints%' + totalpoints: ' &eTotal amount of collected points until now: &6%totalpoints%' + editpoints: + help: + info: Edit player's points. + args: set/add/take [playername] [amount] + output: + set: '&ePlayers (&6%playername%&e) points was set to &6%amount%' + add: '&ePlayer (&6%playername%&e) got additional &6%amount% &epoints. Now they have &6%total%' + take: '&ePlayer (&6%playername%&e) lost &6%amount% &epoints. Now they have &6%total%' + editjobs: + help: + info: Edit current jobs. + args: '' + list: + job: '&eJobs:' + jobs: ' -> [&e%jobname%&r]' + actions: ' -> [&e%actionname%&r]' + material: ' -> [&e%materialname%&r] ' + materialRemove: '&c[X]' + materialAdd: ' -> &e[&2+&e]' + money: ' -> &eMoney: &6%amount%' + exp: ' -> &eExp: &6%amount%' + points: ' -> &ePoints: &6%amount%' + 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' + editquests: + help: + info: Edit current quests. + args: '' + list: + quest: '&eQuests:' + jobs: ' -> [&e%jobname%&r]' + quests: ' -> [&e%questname%&r]' + actions: ' -> [&e%actionname%&r]' + objectives: ' -> [&e%objectivename%&r]' + 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' + blockinfo: + help: + info: Shows information for the block you are looking at. + args: '' + output: + name: ' &eBlock name: &6%blockname%' + id: ' &eBlock id: &6%blockid%' + data: ' &eBlock data: &6%blockdata%' + usage: ' &eUsage: &6%first% &eor &6%second%' + iteminfo: + help: + info: Shows information for the item you are holding. + args: '' + output: + name: ' &eItem name: &6%itemname%' + id: ' &eItem id: &6%itemid%' + data: ' &eItem data: &6%itemdata%' + usage: ' &eUsage: &6%first% &eor &6%second%' + placeholders: + help: + info: List out all placeholders + args: (parse) (placeholder) + output: + list: '&e[place]. &7[placeholder]' + outputResult: ' &eresult: &7[result]' + parse: '&6[placeholder] &7by [source] &6result &8|&f[result]&8|' + entitylist: + help: + info: Shows all possible entities that can be used with the plugin. + args: '' + stats: + help: + info: Show the level you are in each job you are part of. + args: '[playername]' + error: + nojob: Please join a job first. + output: + message: 'Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp' + max-level: ' &cMax level - %jobname%' + bossBarOutput: 'Lvl %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%' + bossBarGain: ' &7(&f%gain%&7)' + shop: + help: + info: Opens special jobs shop. + args: '' + info: + title: '&e------- &8Jobs shop &e-------' + currentPoints: '&eYou have: &6%currentpoints%' + price: '&ePrice: &6%price%' + 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' + NoJobReqForitem: '&cYou don''t have the required job (&6%jobname%&e) with required (&6%joblevel%&e) level' + NoPoints: '&cYou don''t have enough points' + NoTotalLevel: '&cTotal jobs level is too low (%totalLevel%)' + Paid: '&eYou have paid &6%amount% &efor this item' + archive: + help: + info: Shows all jobs saved in archive by user. + args: '[playername]' + error: + nojob: There is no jobs saved. + give: + help: + info: Gives item by jobs name and item category name. Player name is optional + args: '[playername] [jobname] [items/limiteditems] [jobitemname]' + output: + notonline: '&4Player with that name is not online!' + noitem: '&4Can''t find any item by given name!' + info: + help: + title: '&2*** &eJobs&2 ***' + info: Show how much each job is getting paid and for what. + penalty: '&eThis job has a penalty of &c[penalty]% &ebecause there are too many players working in it.' + bonus: '&eThis job has a bonus of &2[bonus]% &ebecause there are not enough players working in it.' + args: '[jobname] [action]' + actions: '&eValid actions are: &f%actions%' + max: ' - &emax level:&f ' + newMax: ' &eMax level: &f[max]' + material: '&7%material%' + levelRange: ' &a(&e%levelFrom% &a- &e%levelUntil% &alevels)' + levelFrom: ' &a(from &e%levelFrom% &alevel)' + levelUntil: ' &a(until &e%levelUntil% &alevel)' + money: ' &2%money%$' + points: ' &6%points%pts' + exp: ' &e%exp%xp' + gui: + pickjob: '&ePick your job!' + 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' + next: '&eNext >>>' + output: + break: + info: '&eBreak' + none: '%jobname% does not get money for breaking blocks.' + tntbreak: + info: '&eTNTBreak' + none: '%jobname% does not get money for breaking blocks with TNT.' + place: + info: '&ePlace' + none: '%jobname% does not get money for placing blocks.' + striplogs: + info: '&eStrip logs' + none: '%jobname% does not get money for stripping logs.' + kill: + info: '&eKill' + none: '%jobname% does not get money for killing monsters.' + mmkill: + info: '&eMMKill' + none: '%jobname% does not get money for killing Mythic monsters.' + fish: + info: '&eFish' + none: '%jobname% does not get money from fishing.' + craft: + info: '&eCraft' + none: '%jobname% does not get money from crafting.' + smelt: + info: '&eSmelt' + none: '%jobname% does not get money from smelting.' + brew: + info: '&eBrew' + none: '%jobname% does not get money from brewing.' + eat: + info: '&eEat' + none: '%jobname% does not get money from eating food.' + dye: + info: '&eDye' + none: '%jobname% does not get money from dyeing.' + enchant: + info: '&eEnchant' + none: '%jobname% does not get money from enchanting.' + vtrade: + info: '&eVillager trade' + none: '%jobname% does not get money for trading a villager.' + repair: + info: '&eRepair' + none: '%jobname% does not get money from repairing.' + breed: + info: '&eBreed' + none: '%jobname% does not get money from breeding.' + tame: + info: '&eTame' + none: '%jobname% does not get money from taming.' + milk: + info: '&eMilk' + none: '%jobname% does not get money from milking cows.' + shear: + info: '&eShear' + none: '%jobname% does not get money from shearing sheep.' + explore: + info: '&eExplore' + none: '%jobname% does not get money from exploring.' + custom-kill: + info: '&eCustom kill' + none: '%jobname% does not get money from custom player kills.' + collect: + info: '&eCollect' + none: '%jobname% does not get money for collecting blocks.' + bake: + info: '&eBake' + none: '%jobname% does not get money for cooking foods.' + playerinfo: + help: + info: Show how much each job is getting paid and for what on another player. + args: '[playername] [jobname] [action]' + join: + help: + info: Join the selected job. + args: '[jobname]' + error: + alreadyin: You are already in the job %jobname%. + fullslots: You cannot join the job %jobname%, there are no slots available. + maxjobs: You have already joined too many jobs. + rejoin: '&cCan''t rejoin this job. Wait [time]' + rejoin: '&aClick to rejoin this job: ' + success: You have joined the job %jobname%. + confirm: '&2Click to confirm joining action for the &7[jobname] &2job.' + leave: + help: + info: Leave the selected job. + args: '[oldplayerjob]' + success: You have left the job %jobname%. + confirmationNeed: '&cAre you sure you want to leave from&e [jobname]&c job? Type the command again within&6 [time] seconds &cto confirm!' + leaveall: + help: + info: Leave all your jobs. + 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!' + explored: + help: + 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: + info: List the jobs available to you. + error: + nojobs: There are no jobs you can join. + output: + header: 'You are allowed to join the following jobs:' + footer: For more information type in /jobs info [JobName] + totalWorkers: ' &7Workers: &e[amount]' + penalty: ' &4Penalty: &c[amount]%' + bonus: ' &2Bonus: &a[amount]%' + newHeader: '&2========== [amount] Available Jobs =========' + description: '[description]' + list: ' &8[place]. &7[jobname]' + console: + newHeader: '&2========== [amount] Available Jobs =========' + description: '[description]' + totalWorkers: ' &7Workers: &e[amount]' + penalty: ' &4Penalty: &c[amount]%' + bonus: ' &2Bonus: &a[amount]%' + list: ' &6[jobname]' + newMax: ' &eMax level: &f[max]' + click: '&bClick on the job to see more info about it!' + detailed: '&bClick to see more detailed list on job actions' + jobHeader: '&2========== [jobname] =========' + chooseJob: '&7&n&oChoose this job' + chooseJobHover: '&7Click here to get this job' + clearownership: + help: + info: Clear block ownership + args: '[playername]' + output: + cleared: '&2Removed &7[furnaces] &2furnaces, &7[brewing] &2brewing stands, &7[smoker]&2 smokers and &7[blast]&2 blast furnaces.' + 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 + args: '[playername]' + error: + noquests: '&cThere are no quests' + toplineseparator: '&7*********************** &6[playerName] &2(&f[questsDone]&2) &7***********************' + status: + changed: '&2The quests status has been changed to&r %status%' + started: '&aStarted' + stopped: '&cStopped' + 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: + info: Fire the player from the job. + args: '[playername] [jobname]' + error: + nojob: Player does not have the job %jobname%. + output: + target: You have been fired from %jobname%. + fireall: + help: + info: Fire player from all their jobs. + args: '[playername]/all' + error: + nojobs: Player does not have any jobs to be fired from! + output: + target: You have been fired from all your jobs. + employ: + help: + info: Employ the player to the job. + args: '[playername] [jobname]' + error: + alreadyin: Player is already in the job %jobname%. + fullslots: You cannot join the job %jobname%, there are no slots available. + output: + target: You have been employed as a %jobname%. + top: + help: + info: Shows top players by jobs name. + args: '[jobname]' + error: + nojob: Can't find any job with this name. + 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' + gtop: + help: + info: Shows top players by global jobs level. + args: '' + error: + nojob: Can't find any information. + 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' + area: + help: + info: Modify restricted areas. + args: add/remove/info/list + addUsage: '&eUsage: &6/Jobs area add [areaName/wg:worldGuardAreaName] [bonus]' + removeUsage: '&eUsage: &6/Jobs area remove [areaName]' + output: + addedNew: '&eAdded a new restricted area with &6%bonus% &ebonus' + removed: '&eRemoved the restricted area &6%name%' + 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: '&eThere are no saved restricted areas' + 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' + wgDontExist: '&eWorldGuard area by this name does not exist' + log: + help: + info: Shows statistics. + args: '[playername]' + output: + topline: '&7************************* &6%playername% &7*************************' + ls: '&7* &6%number%. &3%action%: &6%item% &eqty: %qty% %money%%exp%%points%' + 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 >>>>' + nodata: '&cData not found' + glog: + help: + info: Shows global statistics. + args: '' + output: + topline: '&7*********************** &6Global statistics &7***********************' + ls: '&7* &6%number%. &3%action%: &6%item% &eqty: %qty% %money%%exp%%points%' + 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: + help: + info: Transfer a player's job from an old job to a new job. + args: '[playername] [oldjob] [newjob]' + output: + target: You have been transferred from %oldjobname% to %newjobname%. + promote: + help: + info: Promote the player X levels in a job. + args: '[playername] [jobname] [levels]' + output: + target: You have been promoted %levelsgained% levels in %jobname%. + exp: + help: + info: Change the player exp for job. + args: '[playername] [jobname] set/add/take [amount]' + error: + nojob: '&cThis player must first join a job.' + output: + target: '&eYour exp was changed for %jobname% &eand now you at &6%level%lvl &eand with &6%exp%exp.' + level: + help: + info: Change the player's level in a job. + args: '[playername] [jobname] set/add/take [amount]' + error: + nojob: '&cThis player must first join a job.' + output: + target: '&eYour level was changed for %jobname% &eand now you at &6%level%lvl &eand with &6%exp%exp.' + demote: + help: + info: Demote the player X levels in a job. + args: '[playername] [jobname] [levels]' + output: + target: You have been demoted %levelslost% levels in %jobname%. + grantxp: + help: + info: Grants the player X experience in a job. + args: '[playername] [jobname] [xp]' + output: + target: You have been granted %xpgained% experience in %jobname%. + removexp: + help: + info: Remove X experience from the player in a job. + args: '[playername] [jobname] [xp]' + output: + target: You have lost %xplost% experience in %jobname%. + signupdate: + help: + info: Manually updates a sign by its name + args: '[jobname]' + bp: + help: + info: Shows block protections around you in 10 block radius + args: '' + output: + found: '&eFound &6%amount% &eprotected blocks around you' + notFound: '&eNo protected blocks found around you' + reload: + help: + info: Reload configurations. + toggle: + help: + info: Toggles payment output on action bar or bossbar. + args: actionbar/bossbar + output: + turnedoff: '&4This feature is turned off!' + paid: + main: '&aYou got:' + money: '&e[amount] money' + exp: '&7[exp] exp' + points: '&6[points] points' + 'on': '&aToggled: &aON' + 'off': '&aToggled: &4OFF' +message: + skillup: + broadcast: '%playername% has been promoted to a %titlename% %jobname%.' + nobroadcast: Congratulations, you have been promoted to a %titlename% %jobname%. + max-level-reached: + title: '&2Max level reached' + subtitle: '&2in %jobname%!' + chat: '&cYou have reached the maximum level in %jobname%!' + levelup: + broadcast: '%playername% is now a level %joblevel% %jobname%.' + nobroadcast: You are now level %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!' + taxes: '&3[amount] &eserver taxes were transferred to this account' + boostStarted: '&eJobs boost time have been started!' + boostStoped: '&eJobs boost time have been ended!' + crafting: + fullinventory: '&cYour inventory is full!' +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**' + name: '&9[player]' + level: '&8[level] level' + quests: '&8[quests] quests' + bottom: '&b************' + cantcreate: '&4You can''t create this sign!' + cantdestroy: '&4You can''t destroy this sign!' + topline: '&0[Jobs]' + secondline: + join: '&0Join' + leave: '&0Leave' + toggle: '&0Toggle' + top: '&0Top' + browse: '&0Browse' + stats: '&0Stats' + limit: '&0Limit' + info: '&0Info' + archive: '&0Archive' +scoreboard: + topline: '&2Top &e%jobname%' + gtopline: '&2Global top list' + line: '&2%number%. &e%playername% (&6%level%&e)' diff --git a/src/main/resources/locale/messages_pl.yml b/src/main/resources/locale/messages_pl.yml index 7e2a8d2d..73e635cc 100644 --- a/src/main/resources/locale/messages_pl.yml +++ b/src/main/resources/locale/messages_pl.yml @@ -36,8 +36,8 @@ general: ingame: '&cMożesz użyć tej komendy tylko w grze!' fromconsole: '&cMożesz użyć tej komendy tylko w konsoli!' worldisdisabled: '&cNie możesz użyć tej komendy w tym świecie!' - newRegistration: '&eRegistered new ownership for [block] &7[current]&e/&f[max]' - noRegistration: '&cYou''ve reached max [block] count!' + newRegistration: '&eZarejestrowano nową własność dla [block] &7[current]&e/&f[max]' + noRegistration: '&cOsiągnąłeś maksymalną ilość [block]!' command: help: output: @@ -93,12 +93,12 @@ command: infostats: '&c-----> &aStawka exp''a x%boost% włączona&c <-------' schedule: help: - info: Enables the given scheduler + info: Włącza dany harmonogram args: enable [scheduleName] [untilTime] output: - noScheduleFound: '&cSchedule with this name not found.' - alreadyEnabled: '&cThis schedule already enabled.' - enabled: '&eSchedule have been enabled from&a %from%&e until&a %until%' + noScheduleFound: '&cNie znaleziono harmonogramu o tej nazwie.' + alreadyEnabled: '&cTen harmonogram jest już włączony.' + enabled: 'Harmonogram został włączony od&a %from%&e do &a %until%' itembonus: help: info: Sprawdź bonus przedmiotu @@ -257,8 +257,8 @@ command: error: nojob: Najpierw dołącz do pracy. output: - message: 'Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp' - max-level: ' &cMax level - %jobname%' + message: 'Poziom %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp' + max-level: ' &cMaks. poziom - %jobname%' bossBarOutput: 'Poziom %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%' bossBarGain: ' &7(&f%gain%&7)' shop: @@ -463,7 +463,7 @@ command: info: Wyczyść własność bloku args: '[playername]' output: - cleared: '&2Removed &7[furnaces] &2furnaces, &7[brewing] &2brewing stands, &7[smoker]&2 smokers and &7[blast]&2 blast furnaces.' + cleared: '&2Usunięto &7[furnaces] &2piec(y), &7[brewing] &2statyw(ów) alchemiczny(ch), &7[smoker]&2 wędzarkę(ek) i &7[blast]&2 piec(y) hutniczy(ch).' skipquest: help: info: Pomiń dane zadanie i otrzymaj nowe diff --git a/src/main/resources/locale/messages_ro.yml b/src/main/resources/locale/messages_ro.yml index 9ce7b99b..0eb5d0c4 100644 --- a/src/main/resources/locale/messages_ro.yml +++ b/src/main/resources/locale/messages_ro.yml @@ -1,211 +1,211 @@ --- economy: error: - nomoney: '&cSorry, no money left in national bank!' + nomoney: '&cScuze, nu mai sunt bani in banca națională!' limitedItem: error: - levelup: '&cYou need to level up in [jobname] to use this item!' + levelup: '&cTrebuie să ai un nivel mai mare în [jobname] pentru a folosi acest item!' general: info: toplineseparator: '&7*********************** &6%playername% &7***********************' separator: '&7*******************************************************' time: - days: '&e%days% &6days ' - hours: '&e%hours% &6hours ' + days: '&e%days% &6zile ' + hours: '&e%hours% &6ore ' mins: '&e%mins% &6min ' - secs: '&e%secs% &6sec ' - invalidPage: '&cInvalid page' - 'true': '&2True' - 'false': '&cFalse' + secs: '&e%secs% &6secunde ' + invalidPage: '&cPagină invalidă' + 'true': '&2Adevărat' + 'false': '&cFals' blocks: - furnace: Furnace - smoker: Smoker - blastfurnace: Blast furnace - brewingstand: Brewing stand + furnace: Cuptor + smoker: Afumător + blastfurnace: Furnal + brewingstand: Stand de poțiuni admin: - error: '&cThere was an error in the command.' - success: '&eYour command has been performed.' + error: '&cA fost o eroare în comandă.' + success: '&eComanda ta a fost executată.' error: - noHelpPage: '&cThere is no help page by this number!' - notNumber: '&ePlease use numbers!' - 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!' - noinfoByPlayer: '&cNo information found by [%playername%] player name!' - ingame: '&cYou can use this command only in game!' - fromconsole: '&cYou can use this command only from console!' - worldisdisabled: '&cYou can''t use command in this world!' - newRegistration: '&eRegistered new ownership for [block] &7[current]&e/&f[max]' - noRegistration: '&cYou''ve reached max [block] count!' + noHelpPage: '&cNu este nici o pagină de ajutor cu acest număr!' + notNumber: '&eTe rog folosește numere!' + job: '&cJobul pe care l-ai selectat nu există sau nu ești înrolat' + noCommand: '&cNu este nici o comandă cu acest număr!' + permission: '&cNu ai permisiunea să faci asta!' + noinfo: '&cNici o informație găsită!' + noinfoByPlayer: '&cNici o informație găsită de [%playername%]!' + ingame: '&cPoți folosi această comandă doar in joc!' + fromconsole: '&cPoți folosi această comandă doar din consolă!' + worldisdisabled: '&cNu poți folosi comanda in lumea aceasta!' + newRegistration: '&ePropreietate nouă înregistrată pentru [block] &7[current]&e/&f[max]' + noRegistration: '&cAi ajuns la numărul maxim de [block]!' command: help: output: - info: Type /jobs [cmd] ? for more information about a command. - cmdUsage: '&2Usage: &7[command]' + info: Scrie /jobs [cmd] ? pentru mai multe informații despre i comandă. + cmdUsage: '&2Mod de utilizare: &7[command]' label: Jobs cmdInfoFormat: '[command] &f- &2[description]' cmdFormat: '&7/[command] &f[arguments]' helpPageDescription: '&2* [description]' - title: '&e-------&e ======= &6Jobs &e======= &e-------' - page: '&e-----&e ====== Page &6[1] &eof &6[2] &e====== &e-----' + title: '&e-------&e ======= &6Joburi &e======= &e-------' + page: '&e-----&e ====== Pagină &6[1] &eof &6[2] &e====== &e-----' fliperSimbols: '&e----------' - prevPage: '&2----<< &6Prev ' - prevPageOff: '&7----<< Prev ' - nextPage: '&6 Next &2>>----' - nextPageOff: '&7 Next >>----' + prevPage: '&2----<< &6Anterior ' + prevPageOff: '&7----<< Anterior ' + nextPage: '&6 Urmatorul &2>>----' + nextPageOff: '&7 Urmatorul >>----' pageCount: '&2[current]/[total]' - pageCountHover: '&e[totalEntries] entries' - prevPageGui: '&6Previous page ' - nextPageGui: '&6Next Page' + pageCountHover: '&e[totalEntries] intrări' + prevPageGui: '&6Pagina anterioară ' + nextPageGui: '&6Pagina următoare' moneyboost: help: - info: Boosts money gain for all players + info: Crește banii pentru toți jucătorii args: '[jobname]/all/reset [time]/[rate]' output: - allreset: All money boosts turned off - jobsboostreset: Money boost has been turned off for %jobname% - nothingtoreset: Nothing to reset - boostalladded: Money boost of %boost% added for all jobs! - boostadded: Money boost of &e%boost% &aadded for &e%jobname%! - infostats: '&c-----> &aMoney rate x%boost% enabled&c <-------' + allreset: Toate majorările de bani au fost dezactivate + jobsboostreset: Majorarea de bani a fost oprită pentru %jobname% + nothingtoreset: Nimic de resetat + boostalladded: Creșterea banilor de %boost% adăugată la toate joburile! + boostadded: Creșterea banilor de %boost% adăugată pentru &e%jobname%! + infostats: '&c-----> &aRata banilor x%boost% activată&c <-------' pointboost: help: - info: Boosts point gain for all players + info: Crește câștigul punctelor pentru toți jucătorii args: '[jobname]/all/reset [time]/[rate]' output: - allreset: All point boosts turned off - jobsboostreset: Point boost has been turned off for %jobname% - nothingtoreset: Nothing to reset - 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 <-------' + allreset: Toate majorările de bani au fost dezactivate + jobsboostreset: Majorarea de puncte a fost oprită pentru %jobname% + nothingtoreset: Nimic de resetat + boostalladded: Majorarea banilor de %boost% adăugată la toate joburile! + boostadded: Majorarea punctelor de %boost% adăugată pentru &e%jobname%! + infostats: '&c-----> &aRata punctey x%boost% activată&c <-------' expboost: help: - info: Boosts exp gain for all players + info: Crește câștigarea experienței pentru toți jucătorii args: '[jobname]/all/reset [time]/[rate]' output: - allreset: All exp boosts turned off - jobsboostreset: Exp boost has been turned off for %jobname% - nothingtoreset: Nothing to reset - 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 <-------' + allreset: Toate majorările de experiență au fost dezactivate + jobsboostreset: Majorarea experienței a fost oprită pentru %jobname% + nothingtoreset: Nimic de resetat + boostalladded: Majorarea experienței de %boost% adăugată la toate joburile! + boostadded: Majorarea experienței de &e%boost% &aadăugată pentru &e%jobname%! + infostats: '&c-----> &aRata experienței x%boost% activată&c <-------' schedule: help: - info: Enables the given scheduler + info: Activează programatorul dat args: enable [scheduleName] [untilTime] output: - noScheduleFound: '&cSchedule with this name not found.' - alreadyEnabled: '&cThis schedule already enabled.' - enabled: '&eSchedule have been enabled from&a %from%&e until&a %until%' + noScheduleFound: '&cNu a fost găsit niciun program cu acest nume.' + alreadyEnabled: '&cAcest program este deja activat.' + enabled: '&Programul a fost activat de la&a %from%&e până la&a %until%' itembonus: help: - info: Check item bonus + info: Verifica itemul bonus 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: "&7De la nivelul: %from% \n&7Până la nivelul: %until%" edititembonus: help: - info: Edit item boost bonus + info: Editează majorarea itemului bonus args: list/add/remove [jobname] [itemBoostName] bonus: help: - info: Show job bonuses + info: Arată bonusurile joburilor args: '[jobname]' output: topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' - permission: ' &ePerm bonus: &2%money% &6%points% &e%exp%' + permission: ' &eBonus permanent: &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' + global: ' &eBonus global: &2%money% &6%points% &e%exp%' + dynamic: ' &eBonus dinamic: &2%money% &6%points% &e%exp%' + nearspawner: ' &eBonus spawner: &2%money% &6%points% &e%exp%' + petpay: ' &eBonus PetPay: &2%money% &6%points% &e%exp%' + area: ' &eBonus zonă: &2%money% &6%points% &e%exp%' + mcmmo: ' &eBonus McMMO: &2%money% &6%points% &e%exp%' + final: ' &eBonus final: &2%money% &6%points% &e%exp%' + finalExplanation: ' &eNu include Petpay și Near spawner bonus/penalizare' 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ște sistemul de baze de date dintr-un sistem în altul. Dacă rulezi SQLite îl va converti in MySQL și invers. args: '' limit: help: - info: Shows payment limits for jobs + info: Arată limita de plata pentru joburi args: '[playername]' output: - moneytime: '&eTime left until money limit resets: &2%time%' - moneyLimit: '&eMoney limit: &2%current%&e/&2%total%' - exptime: '&eTime left until Exp limit resets: &2%time%' - expLimit: '&eExp limit: &2%current%&e/&2%total%' - pointstime: '&eTime left until Point limit resets: &2%time%' - pointsLimit: '&ePoint limit: &2%current%&e/&2%total%' - reachedmoneylimit: '&4You have reached money limit in given time!' - reachedmoneylimit2: '&eYou can check your limit with &2/jobs limit &ecommand' - reachedmoneylimit3: '&eMoney earned is now reduced exponentially... But you still earn a little!' - reachedexplimit: '&4You have reached exp limit in given time!' - reachedexplimit2: '&eYou can check your limit with &2/jobs limit &ecommand' - reachedpointslimit: '&4You have reached exp limit in given time!' - reachedpointslimit2: '&eYou can check your limit with &2/jobs limit &ecommand' - notenabled: '&eMoney limit is not enabled' + moneytime: '&eTimp rămas până se resetează limita banilor: &2%time%' + moneyLimit: '&eLimită de bani: &2%current%&e/&2%total%' + exptime: '&eTimp rămas până se resetează limita experienței: &2%time%' + expLimit: '&eLimită de experiență: &2%current%&e/&2%total%' + pointstime: '&eTimp rămas până se resetează limita punctelor: &2%time%' + pointsLimit: '&eLimită de puncte: &2%current%&e/&2%total%' + reachedmoneylimit: '&4Ai atins limita de bani în timpul dat!' + reachedmoneylimit2: '&ePoți să îți verifici limita cu &2/jobs limit &ecommand' + reachedmoneylimit3: '&eBanii câștigați sunt reduși exponențial... Totuși poți câștiga puțin!' + reachedexplimit: '&4Ai atins limita de experiență în timpul dat!' + reachedexplimit2: '&ePoți să îți verifici limita cu &2/jobs limit &ecommand' + reachedpointslimit: '&4Ai atins limita de experiență în timpul dat!' + reachedpointslimit2: '&ePoți să îți verifici limita cu &2/jobs limit &ecommand' + notenabled: '&e Limita banilor nu e activată' resetlimit: help: - info: Resets a player's payment limits + info: Resetează limita plății a unui jucător args: '[playername]' output: - reseted: '&ePayment limits have been reset for: &2%playername%' + reseted: '&eLimita plății a fost resetată pentru: &2%playername%' resetquest: help: - info: Resets a player's quest + info: Resetează misiunea unui jucător args: '[playername] [jobname]' output: - reseted: '&eQuest has been reset for: &2%playername%' - noQuests: '&eCan''t find any quests' + reseted: '&eMisiunea a fost resetată pentru: &2%playername%' + noQuests: '&eNu s-au găsit misiuni' points: help: - info: Shows how much points does a player have. + info: Arata cate puncte are un jucător. args: '[playername]' - currentpoints: ' &eCurrent point amount: &6%currentpoints%' - totalpoints: ' &eTotal amount of collected points until now: &6%totalpoints%' + currentpoints: ' &eNumărul curent de puncte: &6%currentpoints%' + totalpoints: ' &eNumăr total de puncte colectate până acum: &6%totalpoints%' editpoints: help: - info: Edit player's points. + info: Editează punctele jucătorului. args: set/add/take [playername] [amount] output: - set: '&ePlayers (&6%playername%&e) points was set to &6%amount%' - add: '&ePlayer (&6%playername%&e) got additional &6%amount% &epoints. Now they have &6%total%' - take: '&ePlayer (&6%playername%&e) lost &6%amount% &epoints. Now they have &6%total%' + set: '&ePunctele jucătorului (&6%playername%&e) au fost setate la &6%amount%' + add: '&eJucătorul (&6%playername%&e) a primit &6%amount% &epuncte adiționale. Acum el are &6%total%' + take: '& eJucătorul (&6%playername%&e) a pierdut &6%amount% &epuncte. Acum el are &6%total%' editjobs: help: - info: Edit current jobs. + info: Editare jobul curent. args: '' list: - job: '&eJobs:' + job: '&eJoburi:' jobs: ' -> [&e%jobname%&r]' actions: ' -> [&e%actionname%&r]' material: ' -> [&e%materialname%&r] ' materialRemove: '&c[X]' materialAdd: ' -> &e[&2+&e]' - money: ' -> &eMoney: &6%amount%' - exp: ' -> &eExp: &6%amount%' - points: ' -> &ePoints: &6%amount%' + money: ' -> &eBani: &6%amount%' + exp: ' -> & Experiență: &6%amount%' + points: ' -> &ePuncte: &6%amount%' 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: '&eIntrodu o valoare nouă' + enter: '&eIntrodu un nume nou sau apasă ' + hand: '&6MÂNĂ ' + handHover: '&6Apasa pentru a obține informații de la itemul din mână' + or: '&esau ' + look: '&6MA UIT LA' + lookHover: '&6Apasă pentru a obține informații de la blocul la care te uiți' editquests: help: - info: Edit current quests. + info: Editează misiunile curente. args: '' list: - quest: '&eQuests:' + quest: '&eMisiuni:' jobs: ' -> [&e%jobname%&r]' quests: ' -> [&e%questname%&r]' actions: ' -> [&e%actionname%&r]' @@ -213,502 +213,502 @@ 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: '&eIntrodu o valoare nouă' + enter: '&eIntrodu un nume nou sau apasă ' + hand: '&6MÂNĂ ' + handHover: '&6Apasa pentru a obține informații de la itemul din mână' + or: '&esau ' + look: '&6MA UIT LA' + lookHover: '&6Apasă pentru a obține informații de la blocul la care te uiți' blockinfo: help: - info: Shows information for the block you are looking at. + info: Arată informații pentru blocul la care te uiți. args: '' output: - name: ' &eBlock name: &6%blockname%' - id: ' &eBlock id: &6%blockid%' - data: ' &eBlock data: &6%blockdata%' - usage: ' &eUsage: &6%first% &eor &6%second%' + name: ' &eNume bloc: &6%blockname%' + id: ' &eId bloc: &6%blockid%' + data: ' &eDate bloc: &6%blockdata%' + usage: ' &eMod de folosire: &6%first% &esau &6%second%' iteminfo: help: - info: Shows information for the item you are holding. + info: Arată informații pentru itemul pe care îl ți. args: '' output: - name: ' &eItem name: &6%itemname%' - id: ' &eItem id: &6%itemid%' - data: ' &eItem data: &6%itemdata%' - usage: ' &eUsage: &6%first% &eor &6%second%' + name: ' &eNume item: &6%itemname%' + id: ' &eId item: &6%itemid%' + data: ' &eDate item: &6%itemdata%' + usage: ' &eMod de folosire: &6%first% &esau &6%second%' placeholders: help: - info: List out all placeholders - args: (parse) (placeholder) + info: Listă a toate substituibilelor + args: (parse) (substituent) output: list: '&e[place]. &7[placeholder]' - outputResult: ' &eresult: &7[result]' - parse: '&6[placeholder] &7by [source] &6result &8|&f[result]&8|' + outputResult: ' &erezultat: &7[result]' + parse: '&6[placeholder] &7după [source] &6rezultat &8|&f[result]&8|' entitylist: help: - info: Shows all possible entities that can be used with the plugin. + info: Arată toate entitățile posibile care pot fi folosite cu pluginul. args: '' stats: help: - info: Show the level you are in each job you are part of. + info: Arată nivelul tau la fiecare job în care participi. args: '[playername]' error: - nojob: Please join a job first. + nojob: Te rog sa te angajezi mai întâi. output: - message: 'Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp' - max-level: ' &cMax level - %jobname%' - bossBarOutput: 'Lvl %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%' + message: 'Nivel %joblevel% pentru %jobname%: %jobxp%/%jobmaxxp% experiență' + max-level: ' &cNivel maxim - %jobname%' + bossBarOutput: 'Nivel %joblevel% %jobname%: %jobxp%/%jobmaxxp% experiență%gain%' bossBarGain: ' &7(&f%gain%&7)' shop: help: - info: Opens special jobs shop. + info: Deschide meniul cu joburi speciale. args: '' info: - title: '&e------- &8Jobs shop &e-------' - currentPoints: '&eYou have: &6%currentpoints%' - price: '&ePrice: &6%price%' - reqJobs: '&eRequired jobs:' - reqJobsList: ' &6%jobsname%&e: &e%level% lvl' - reqTotalLevel: '&6Required total level: &e%totalLevel%' + title: '&e------- &8Meniu cu joburi &e-------' + currentPoints: '&eAi: &6%currentpoints%' + price: '&ePreț: &6%price%' + reqJobs: '&eJoburi necesare:' + reqJobsList: ' &6%jobsname%&e: &e%level% nivel' + reqTotalLevel: '&6Nivel total necesar: &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' - NoJobReqForitem: '&cYou don''t have the required job (&6%jobname%&e) with required (&6%joblevel%&e) level' - NoPoints: '&cYou don''t have enough points' - NoTotalLevel: '&cTotal jobs level is too low (%totalLevel%)' - Paid: '&eYou have paid &6%amount% &efor this item' + cantOpen: '&cAceastă pagina nu poate fi deschisă' + NoPermForItem: '&cNu au permisiunile necesare pentru acest item!' + NoPermToBuy: '&cNu ai permisiunea să cumperi acest item' + NoJobReqForitem: '&cNu ai jobul necesar(&6%jobname%&e) cu nivelul necesar(&6%joblevel%&e)' + NoPoints: '&cNu ai destule puncte' + NoTotalLevel: '&cNivelul total al joburilor e prea mic (%totalLevel%)' + Paid: '&eAi plătit &6%amount% &epentru acest item' archive: help: - info: Shows all jobs saved in archive by user. + info: Arată toate joburile salvate în arhivă de utilizator. args: '[playername]' error: - nojob: There is no jobs saved. + nojob: Nu sunt joburi salvate. give: help: - info: Gives item by jobs name and item category name. Player name is optional + info: Dă iteme după numele jobului și numele categoriei. Numele jucătorului este opțional args: '[playername] [jobname] [items/limiteditems] [jobitemname]' output: - notonline: '&4Player with that name is not online!' - noitem: '&4Can''t find any item by given name!' + notonline: '&4Juctorul cu acel nume nu este activ!' + noitem: '&4Nu se poate găsi niciun item după numele dat!' info: help: - title: '&2*** &eJobs&2 ***' - info: Show how much each job is getting paid and for what. - penalty: '&eThis job has a penalty of &c[penalty]% &ebecause there are too many players working in it.' - bonus: '&eThis job has a bonus of &2[bonus]% &ebecause there are not enough players working in it.' + title: '&2*** &eJoburi&2 ***' + info: Arată cât de mult este plătit fiecare job și pentru ce. + penalty: '&eAcest job are o penalitate de &c[penalty]% &epentru că sunt prea multi jucători care lucrează în el.' + bonus: '&eAcest job are un bonus de &c[bonus]% &epentru că nu sunt destui jucători care lucrează în el.' args: '[jobname] [action]' - actions: '&eValid actions are: &f%actions%' - max: ' - &emax level:&f ' - newMax: ' &eMax level: &f[max]' + actions: '&eAcțiuni valide sunt: &f%actions%' + max: ' - &snivel maxim:&f ' + newMax: ' &eNivel maxim: &f[max]' material: '&7%material%' - levelRange: ' &a(&e%levelFrom% &a- &e%levelUntil% &alevels)' - levelFrom: ' &a(from &e%levelFrom% &alevel)' - levelUntil: ' &a(until &e%levelUntil% &alevel)' + levelRange: ' &a(&e%levelFrom% &a- &e%levelUntil% &anivele)' + levelFrom: ' &a(de la &e%levelFrom% &anivel)' + levelUntil: ' &a(până la &e%levelUntil% &anivel)' money: ' &2%money%$' - points: ' &6%points%pts' - exp: ' &e%exp%xp' + points: ' &6%points%puncte' + exp: ' &e%exp%experiență' gui: - pickjob: '&ePick your job!' - 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' - next: '&eNext >>>' + pickjob: '&eAlege-ți jobul!' + jobinfo: '&e[jobname] informații!' + actions: '&eAcțiuni valide sunt:' + leftClick: '&eClick stânga pentru mai multe informații' + middleClick: '&eClick mijloc pentru a părăsi acest job' + rightClick: '&eClick dreapta pentru a te alătura acestui job' + leftSlots: '&eSloturile din stânga:&f ' + working: '&2&nDeja funcționează' + cantJoin: '&cNu te poți alătura jobului selectat.' + max: '&eNivel maxim:&f ' + back: '&e<<< Înapoi' + next: '&eUrmătorul >>>' output: break: - info: '&eBreak' - none: '%jobname% does not get money for breaking blocks.' + info: '&ePauză' + none: '%jobname% nu primește bani pentru spargerea blocurilor.' tntbreak: - info: '&eTNTBreak' - none: '%jobname% does not get money for breaking blocks with TNT.' + info: '&eSpargereTNT' + none: '%jobname% nu primește bani pentru spargerea blocurilor cu TNT.' place: - info: '&ePlace' - none: '%jobname% does not get money for placing blocks.' + info: '&ePlasează' + none: '%jobname% nu primește bani pentru plasarea blocurilor.' striplogs: - info: '&eStrip logs' - none: '%jobname% does not get money for stripping logs.' + info: '&eCioplire lemn' + none: '%jobname% nu primește bani pentru cioplirea lemnului.' kill: - info: '&eKill' - none: '%jobname% does not get money for killing monsters.' + info: '&eOmoară' + none: '%jobname% nu primește bani pentru omorârea monștrilor.' mmkill: info: '&eMMKill' - none: '%jobname% does not get money for killing Mythic monsters.' + none: '%jobname% nu primește bani pentru omorârea monștrilor mitici.' fish: - info: '&eFish' - none: '%jobname% does not get money from fishing.' + info: '&ePește' + none: '%jobname% nu primește bani pentru pescuit.' craft: - info: '&eCraft' - none: '%jobname% does not get money from crafting.' + info: '&eFabrică' + none: '%jobname% nu primește bani pentru fabricat.' smelt: - info: '&eSmelt' - none: '%jobname% does not get money from smelting.' + info: '&eTopit' + none: '%jobname% nu primește bani pentru topit.' brew: - info: '&eBrew' - none: '%jobname% does not get money from brewing.' + info: '&eCrează poțiuni' + none: '%jobname% nu primește bani pentru crearea de poțiuni.' eat: - info: '&eEat' - none: '%jobname% does not get money from eating food.' + info: '&eMănâncă' + none: '%jobname% nu primește bani pentru mâncat.' dye: - info: '&eDye' - none: '%jobname% does not get money from dyeing.' + info: '&eColorează' + none: '%jobname% nu primește bani pentru colorat.' enchant: info: '&eEnchant' - none: '%jobname% does not get money from enchanting.' + none: '%jobname% does not get money from enchantat.' vtrade: - info: '&eVillager trade' - none: '%jobname% does not get money for trading a villager.' + info: '&eSchimb cu villager' + none: '%jobname% nu primește bani pentru schimbul cu un villager.' repair: - info: '&eRepair' - none: '%jobname% does not get money from repairing.' + info: '&eRepară' + none: '%jobname% nu primește bani pentru reparat.' breed: - info: '&eBreed' - none: '%jobname% does not get money from breeding.' + info: '&eInmulțire' + none: '%jobname% nu primește bani pentru înmulțirea animalelor.' tame: - info: '&eTame' - none: '%jobname% does not get money from taming.' + info: '&eÎmblânzește' + none: '%jobname% nu primește bani pentru îmblânzire.' milk: - info: '&eMilk' - none: '%jobname% does not get money from milking cows.' + info: '&eMuls' + none: '%jobname% nu primește bani pentru muls vaci.' shear: - info: '&eShear' - none: '%jobname% does not get money from shearing sheep.' + info: '&eTuns' + none: '%jobname% nu primește bani pentru tuns oi.' explore: - info: '&eExplore' - none: '%jobname% does not get money from exploring.' + info: '&eExplorat' + none: '%jobname% nu primește bani pentru explorat.' custom-kill: - info: '&eCustom kill' - none: '%jobname% does not get money from custom player kills.' + info: '&eOmor personalizat' + none: '%jobname% nu primește bani pentru omorârea personalizata a jucătorilor.' collect: - info: '&eCollect' - none: '%jobname% does not get money for collecting blocks.' + info: '&eColectează' + none: '%jobname% nu primește bani pentru colectarea blocurilor.' bake: - info: '&eBake' - none: '%jobname% does not get money for cooking foods.' + info: '&eCoace' + none: '%jobname% nu primește bani pentru gătit.' playerinfo: help: - info: Show how much each job is getting paid and for what on another player. + info: Arată cât de mult este plătit fiecare job și pentru ce pe alt jucător. args: '[playername] [jobname] [action]' join: help: - info: Join the selected job. + info: Alătură te jobului selectat. args: '[jobname]' error: - alreadyin: You are already in the job %jobname%. - fullslots: You cannot join the job %jobname%, there are no slots available. - maxjobs: You have already joined too many jobs. - rejoin: '&cCan''t rejoin this job. Wait [time]' - rejoin: '&aClick to rejoin this job: ' - success: You have joined the job %jobname%. - confirm: '&2Click to confirm joining action for the &7[jobname] &2job.' + alreadyin: Ești deja în jobul %jobname%. + fullslots: Nu poți să te alături jobului %jobname%, nu mai sunt locuri libere. + maxjobs: Te-ai alăturat prea multor alte joburi. + rejoin: '&cNu poți să te reînscri la acest job. Așteaptă [time]' + rejoin: '&aApasa ca să te realături acestui job: ' + success: Te-ai alăturat jobului %jobname%. + confirm: '&2Apasă ca sa confirmi alăturarea la jobul &7[jobname] &2job.' leave: help: - info: Leave the selected job. + info: Demisionează de la jobul selectat. args: '[oldplayerjob]' - success: You have left the job %jobname%. - confirmationNeed: '&cAre you sure you want to leave from&e [jobname]&c job? Type the command again within&6 [time] seconds &cto confirm!' + success: Ai părăsit jobul %jobname%. + confirmationNeed: '&2Ești sigur că vrei sa demisionezi de la &e [jobname]&c job? Scrie comandă iar în&6 [time] secunde &cpentru a confirma!' leaveall: help: - info: Leave all your jobs. + info: Demisionează de la toate joburile. 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: Nu ai ce joburi să părăsești! + success: Ai demisionat de la toate joburile. + confirmationNeed: '&2Ești sigur că vrei sa demisionezi de la toate joburile? Scrie comandă iar în&6 [time] secunde &cpentru a confirma!' explored: help: - info: Check who visited this chunk + info: Verifică cine a vizitat acest chunk error: - noexplore: No one visited this chunk - fullExplore: '&aThis chunk is fully explored' + noexplore: Nimeni nu a vizitat acest chunk + fullExplore: '&aAcest chunk este explorat total' list: '&e%place%. %playername%' browse: help: - info: List the jobs available to you. + info: Listează joburile disponibile. error: - nojobs: There are no jobs you can join. + nojobs: Nu poți să te alături niciunui job. output: - header: 'You are allowed to join the following jobs:' - footer: For more information type in /jobs info [JobName] - totalWorkers: ' &7Workers: &e[amount]' - penalty: ' &4Penalty: &c[amount]%' + header: 'Ai voie sa te alături următoarelor joburi:' + footer: Pentru mai multe informații scrie /jobs info [JobName] + totalWorkers: ' &7Muncitori: &e[amount]' + penalty: ' &4Penalizare: &c[amount]%' bonus: ' &2Bonus: &a[amount]%' - newHeader: '&2========== [amount] Available Jobs =========' + newHeader: '&2========== [amount] Joburi Disponibile =========' description: '[description]' list: ' &8[place]. &7[jobname]' console: - newHeader: '&2========== [amount] Available Jobs =========' + newHeader: '&2========== [amount] Joburi Disponibile =========' description: '[description]' - totalWorkers: ' &7Workers: &e[amount]' - penalty: ' &4Penalty: &c[amount]%' + totalWorkers: ' &7Muncitori: &e[amount]' + penalty: ' &4Penalizare: &c[amount]%' bonus: ' &2Bonus: &a[amount]%' list: ' &6[jobname]' - newMax: ' &eMax level: &f[max]' - click: '&bClick on the job to see more info about it!' - detailed: '&bClick to see more detailed list on job actions' + newMax: ' &eNivel maxim: &f[max]' + click: '&bApasă pe job pentru a afla mai multe informații despre el!' + detailed: '&bApasă că să vezi o lista detaliată cu acțiuni din job' jobHeader: '&2========== [jobname] =========' - chooseJob: '&7&n&oChoose this job' - chooseJobHover: '&7Click here to get this job' + chooseJob: '&7&n&oAlege acest job' + chooseJobHover: '&7Apasă aici pentru a primi acest job' clearownership: help: - info: Clear block ownership + info: Șterge proprietatea asupra unui bloc args: '[playername]' output: - cleared: '&2Removed &7[furnaces] &2furnaces, &7[brewing] &2brewing stands, &7[smoker]&2 smokers and &7[blast]&2 blast furnaces.' + cleared: '&2Șterse &7[furnaces] &2cuptoare, &7[brewing] &2standuri de poțiuni, &7[smoker]&2 afumătoare și &7[blast]&2 furnale.' skipquest: help: - info: Skip defined quest and get new one - args: '[jobname] [questname] (playerName)' + info: Treci peste misiune și primește una nouă + args: '[jobname] [questname] (numeJucător)' output: - questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' + questSkipForCost: '&2Ai trecut peste misiune și ai plătit:&e %amount%$' quests: help: - info: List available quests + info: Listează misiunile disponibile args: '[playername]' error: - noquests: '&cThere are no quests' + noquests: '&2Nu există misiuni noi' toplineseparator: '&7*********************** &6[playerName] &2(&f[questsDone]&2) &7***********************' status: - changed: '&2The quests status has been changed to&r %status%' - started: '&aStarted' - stopped: '&cStopped' + changed: '&2Statusul misiunii a fost schimbat în&r %status%' + started: '&aÎncepută' + stopped: '&cOprită' output: - completed: '&2 !Completed!&r ' + completed: '&2 !Completată!&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]" + skip: '&7Apasă pentru a trece peste această misiune' + skips: '&2Numar rămas de "treceri peste": &f[skips]' + hover: "&f[jobName] \n[desc] \n&7Misiune nouă în: [time]" fire: help: - info: Fire the player from the job. + info: Concediază jucătorul de la acest job. args: '[playername] [jobname]' error: - nojob: Player does not have the job %jobname%. + nojob: Jucătorul nu are jobul %jobname%. output: - target: You have been fired from %jobname%. + target: Ai fost concediat de la %jobname%. fireall: help: - info: Fire player from all their jobs. + info: Concediază jucătorul de la toate joburile lui. args: '[playername]/all' error: - nojobs: Player does not have any jobs to be fired from! + nojobs: Jucătorul nu are de la ce joburi sa fie concediat! output: - target: You have been fired from all your jobs. + target: Ai fost concediat de la toate joburile. employ: help: - info: Employ the player to the job. + info: Angajează jucătorul la job. 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: Jucătorul este deja în jobul %jobname%. + fullslots: Nu poți să te alături jobului %jobname%, nu mai sunt locuri libere. output: - target: You have been employed as a %jobname%. + target: Ai fost angajat ca %jobname%. top: help: - info: Shows top players by jobs name. + info: Arată topul jucătorilor după numele jobului. args: '[jobname]' error: - nojob: Can't find any job with this name. + nojob: Nu s-a putut găsi niciun job cu acest nume. 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% &ajutători după &e%jobname% &ajob' + list: '&e%number%&a. &e%playername% &anivel &e%level% &awith&e %exp% &aexperiență' + prev: '&e<<<<< Pagina anterioară &2|' + next: '&2|&e Pagina Următoare >>>>' + show: '&2Arată de la &e[from] &2până la &e[until] &2lista top' gtop: help: - info: Shows top players by global jobs level. + info: Arată topul jucătorilor după nivelul global al joburilor. args: '' error: - nojob: Can't find any information. + nojob: Nu se pot găsi informații. 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% & jucători după nivelul global al joburilor' + list: '&e%number%&a. &e%playername% &anivel &e%level% &awith&e %exp% &aexperiență' + prev: '&e<<<<< Pagina anterioară &2|' + next: '&2|&e Pagina Următoare >>>>' + show: '&2Arată de la &e[from] &2până la &e[until] &2listă top global' area: help: - info: Modify restricted areas. + info: Modifică zonele restricționate. args: add/remove/info/list - addUsage: '&eUsage: &6/Jobs area add [areaName/wg:worldGuardAreaName] [bonus]' - removeUsage: '&eUsage: &6/Jobs area remove [areaName]' + addUsage: '&eMod de folosire: &6/Jobs area add [areaName/wg:worldGuardAreaName] [bonus]' + removeUsage: '&eMod de folosire: &6/Jobs area remove [areaName]' output: - addedNew: '&eAdded a new restricted area with &6%bonus% &ebonus' - removed: '&eRemoved the restricted area &6%name%' + addedNew: '&eA fost adăugată o noua zonă restricționată cu &6%bonus% &ebonus' + removed: '&eA fost ștearsă zona restricționată &6%name%' 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: '&eThere are no saved restricted areas' - 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' - wgDontExist: '&eWorldGuard area by this name does not exist' + noAreas: '&eNu există nici o zona restricționată salvată' + noAreasByLoc: '&eNu sunt zone restricționate in această locație' + areaList: '&eZone restricționate după locația ta: &6%list%' + selected1: '&ePrimul punct a fost selectat: &6%x%:%y%:%z%' + selected2: '&eAl doilea punct a fost selectat: &6%x%:%y%:%z%' + select: '&eAu fost selectate 2 puncte cu unealta de selecție (%tool%)' + exist: '&eO zonă restricționată cu acest nume există deja' + dontExist: '&eNu există o zonă restricționată cu acest nume' + wgDontExist: '&eNu există o zonă WorldGuard cu acest nume' log: help: - info: Shows statistics. + info: Afișează statistici. args: '[playername]' output: topline: '&7************************* &6%playername% &7*************************' - ls: '&7* &6%number%. &3%action%: &6%item% &eqty: %qty% %money%%exp%%points%' - money: '&6money: %amount% ' - exp: '&eexp: %amount% ' - points: '&6points: %amount%' - totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' + ls: '&7* &6%number%. &3%action%: &6%item% &ecantitate: %qty% %money%%exp%%points%' + money: '&6bani: %amount% ' + exp: '&eexperiență: %amount% ' + points: '&6puncte: %amount%' + totalIncomes: ' &6Totalul banilor:&2 %money%&6, Total experiență:&2 %exp%&6, Total puncte:&2 %points%' bottomline: '&7***********************************************************' - prev: '&e<<<<< Prev page &2|' - next: '&2|&e Next Page >>>>' - nodata: '&cData not found' + prev: '&e<<<<< Pagina anterioară &2|' + next: '&2|&e Pagina Următoare >>>>' + nodata: '&cNu au fost găsite date' glog: help: - info: Shows global statistics. + info: Afișează statistici globale. args: '' output: - topline: '&7*********************** &6Global statistics &7***********************' - ls: '&7* &6%number%. &3%action%: &6%item% &eqty: %qty% %money%%exp%%points%' - money: '&6money: %amount% ' - exp: '&eexp: %amount% ' - points: '&6points: %amount%' - totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' + topline: '&7*********************** &6Statistici globale &7***********************' + ls: '&7* &6%number%. &3%action%: &6%item% &ecantitate: %qty% %money%%exp%%points%' + money: '&6bani: %amount% ' + exp: '&eexperiență: %amount% ' + points: '&6puncte: %amount%' + totalIncomes: ' &6Totalul banilor:&2 %money%&6, Total experiență:&2 %exp%&6, Total puncte:&2 %points%' bottomline: '&7**************************************************************' - nodata: '&cData not found' + nodata: '&cNu au fost găsite date' transfer: help: - info: Transfer a player's job from an old job to a new job. + info: Transfera jobul unui jucător dintr-un job vechi in unul nou. args: '[playername] [oldjob] [newjob]' output: - target: You have been transferred from %oldjobname% to %newjobname%. + target: Ai fost transferat de la %oldjobname% la %newjobname%. promote: help: - info: Promote the player X levels in a job. + info: Promovează jucătorul cu X nivele într-un job. args: '[playername] [jobname] [levels]' output: - target: You have been promoted %levelsgained% levels in %jobname%. + target: Ai fost promovat %levelsgained% nivele în %jobname%. exp: help: - info: Change the player exp for job. + info: Schimbă experiența jucătorului pentru job. args: '[playername] [jobname] set/add/take [amount]' error: - nojob: '&cThis player must first join a job.' + nojob: '&cAcest jucător trebuie sa se alăture unui job mai întâi.' output: - target: '&eYour exp was changed for %jobname% &eand now you at &6%level%lvl &eand with &6%exp%exp.' + target: '&eExperiența ta a fost schimbată pentru %jobname% &eși acum ai &6%level%nivele&eși &6%exp%experiență.' level: help: - info: Change the player's level in a job. + info: Schimbă nivelul jucătorului într-un job. args: '[playername] [jobname] set/add/take [amount]' error: - nojob: '&cThis player must first join a job.' + nojob: '&cAcest jucător trebuie sa se alăture unui job mai întâi.' output: - target: '&eYour level was changed for %jobname% &eand now you at &6%level%lvl &eand with &6%exp%exp.' + target: '&eNivelul tău a fost schimbat pentru %jobname% &eși acum ai &6%level%nivele&eși &6%exp%experiență.' demote: help: - info: Demote the player X levels in a job. + info: Scade Z nivele jucătorului într-un job. args: '[playername] [jobname] [levels]' output: - target: You have been demoted %levelslost% levels in %jobname%. + target: Ți-au fost scăzute %levelslost% nivele în %jobname%. grantxp: help: - info: Grants the player X experience in a job. + info: Adaugă jucătorului X experiență într-un job. args: '[playername] [jobname] [xp]' output: - target: You have been granted %xpgained% experience in %jobname%. + target: Ți-a fost dată %xpgained% experiență în %jobname%. removexp: help: - info: Remove X experience from the player in a job. + info: Scade X experiență de la jucător într-un job. args: '[playername] [jobname] [xp]' output: - target: You have lost %xplost% experience in %jobname%. + target: Ai pierdut %xplost% experiență în %jobname%. signupdate: help: - info: Manually updates a sign by its name + info: Actualizează manual un semn după numele lui args: '[jobname]' bp: help: - info: Shows block protections around you in 10 block radius + info: Arată protecțiile bloc din jurul tau pe o rază de 10 blocuri args: '' output: - found: '&eFound &6%amount% &eprotected blocks around you' - notFound: '&eNo protected blocks found around you' + found: '&eAu fost găsite &6%amount% &eblocuri protejate în jurul tău' + notFound: '&eNu au fost găsite blocuri protejate în jurul tău' reload: help: - info: Reload configurations. + info: Reîncarcă configurațiile. toggle: help: - info: Toggles payment output on action bar or bossbar. + info: Comuta rezultatul plății in bara de acțiune sau bara boss. args: actionbar/bossbar output: - turnedoff: '&4This feature is turned off!' + turnedoff: '&4Această funcție este dezactivată!' paid: - main: '&aYou got:' - money: '&e[amount] money' - exp: '&7[exp] exp' - points: '&6[points] points' - 'on': '&aToggled: &aON' - 'off': '&aToggled: &4OFF' + main: '&aAi:' + money: '&e[amount] bani' + exp: '&7[exp] experiență' + points: '&6[points] puncte' + 'on': '&aComutat: &aON' + 'off': '&aComutat: &aOFF' message: skillup: - broadcast: '%playername% has been promoted to a %titlename% %jobname%.' - nobroadcast: Congratulations, you have been promoted to a %titlename% %jobname%. + broadcast: '%playername% a fost promovat la %titlename% %jobname%.' + nobroadcast: Felicitări, ai fost promovat la %titlename% %jobname%. max-level-reached: - title: '&2Max level reached' - subtitle: '&2in %jobname%!' - chat: '&cYou have reached the maximum level in %jobname%!' + title: '&cNivel maxim atins' + subtitle: '&2în %jobname%!' + chat: '&cAi atins nivelul maxim în %jobname%!' levelup: - broadcast: '%playername% is now a level %joblevel% %jobname%.' - nobroadcast: You are now level %joblevel% %jobname%. + broadcast: '%playername% este acum la nivelul %joblevel% %jobname%.' + nobroadcast: Acum ai nivelul %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!' - 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: '&cAi pierdut nivel&e %lostLevel%&c în&e %jobname%&c job! Nivel:&6 %joblevel%&c.' + cowtimer: '&eTrebuie să aștepți &6%time% &esecunde pentru a fi platit pentru acest job.' + blocktimer: '&eTrebuie să aștepți încă &3[time] &esecunde pentru a fi platit pentru acesta!' + taxes: '&3[amount] &etaxe de server au fost transferate în acest cont' + boostStarted: '&e Timpul de majorare a joburilor a început!' + boostStoped: '&e Timpul de majorare a joburilor s-au terminat!' crafting: - fullinventory: '&cYour inventory is full!' + fullinventory: '&cInventarul tău e plin!' 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** &8Primul &b**' + p2: '&b** &8Al doilea &b**' + p3: '&b** &8Al treilea &b**' + p4: '&b** &8Al patrulea &b**' + p5: '&b** &8Al cincilea &b**' + p6: '&b** &8Al șaselea &b**' + p7: '&b** &8Al șaptelea &b**' + p8: '&b** &8Al optulea &b**' + p9: '&b** &8Al nouălea &b**' + p10: '&b** &8Al zecelea &b**' name: '&9[player]' - level: '&8[level] level' - quests: '&8[quests] quests' + level: '&8[level] nivel' + quests: '&8[quests] misiuni' bottom: '&b************' - cantcreate: '&4You can''t create this sign!' - cantdestroy: '&4You can''t destroy this sign!' + cantcreate: '&4Nu poți crea acest semn!' + cantdestroy: '&4Nu poți distruge acest semn!' topline: '&0[Jobs]' secondline: - join: '&0Join' - leave: '&0Leave' - toggle: '&0Toggle' + join: '&0Alătură-te' + leave: '&0Pleacă' + toggle: '&0Comută' top: '&0Top' - browse: '&0Browse' - stats: '&0Stats' - limit: '&0Limit' - info: '&0Info' - archive: '&0Archive' + browse: '&0Vârf' + stats: '&0Statistici' + limit: '&0Limită' + info: '&0Informații' + archive: '&0Arhivă' scoreboard: topline: '&2Top &e%jobname%' - gtopline: '&2Global top list' + gtopline: '&2Lista topului global' line: '&2%number%. &e%playername% (&6%level%&e)' diff --git a/src/main/resources/locale/messages_tr.yml b/src/main/resources/locale/messages_tr.yml index 708a10df..1bc175bb 100644 --- a/src/main/resources/locale/messages_tr.yml +++ b/src/main/resources/locale/messages_tr.yml @@ -14,22 +14,22 @@ general: hours: '&e%hours% &6saat ' mins: '&e%mins% &6dakika ' secs: '&e%secs% &6saniye ' - invalidPage: '&cInvalid page' - 'true': '&2True' - 'false': '&cFalse' + invalidPage: '&cGeçersiz Sayfa' + 'true': '&2Doğru' + 'false': '&cYanlış' blocks: - furnace: Furnace - smoker: Smoker - blastfurnace: Blast furnace - brewingstand: Brewing stand + furnace: Fırın + smoker: Dumancı + blastfurnace: Yüksek fırın + brewingstand: Simya Standı admin: error: '&cKomut uygulanırken bir hata oluştu.' success: '&eKomut başarıyla uygulandı.' error: noHelpPage: '&cBu sayıda bir yardım sayfası yok!' notNumber: '&eLütfen sayıları kullanın!' - job: '&cThe job you selected does not exist or you not joined to this' - noCommand: '&cThere is no command by this name!' + job: '&cSeçtiğiniz iş mevcut değil veya buna katılmadınız' + noCommand: '&cBu isimde bir komut yok!' permission: '&cBunun için yetkiniz bulunmamaktadır!' noinfo: '&cBilgi bulunamadı!' noinfoByPlayer: '&cŞuan [%playername%] adlı oyuncunun bilgisi yok!' @@ -42,7 +42,7 @@ command: help: output: info: /jobs [komut] ? yazarak komut hakkında bilgi alabilirsin. - cmdUsage: '&2Usage: &7[command]' + cmdUsage: '&2Kullanımı: &7[command]' label: Jobs cmdInfoFormat: '[command] &f- &2[description]' cmdFormat: '&7/[command] &f[arguments]' @@ -50,14 +50,14 @@ command: title: '&e-------&e ======= &6Meslekler &e======= &e-------' page: '&e-----&e ====== Sayfa &6[1] &eSonraki &6[2] &e====== &e-----' fliperSimbols: '&e----------' - prevPage: '&2----<< &6Prev ' - prevPageOff: '&7----<< Prev ' - nextPage: '&6 Next &2>>----' - nextPageOff: '&7 Next >>----' + prevPage: '&2----<< &6Önceki ' + prevPageOff: '&7----<< Önceki ' + nextPage: '&6 Sonraki &2>>----' + nextPageOff: '&7 Sonraki >>----' pageCount: '&2[current]/[total]' pageCountHover: '&e[totalEntries] entries' - prevPageGui: '&6Previous page ' - nextPageGui: '&6Next Page' + prevPageGui: '&6Önceki sayfa' + nextPageGui: '&6Sonraki Sayfa' moneyboost: help: info: Tüm oyunculara para avansı verir. @@ -183,7 +183,7 @@ command: info: Edit current jobs. args: '' list: - job: '&eJobs:' + job: '&eMeslek:' jobs: ' -> [&e%jobname%&r]' actions: ' -> [&e%actionname%&r]' material: ' -> [&e%materialname%&r] ' @@ -195,14 +195,14 @@ command: modify: newValue: '&eEnter new value' enter: '&eEnter new name or press ' - hand: '&6HAND ' + hand: '&6El ' handHover: '&6Press to grab info from item in your hand' or: '&eor ' - look: '&6LOOKING AT' + look: '&6Bakmak' lookHover: '&6Press to grab info from block you are looking' editquests: help: - info: Edit current quests. + info: Mevcut görevleri düzenleyin. args: '' list: quest: '&eQuests:' @@ -235,8 +235,8 @@ command: args: '' output: name: ' &eItem ismi: &6%itemname%' - id: ' &eItem id: &6%itemid%' - data: ' &eItem data: &6%itemdata%' + id: ' &eEşya id: &6%itemid%' + data: ' &eEşya ismi: &6%itemdata%' usage: ' &eKullanımı: &6%first% &eveya &6%second%' placeholders: help: @@ -244,7 +244,7 @@ command: args: (parse) (placeholder) output: list: '&e[place]. &7[placeholder]' - outputResult: ' &eresult: &7[result]' + outputResult: ' &eSonuç: &7[result]' parse: '&6[placeholder] &7by [source] &6result &8|&f[result]&8|' entitylist: help: @@ -258,8 +258,8 @@ command: nojob: Lütfen önce bir mesleğe giriniz. output: message: 'Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp' - max-level: ' &cMax level - %jobname%' - bossBarOutput: 'Lvl %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%' + max-level: ' &cMaks Level - %jobname%' + bossBarOutput: 'Level %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%' bossBarGain: ' &7(&f%gain%&7)' shop: help: @@ -336,7 +336,7 @@ command: info: 'Yerleştirmek' none: '%jobname% bu iş için para vermez.' striplogs: - info: '&eStrip logs' + info: '&eŞerit Geçmişi' none: '%jobname% does not get money for stripping logs.' kill: info: 'Öldürmek' @@ -393,7 +393,7 @@ command: info: '&eCollect' none: '%jobname% does not get money for collecting blocks.' bake: - info: '&eBake' + info: '&ePişir' none: '%jobname% does not get money for cooking foods.' playerinfo: help: @@ -472,15 +472,15 @@ command: questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' quests: help: - info: List available quests + info: Mevcut görevleri listele args: '[playername]' error: - noquests: '&cThere are no quests' + noquests: '&cGörev yok' toplineseparator: '&7*********************** &6[playerName] &2(&f[questsDone]&2) &7***********************' status: changed: '&2The quests status has been changed to&r %status%' - started: '&aStarted' - stopped: '&cStopped' + started: '&aBaşlatıldı' + stopped: '&cDurduruldu' output: completed: '&2 !Completed!&r ' questLine: '[progress] &7[questName] &f[done]&7/&8[required]' @@ -563,9 +563,9 @@ command: output: topline: '&7************************* &6%playername% &7*************************' ls: '&7* &6%number%. &3%action%: &6%item% &eqty: %qty% %money%%exp%%points%' - money: '&6money: %amount% ' - exp: '&eexp: %amount% ' - points: '&6points: %amount%' + money: '&6Para: %amount% ' + exp: '&eXP: %amount% ' + points: '&6Puan: %amount%' totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' bottomline: '&7***********************************************************' prev: '&e<<<<< Önceki Sayfa &2|'