1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-26 12:35:28 +01:00
This commit is contained in:
Zrips 2020-12-17 17:26:49 +02:00
commit 48ec2bdbf0
17 changed files with 1260 additions and 569 deletions

View File

@ -29,7 +29,6 @@ import org.bukkit.permissions.PermissionAttachmentInfo;
import com.gamingmesh.jobs.container.Job; import com.gamingmesh.jobs.container.Job;
import com.gamingmesh.jobs.container.JobsPlayer; import com.gamingmesh.jobs.container.JobsPlayer;
import com.gamingmesh.jobs.stuff.Debug;
public class PermissionManager { public class PermissionManager {

View File

@ -544,9 +544,19 @@ public class Placeholder {
Title title = Jobs.gettitleManager().getTitle(j.getLevel(), j.getJob().getName()); Title title = Jobs.gettitleManager().getTitle(j.getLevel(), j.getJob().getName());
return title == null ? "" : title.getChatColor() + title.getName(); return title == null ? "" : title.getChatColor() + title.getName();
case user_archived_jobs_level: 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: 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: default:
break; break;
} }

View File

@ -56,12 +56,9 @@ public class bp implements Cmd {
changedBlocks.add(l.getBlock()); changedBlocks.add(l.getBlock());
if (Version.isCurrentEqualOrHigher(Version.v1_15_R1)) { if (Version.isCurrentEqualOrHigher(Version.v1_15_R1)) {
if (bp.getAction() == DBAction.DELETE) player.sendBlockChange(l, (bp.getAction() == DBAction.DELETE ?
player.sendBlockChange(l, CMIMaterial.RED_STAINED_GLASS.getMaterial().createBlockData()); CMIMaterial.RED_STAINED_GLASS :
else if (time == -1) time == -1 ? CMIMaterial.BLACK_STAINED_GLASS : CMIMaterial.WHITE_STAINED_GLASS).getMaterial().createBlockData());
player.sendBlockChange(l, CMIMaterial.BLACK_STAINED_GLASS.getMaterial().createBlockData());
else
player.sendBlockChange(l, CMIMaterial.WHITE_STAINED_GLASS.getMaterial().createBlockData());
} else { } else {
if (bp.getAction() == DBAction.DELETE) if (bp.getAction() == DBAction.DELETE)
player.sendBlockChange(l, CMIMaterial.RED_STAINED_GLASS.getMaterial(), (byte) 14); player.sendBlockChange(l, CMIMaterial.RED_STAINED_GLASS.getMaterial(), (byte) 14);

View File

@ -19,7 +19,6 @@ public class browse implements Cmd {
@Override @Override
@JobCommand(200) @JobCommand(200)
public boolean perform(Jobs plugin, CommandSender sender, final String[] args) { public boolean perform(Jobs plugin, CommandSender sender, final String[] args) {
if (Jobs.getGCManager().BrowseUseNewLook) { if (Jobs.getGCManager().BrowseUseNewLook) {
List<Job> jobList = new ArrayList<>(Jobs.getJobs()); List<Job> jobList = new ArrayList<>(Jobs.getJobs());
if (jobList.isEmpty()) { if (jobList.isEmpty()) {
@ -32,25 +31,24 @@ public class browse implements Cmd {
Jobs.getGUIManager().openJobsBrowseGUI((Player) sender); Jobs.getGUIManager().openJobsBrowseGUI((Player) sender);
} catch (Throwable e) { } catch (Throwable e) {
((Player) sender).closeInventory(); ((Player) sender).closeInventory();
return true;
} }
return true; return true;
} }
Job j = null;
int page = 1; int page = 1;
if (sender instanceof Player) { if (sender instanceof Player) {
for (String one : args) { for (String one : args) {
if (one.startsWith("-p:")) { if (one.startsWith("-p:")) {
try { try {
page = Integer.parseInt(one.substring("-p:".length())); page = Integer.parseInt(one.substring("-p:".length()));
continue;
} catch (Exception e) { } catch (Exception e) {
} }
} }
} }
} }
Job j = null;
for (String one : args) { for (String one : args) {
if (one.startsWith("-j:")) { if (one.startsWith("-j:")) {
j = Jobs.getJob(one.substring("-j:".length())); j = Jobs.getJob(one.substring("-j:".length()));
@ -228,7 +226,6 @@ public class browse implements Cmd {
Jobs.getGUIManager().openJobsBrowseGUI((Player) sender); Jobs.getGUIManager().openJobsBrowseGUI((Player) sender);
} catch (Throwable e) { } catch (Throwable e) {
((Player) sender).closeInventory(); ((Player) sender).closeInventory();
return true;
} }
return true; return true;

View File

@ -1,8 +1,6 @@
package com.gamingmesh.jobs.commands.list; package com.gamingmesh.jobs.commands.list;
import java.util.List; import java.util.List;
import java.util.Map.Entry;
import java.util.UUID;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
@ -32,10 +30,10 @@ public class fireall implements Cmd {
Jobs.getDBManager().getDB().truncate(DBTables.JobsTable.getTableName()); Jobs.getDBManager().getDB().truncate(DBTables.JobsTable.getTableName());
for (Entry<UUID, JobsPlayer> one : Jobs.getPlayerManager().getPlayersCache().entrySet()) { for (JobsPlayer one : Jobs.getPlayerManager().getPlayersCache().values()) {
one.getValue().leaveAllJobs(); one.leaveAllJobs();
// No need to save as we are clearing database with more efficient method // 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")); sender.sendMessage(Jobs.getLanguage().getMessage("general.admin.success"));

View File

@ -4,7 +4,6 @@ import java.text.NumberFormat;
import java.util.HashMap; import java.util.HashMap;
import java.util.Locale; import java.util.Locale;
import java.util.Map; import java.util.Map;
import java.util.Map.Entry;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
@ -36,8 +35,8 @@ public class glog implements Cmd {
Map<LogAmounts, Double> unsortMap = new HashMap<>(); Map<LogAmounts, Double> unsortMap = new HashMap<>();
int time = TimeManage.timeInInt(); int time = TimeManage.timeInInt();
for (Integer OneP : Jobs.getJobsDAO().getLognameList(time, time)) { for (Integer oneP : Jobs.getJobsDAO().getLognameList(time, time)) {
PlayerInfo info = Jobs.getPlayerManager().getPlayerInfo(OneP); PlayerInfo info = Jobs.getPlayerManager().getPlayerInfo(oneP);
if (info == null) if (info == null)
continue; continue;
@ -45,21 +44,19 @@ public class glog implements Cmd {
if (name == null) if (name == null)
continue; continue;
JobsPlayer JPlayer = Jobs.getPlayerManager().getJobsPlayer(info.getUuid()); JobsPlayer jPlayer = Jobs.getPlayerManager().getJobsPlayer(info.getUuid());
if (JPlayer == null) if (jPlayer == null)
continue; continue;
HashMap<String, Log> logList = JPlayer.getLog(); HashMap<String, Log> logList = jPlayer.getLog();
if (logList == null || logList.isEmpty()) if (logList == null || logList.isEmpty())
continue; continue;
for (Entry<String, Log> l : logList.entrySet()) { for (Log l : logList.values()) {
Log one = l.getValue(); for (LogAmounts amounts : l.getAmountList().values()) {
HashMap<String, LogAmounts> AmountList = one.getAmountList(); amounts.setUsername(name);
for (Entry<String, LogAmounts> oneMap : AmountList.entrySet()) { amounts.setAction(l.getActionType());
oneMap.getValue().setUsername(name); unsortMap.put(amounts, amounts.get(CurrencyType.MONEY));
oneMap.getValue().setAction(one.getActionType());
unsortMap.put(oneMap.getValue(), oneMap.getValue().get(CurrencyType.MONEY));
} }
} }
} }
@ -77,25 +74,23 @@ public class glog implements Cmd {
totalPoints = 0; totalPoints = 0;
sender.sendMessage(Jobs.getLanguage().getMessage("command.glog.output.topline")); sender.sendMessage(Jobs.getLanguage().getMessage("command.glog.output.topline"));
for (Entry<LogAmounts, Double> one : unsortMap.entrySet()) { for (LogAmounts info : unsortMap.keySet()) {
LogAmounts info = one.getKey();
double money = info.get(CurrencyType.MONEY); double money = info.get(CurrencyType.MONEY);
totalMoney = totalMoney + money; totalMoney += money;
String moneyS = ""; String moneyS = "";
if (money != 0D) if (money != 0D)
moneyS = Jobs.getLanguage().getMessage("command.glog.output.money", "%amount%", money); moneyS = Jobs.getLanguage().getMessage("command.glog.output.money", "%amount%", money);
double exp = info.get(CurrencyType.EXP); double exp = info.get(CurrencyType.EXP);
totalExp = totalExp + exp; totalExp += exp;
String expS = ""; String expS = "";
if (exp != 0D) if (exp != 0D)
expS = Jobs.getLanguage().getMessage("command.glog.output.exp", "%amount%", exp); expS = Jobs.getLanguage().getMessage("command.glog.output.exp", "%amount%", exp);
double points = info.get(CurrencyType.POINTS); double points = info.get(CurrencyType.POINTS);
totalPoints = totalPoints + points; totalPoints += points;
String pointsS = ""; String pointsS = "";
if (points != 0D) if (points != 0D)
@ -104,7 +99,7 @@ public class glog implements Cmd {
sender.sendMessage(Jobs.getLanguage().getMessage("command.glog.output.ls", sender.sendMessage(Jobs.getLanguage().getMessage("command.glog.output.ls",
"%number%", count, "%number%", count,
"%action%", info.getAction(), "%action%", info.getAction(),
"%item%", info.getItemName().replace(":0", "").replace("_", " ").toLowerCase(), "%item%", info.getItemName().replace(":0", "").replace('_', ' ').toLowerCase(),
"%qty%", info.getCount(), "%qty%", info.getCount(),
"%money%", moneyS, "%money%", moneyS,
"%exp%", expS, "%exp%", expS,

View File

@ -19,7 +19,6 @@
package com.gamingmesh.jobs.config; package com.gamingmesh.jobs.config;
import java.io.File; import java.io.File;
import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.HashMap; import java.util.HashMap;
@ -29,7 +28,6 @@ import java.util.Map;
import java.util.Set; import java.util.Set;
import org.apache.commons.lang.StringEscapeUtils; import org.apache.commons.lang.StringEscapeUtils;
import org.bukkit.Bukkit;
import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;
@ -70,8 +68,8 @@ public class ConfigManager {
private final Set<YmlMaker> jobFiles = new HashSet<>(); private final Set<YmlMaker> jobFiles = new HashSet<>();
public static final String exampleJobName = "_EXAMPLE"; public static final String EXAMPLEJOBNAME = "_EXAMPLE";
public static final String exampleJobInternalName = "exampleJob"; public static final String EXAMPLEJOBINTERNALNAME = "exampleJob";
public ConfigManager() { public ConfigManager() {
this.jobFile = new File(Jobs.getFolder(), "jobConfig.yml"); this.jobFile = new File(Jobs.getFolder(), "jobConfig.yml");
@ -81,7 +79,7 @@ public class ConfigManager {
} }
private void updateExampleFile() { 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()) if (!cfg.getFile().isFile())
return; return;
cfg.load(); cfg.load();
@ -311,7 +309,7 @@ public class ConfigManager {
} }
public void changeJobsSettings(String jobName, String path, Object value) { public void changeJobsSettings(String jobName, String path, Object value) {
path = path.replace("/", "."); path = path.replace('/', '.');
for (YmlMaker yml : jobFiles) { for (YmlMaker yml : jobFiles) {
if (yml.getConfigFile().getName().contains(jobName.toLowerCase())) { if (yml.getConfigFile().getName().contains(jobName.toLowerCase())) {
yml.getConfig().set(path, value); yml.getConfig().set(path, value);
@ -323,9 +321,7 @@ public class ConfigManager {
public class KeyValues { public class KeyValues {
private String type; private String type, subType = "", meta = "";
private String subType = "";
private String meta = "";
private int id = 0; private int id = 0;
public String getType() { public String getType() {
@ -628,12 +624,12 @@ public class ConfigManager {
} }
private boolean migrateJobs() { private boolean migrateJobs() {
YamlConfiguration oldConf = getJobConfig(); YamlConfiguration oldConf = getJobConfig();
if (oldConf == null) { if (oldConf == null) {
if (!jobsPathFolder.exists()) { if (!jobsPathFolder.exists()) {
jobsPathFolder.mkdirs(); jobsPathFolder.mkdirs();
} }
if (jobsPathFolder.isDirectory() && jobsPathFolder.listFiles().length == 0) if (jobsPathFolder.isDirectory() && jobsPathFolder.listFiles().length == 0)
try { try {
for (String f : Util.getFilesFromPackage("jobs", "", "yml")) { for (String f : Util.getFilesFromPackage("jobs", "", "yml")) {
@ -641,6 +637,7 @@ public class ConfigManager {
} }
} catch (Exception c) { } catch (Exception c) {
} }
return false; return false;
} }
@ -659,7 +656,7 @@ public class ConfigManager {
for (String jobKey : jobsSection.getKeys(false)) { 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"); YmlMaker newJobFile = new YmlMaker(jobsPathFolder, fileName + ".yml");
if (!newJobFile.exists()) { if (!newJobFile.exists()) {
@ -677,7 +674,7 @@ public class ConfigManager {
newJobFile.saveConfig(); newJobFile.saveConfig();
if (!fileName.equalsIgnoreCase(exampleJobName)) { if (!fileName.equalsIgnoreCase(EXAMPLEJOBNAME)) {
jobFiles.add(newJobFile); jobFiles.add(newJobFile);
} }
} }
@ -705,7 +702,7 @@ public class ConfigManager {
if (jobFiles.isEmpty()) { if (jobFiles.isEmpty()) {
File[] files = jobsPathFolder.listFiles((dir, name) -> name.toLowerCase().endsWith(".yml") File[] files = jobsPathFolder.listFiles((dir, name) -> name.toLowerCase().endsWith(".yml")
&& !name.toLowerCase().equalsIgnoreCase(exampleJobName + ".yml")); && !name.toLowerCase().equalsIgnoreCase(EXAMPLEJOBNAME + ".yml"));
if (files != null) { if (files != null) {
for (File file : files) { for (File file : files) {
jobFiles.add(new YmlMaker(jobsPathFolder, file)); jobFiles.add(new YmlMaker(jobsPathFolder, file));
@ -739,7 +736,7 @@ public class ConfigManager {
for (String jobKey : jobsSection.getKeys(false)) { for (String jobKey : jobsSection.getKeys(false)) {
// Ignore example job // Ignore example job
if (jobKey.equalsIgnoreCase(exampleJobInternalName)) { if (jobKey.equalsIgnoreCase(EXAMPLEJOBINTERNALNAME)) {
continue; continue;
} }
@ -747,7 +744,7 @@ public class ConfigManager {
jobKey = StringEscapeUtils.unescapeJava(jobKey); jobKey = StringEscapeUtils.unescapeJava(jobKey);
ConfigurationSection jobSection = jobsSection.getConfigurationSection(jobKey); ConfigurationSection jobSection = jobsSection.getConfigurationSection(jobKey);
String jobFullName = jobSection.getString("fullname", null); String jobFullName = jobSection.getString("fullname");
if (jobFullName == null) { if (jobFullName == null) {
log.warning("Job " + jobKey + " has an invalid fullname property. Skipping job!"); log.warning("Job " + jobKey + " has an invalid fullname property. Skipping job!");
continue; continue;
@ -775,7 +772,7 @@ public class ConfigManager {
rejoinCd *= 1000L; rejoinCd *= 1000L;
} }
String jobShortName = jobSection.getString("shortname", null); String jobShortName = jobSection.getString("shortname");
if (jobShortName == null) { if (jobShortName == null) {
log.warning("Job " + jobKey + " is missing the shortname property. Skipping job!"); log.warning("Job " + jobKey + " is missing the shortname property. Skipping job!");
continue; continue;
@ -884,7 +881,7 @@ public class ConfigManager {
// Gui item // Gui item
int guiSlot = -1; int guiSlot = -1;
ItemStack GUIitem = CMIMaterial.GREEN_WOOL.newItemStack(); ItemStack guiItem = CMIMaterial.GREEN_WOOL.newItemStack();
if (jobSection.contains("Gui")) { if (jobSection.contains("Gui")) {
ConfigurationSection guiSection = jobSection.getConfigurationSection("Gui"); ConfigurationSection guiSection = jobSection.getConfigurationSection("Gui");
if (guiSection.isString("Item")) { if (guiSection.isString("Item")) {
@ -921,24 +918,24 @@ public class ConfigManager {
} }
if (material != null) if (material != null)
GUIitem = material.newItemStack(); guiItem = material.newItemStack();
} else if (guiSection.isInt("Id") && guiSection.isInt("Data")) { } 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 } else
log.warning("Job " + jobKey + " has an invalid Gui property. Please fix this if you want to use it!"); log.warning("Job " + jobKey + " has an invalid Gui property. Please fix this if you want to use it!");
for (String str4 : guiSection.getStringList("Enchantments")) { for (String str4 : guiSection.getStringList("Enchantments")) {
String[] id = str4.split(":"); String[] id = str4.split(":");
if (GUIitem.getItemMeta() instanceof EnchantmentStorageMeta) { if (guiItem.getItemMeta() instanceof EnchantmentStorageMeta) {
EnchantmentStorageMeta enchantMeta = (EnchantmentStorageMeta) GUIitem.getItemMeta(); EnchantmentStorageMeta enchantMeta = (EnchantmentStorageMeta) guiItem.getItemMeta();
enchantMeta.addStoredEnchant(CMIEnchantment.getEnchantment(id[0]), Integer.parseInt(id[1]), true); enchantMeta.addStoredEnchant(CMIEnchantment.getEnchantment(id[0]), Integer.parseInt(id[1]), true);
GUIitem.setItemMeta(enchantMeta); guiItem.setItemMeta(enchantMeta);
} else } 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")) { if (guiSection.isString("CustomSkull")) {
GUIitem = Util.getSkull(guiSection.getString("CustomSkull")); guiItem = Util.getSkull(guiSection.getString("CustomSkull"));
} }
if (guiSection.getInt("slot", -1) >= 0) if (guiSection.getInt("slot", -1) >= 0)
@ -985,16 +982,6 @@ public class ConfigManager {
} }
} }
// Command on leave
List<String> JobsCommandOnLeave = new ArrayList<>();
if (jobSection.isList("cmd-on-leave"))
JobsCommandOnLeave = jobSection.getStringList("cmd-on-leave");
// Command on join
List<String> JobsCommandOnJoin = new ArrayList<>();
if (jobSection.isList("cmd-on-join"))
JobsCommandOnJoin = jobSection.getStringList("cmd-on-join");
// Commands // Commands
ArrayList<JobCommands> jobCommand = new ArrayList<>(); ArrayList<JobCommands> jobCommand = new ArrayList<>();
ConfigurationSection commandsSection = jobSection.getConfigurationSection("commands"); ConfigurationSection commandsSection = jobSection.getConfigurationSection("commands");
@ -1019,12 +1006,6 @@ public class ConfigManager {
} }
} }
// Commands
List<String> worldBlacklist = new ArrayList<>();
if (jobSection.isList("world-blacklist")) {
worldBlacklist = jobSection.getStringList("world-blacklist");
}
// Items **OUTDATED** Moved to ItemBoostManager!! // Items **OUTDATED** Moved to ItemBoostManager!!
HashMap<String, JobItems> jobItems = new HashMap<>(); HashMap<String, JobItems> jobItems = new HashMap<>();
ConfigurationSection itemsSection = jobSection.getConfigurationSection("items"); ConfigurationSection itemsSection = jobSection.getConfigurationSection("items");
@ -1084,10 +1065,10 @@ public class ConfigManager {
// Limited Items // Limited Items
HashMap<String, JobLimitedItems> jobLimitedItems = new HashMap<>(); HashMap<String, JobLimitedItems> jobLimitedItems = new HashMap<>();
ConfigurationSection LimitedItemsSection = jobSection.getConfigurationSection("limitedItems"); ConfigurationSection limitedItemsSection = jobSection.getConfigurationSection("limitedItems");
if (LimitedItemsSection != null) { if (limitedItemsSection != null) {
for (String itemKey : LimitedItemsSection.getKeys(false)) { for (String itemKey : limitedItemsSection.getKeys(false)) {
ConfigurationSection itemSection = LimitedItemsSection.getConfigurationSection(itemKey); ConfigurationSection itemSection = limitedItemsSection.getConfigurationSection(itemKey);
if (itemSection == null) { if (itemSection == null) {
log.warning("Job " + jobKey + " has an invalid item key " + itemKey + "!"); log.warning("Job " + jobKey + " has an invalid item key " + itemKey + "!");
continue; continue;
@ -1095,9 +1076,7 @@ public class ConfigManager {
int id = itemSection.getInt("id"); int id = itemSection.getInt("id");
String name = null; String name = itemSection.getString("name");
if (itemSection.isString("name"))
name = itemSection.getString("name");
List<String> lore = new ArrayList<>(); List<String> lore = new ArrayList<>();
if (itemSection.isList("lore")) 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, 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.setFullDescription(fDescription);
job.setMoneyEquation(incomeEquation); job.setMoneyEquation(incomeEquation);

View File

@ -69,15 +69,15 @@ public class Job {
// max number of people allowed with this job on the server. // max number of people allowed with this job on the server.
private Integer maxSlots; private Integer maxSlots;
private List<String> CmdOnJoin = new ArrayList<>(), CmdOnLeave = new ArrayList<>(); private List<String> cmdOnJoin = new ArrayList<>(), cmdOnLeave = new ArrayList<>();
private ItemStack GUIitem; private ItemStack guiItem;
private int guiSlot = 0; private int guiSlot = 0;
private Long rejoinCd = 0L; private Long rejoinCd = 0L;
private int totalPlayers = -1; private int totalPlayers = -1;
private Double bonus = null; private Double bonus;
private BoostMultiplier boost = new BoostMultiplier(); private BoostMultiplier boost = new BoostMultiplier();
private String bossbar; private String bossbar;
@ -89,12 +89,11 @@ public class Job {
private final List<Quest> quests = new ArrayList<>(); private final List<Quest> quests = new ArrayList<>();
private int maxDailyQuests = 1; private int maxDailyQuests = 1;
private int id = 0; private int id = 0;
public Job(String jobName, String fullName, String jobShortName, String description, CMIChatColor jobColour, Parser maxExpEquation, DisplayMethod displayMethod, int maxLevel, public Job(String jobName, String fullName, String jobShortName, String description, CMIChatColor jobColour, Parser maxExpEquation, DisplayMethod displayMethod, int maxLevel,
int vipmaxLevel, Integer maxSlots, List<JobPermission> jobPermissions, List<JobCommands> jobCommands, List<JobConditions> jobConditions, HashMap<String, JobItems> jobItems, int vipmaxLevel, Integer maxSlots, List<JobPermission> jobPermissions, List<JobCommands> jobCommands, List<JobConditions> jobConditions, HashMap<String, JobItems> jobItems,
HashMap<String, JobLimitedItems> jobLimitedItems, List<String> CmdOnJoin, List<String> CmdOnLeave, ItemStack GUIitem, int guiSlot, String bossbar, Long rejoinCD, List<String> worldBlacklist) { HashMap<String, JobLimitedItems> jobLimitedItems, List<String> cmdOnJoin, List<String> cmdOnLeave, ItemStack guiItem, int guiSlot, String bossbar, Long rejoinCD, List<String> worldBlacklist) {
this.jobName = jobName == null ? "" : jobName; this.jobName = jobName == null ? "" : jobName;
this.fullName = fullName == null ? "" : fullName; this.fullName = fullName == null ? "" : fullName;
this.jobShortName = jobShortName; this.jobShortName = jobShortName;
@ -110,14 +109,17 @@ public class Job {
this.jobConditions = jobConditions; this.jobConditions = jobConditions;
this.jobItems = jobItems; this.jobItems = jobItems;
this.jobLimitedItems = jobLimitedItems; this.jobLimitedItems = jobLimitedItems;
this.CmdOnJoin = CmdOnJoin; this.cmdOnJoin = cmdOnJoin;
this.CmdOnLeave = CmdOnLeave; this.cmdOnLeave = cmdOnLeave;
this.GUIitem = GUIitem; this.guiItem = guiItem;
this.guiSlot = guiSlot; this.guiSlot = guiSlot;
this.bossbar = bossbar; this.bossbar = bossbar;
this.rejoinCd = rejoinCD; this.rejoinCd = rejoinCD;
if (worldBlacklist != null) {
this.worldBlacklist = worldBlacklist; this.worldBlacklist = worldBlacklist;
} }
}
public void addBoost(CurrencyType type, double Point) { public void addBoost(CurrencyType type, double Point) {
boost.add(type, Point); boost.add(type, Point);
@ -197,15 +199,15 @@ public class Job {
} }
public List<String> getCmdOnJoin() { public List<String> getCmdOnJoin() {
return CmdOnJoin; return cmdOnJoin;
} }
public List<String> getCmdOnLeave() { public List<String> getCmdOnLeave() {
return CmdOnLeave; return cmdOnLeave;
} }
public ItemStack getGuiItem() { public ItemStack getGuiItem() {
return GUIitem; return guiItem;
} }
public int getGuiSlot() { public int getGuiSlot() {
@ -519,8 +521,7 @@ public class Job {
while (true) { while (true) {
i++; i++;
final Random rand = new Random(System.nanoTime()); int target = new Random(System.nanoTime()).nextInt(100);
int target = rand.nextInt(100);
for (Quest one : ls) { for (Quest one : ls) {
if (one.getChance() >= target && (excludeQuests == null || !excludeQuests.contains(one.getConfigName().toLowerCase())) if (one.getChance() >= target && (excludeQuests == null || !excludeQuests.contains(one.getConfigName().toLowerCase()))
&& one.isInLevelRange(level)) { && one.isInLevelRange(level)) {

View File

@ -27,7 +27,6 @@ import com.gamingmesh.jobs.container.blockOwnerShip.BlockOwnerShip;
import com.gamingmesh.jobs.container.blockOwnerShip.BlockOwnerShip.ownershipFeedback; import com.gamingmesh.jobs.container.blockOwnerShip.BlockOwnerShip.ownershipFeedback;
import com.gamingmesh.jobs.hooks.HookManager; import com.gamingmesh.jobs.hooks.HookManager;
import com.gamingmesh.jobs.hooks.JobsHook; import com.gamingmesh.jobs.hooks.JobsHook;
import com.gamingmesh.jobs.stuff.Debug;
import com.google.common.base.Objects; import com.google.common.base.Objects;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;

View File

@ -2,11 +2,11 @@
# #
# Edited by roracle to include 1.13 items and item names, preparing for 1.14 as well. # Edited by roracle to include 1.13 items and item names, preparing for 1.14 as well.
# Must be one word. This job will be ignored as this is just example of all possible actions.
# ATTENTION! # 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. # 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.
exampleJob: exampleJob:
# full name of the job (displayed when browsing a job, used when joining and leaving) # 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. # also can be used as a prefix for the user's name if the option is enabled.

View File

@ -18,7 +18,7 @@ general:
'true': '&2Povoleno' 'true': '&2Povoleno'
'false': '&cZakázáno' 'false': '&cZakázáno'
blocks: blocks:
furnace: Furnace furnace: Pec
smoker: Smoker smoker: Smoker
blastfurnace: Blast furnace blastfurnace: Blast furnace
brewingstand: Brewing stand brewingstand: Brewing stand

View File

@ -18,10 +18,10 @@ general:
'true': '&2Vrai' 'true': '&2Vrai'
'false': '&cFaux' 'false': '&cFaux'
blocks: blocks:
furnace: Furnace furnace: Four
smoker: Smoker smoker: Fumoir
blastfurnace: Blast furnace blastfurnace: Haut fourneau
brewingstand: Brewing stand brewingstand: Alambic
admin: admin:
error: '&cUne erreur est survenue pendant l''exécution de la commande.' error: '&cUne erreur est survenue pendant l''exécution de la commande.'
success: '&eLa commande a été exécutée avec succès.' 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!' ingame: '&cVous ne pouvez utiliser cette commande qu''en jeu!'
fromconsole: '&cCette commande doit être lancée depuis la console!' fromconsole: '&cCette commande doit être lancée depuis la console!'
worldisdisabled: '&cVous ne pouvez pas utiliser cette commande dans ce monde!' worldisdisabled: '&cVous ne pouvez pas utiliser cette commande dans ce monde!'
newRegistration: '&eRegistered new ownership for [block] &7[current]&e/&f[max]' newRegistration: '&eNouveau propriétaire enregistré pour [block] (&7[current]&e/&f[max]&e)'
noRegistration: '&cYou''ve reached max [block] count!' noRegistration: '&cVous avez atteins la limite de [block] maximal !'
command: command:
help: help:
output: output:
@ -118,12 +118,12 @@ command:
args: '[jobname]' args: '[jobname]'
output: output:
topline: '&7**************** &2[money] &6[points] &e[exp] &7****************' 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%' item: ' &eBonus d''objet: &2%money% &6%points% &e%exp%'
global: ' &eBonus global: &2%money% &6%points% &e%exp%' global: ' &eBonus global: &2%money% &6%points% &e%exp%'
dynamic: ' &eBonus dynamique: &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%' 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%' area: ' &eBonus de zone: &2%money% &6%points% &e%exp%'
mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%' mcmmo: ' &eMcMMO bonus: &2%money% &6%points% &e%exp%'
final: ' &eBonus final: &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. nojob: Vous n'avez pas de métier.
output: output:
message: 'Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp' message: 'Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp'
max-level: ' &cMax level - %jobname%' max-level: ' &cNiveau max - %jobname%'
bossBarOutput: 'Lvl %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%' bossBarOutput: 'Niveau %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%'
bossBarGain: ' &7(&f%gain%&7)' bossBarGain: ' &7(&f%gain%&7)'
shop: shop:
help: help:
@ -317,7 +317,7 @@ command:
jobinfo: '&e[jobname] info!' jobinfo: '&e[jobname] info!'
actions: '&eActions rémunérées:' actions: '&eActions rémunérées:'
leftClick: '&eClic gauche pour plus d''infos' 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' rightClick: '&eClic droit pour rejoindre ce métier'
leftSlots: '&ePlaces restantes :&f ' leftSlots: '&ePlaces restantes :&f '
working: '&2&nVous exercez déjà ce métier' working: '&2&nVous exercez déjà ce métier'
@ -662,9 +662,9 @@ message:
broadcast: '%playername% a été promu %titlename% %jobname%.' broadcast: '%playername% a été promu %titlename% %jobname%.'
nobroadcast: Félicitations, vous avez été promu %titlename% %jobname%. nobroadcast: Félicitations, vous avez été promu %titlename% %jobname%.
max-level-reached: max-level-reached:
title: '&2Max level reached' title: 'Niveau maximum atteint'
subtitle: '&2in %jobname%!' subtitle: '&2dans %jobname% !'
chat: '&cYou have reached the maximum level in %jobname%!' chat: '&cVous avez atteint le niveau miximal au métier %jobname% !'
levelup: levelup:
broadcast: '%playername% est maintenant %jobname% niveau %joblevel%.' broadcast: '%playername% est maintenant %jobname% niveau %joblevel%.'
nobroadcast: Vous êtes maintenant %jobname% niveau %joblevel%. nobroadcast: Vous êtes maintenant %jobname% niveau %joblevel%.

View File

@ -41,7 +41,7 @@ general:
command: command:
help: help:
output: 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]' cmdUsage: '&2Használat: &7[command]'
label: Jobs label: Jobs
cmdInfoFormat: '[command] &f- &2[description]' cmdInfoFormat: '[command] &f- &2[description]'

View File

@ -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)'

View File

@ -36,8 +36,8 @@ general:
ingame: '&cMożesz użyć tej komendy tylko w grze!' ingame: '&cMożesz użyć tej komendy tylko w grze!'
fromconsole: '&cMożesz użyć tej komendy tylko w konsoli!' fromconsole: '&cMożesz użyć tej komendy tylko w konsoli!'
worldisdisabled: '&cNie możesz użyć tej komendy w tym świecie!' worldisdisabled: '&cNie możesz użyć tej komendy w tym świecie!'
newRegistration: '&eRegistered new ownership for [block] &7[current]&e/&f[max]' newRegistration: '&eZarejestrowano nową własność dla [block] &7[current]&e/&f[max]'
noRegistration: '&cYou''ve reached max [block] count!' noRegistration: '&cOsiągnąłeś maksymalną ilość [block]!'
command: command:
help: help:
output: output:
@ -93,12 +93,12 @@ command:
infostats: '&c-----> &aStawka exp''a x%boost% włączona&c <-------' infostats: '&c-----> &aStawka exp''a x%boost% włączona&c <-------'
schedule: schedule:
help: help:
info: Enables the given scheduler info: Włącza dany harmonogram
args: enable [scheduleName] [untilTime] args: enable [scheduleName] [untilTime]
output: output:
noScheduleFound: '&cSchedule with this name not found.' noScheduleFound: '&cNie znaleziono harmonogramu o tej nazwie.'
alreadyEnabled: '&cThis schedule already enabled.' alreadyEnabled: '&cTen harmonogram jest już włączony.'
enabled: '&eSchedule have been enabled from&a %from%&e until&a %until%' enabled: 'Harmonogram został włączony od&a %from%&e do &a %until%'
itembonus: itembonus:
help: help:
info: Sprawdź bonus przedmiotu info: Sprawdź bonus przedmiotu
@ -257,8 +257,8 @@ command:
error: error:
nojob: Najpierw dołącz do pracy. nojob: Najpierw dołącz do pracy.
output: output:
message: 'Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp' message: 'Poziom %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp'
max-level: ' &cMax level - %jobname%' max-level: ' &cMaks. poziom - %jobname%'
bossBarOutput: 'Poziom %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%' bossBarOutput: 'Poziom %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%'
bossBarGain: ' &7(&f%gain%&7)' bossBarGain: ' &7(&f%gain%&7)'
shop: shop:
@ -463,7 +463,7 @@ command:
info: Wyczyść własność bloku info: Wyczyść własność bloku
args: '[playername]' args: '[playername]'
output: 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: skipquest:
help: help:
info: Pomiń dane zadanie i otrzymaj nowe info: Pomiń dane zadanie i otrzymaj nowe

File diff suppressed because it is too large Load Diff

View File

@ -14,22 +14,22 @@ general:
hours: '&e%hours% &6saat ' hours: '&e%hours% &6saat '
mins: '&e%mins% &6dakika ' mins: '&e%mins% &6dakika '
secs: '&e%secs% &6saniye ' secs: '&e%secs% &6saniye '
invalidPage: '&cInvalid page' invalidPage: '&cGeçersiz Sayfa'
'true': '&2True' 'true': '&2Doğru'
'false': '&cFalse' 'false': '&cYanlış'
blocks: blocks:
furnace: Furnace furnace: Fırın
smoker: Smoker smoker: Dumancı
blastfurnace: Blast furnace blastfurnace: Yüksek fırın
brewingstand: Brewing stand brewingstand: Simya Standı
admin: admin:
error: '&cKomut uygulanırken bir hata oluştu.' error: '&cKomut uygulanırken bir hata oluştu.'
success: '&eKomut başarıyla uygulandı.' success: '&eKomut başarıyla uygulandı.'
error: error:
noHelpPage: '&cBu sayıda bir yardım sayfası yok!' noHelpPage: '&cBu sayıda bir yardım sayfası yok!'
notNumber: '&eLütfen sayıları kullanın!' notNumber: '&eLütfen sayıları kullanın!'
job: '&cThe job you selected does not exist or you not joined to this' job: '&cSeçtiğiniz iş mevcut değil veya buna katılmadınız'
noCommand: '&cThere is no command by this name!' noCommand: '&cBu isimde bir komut yok!'
permission: '&cBunun için yetkiniz bulunmamaktadır!' permission: '&cBunun için yetkiniz bulunmamaktadır!'
noinfo: '&cBilgi bulunamadı!' noinfo: '&cBilgi bulunamadı!'
noinfoByPlayer: '&cŞuan [%playername%] adlı oyuncunun bilgisi yok!' noinfoByPlayer: '&cŞuan [%playername%] adlı oyuncunun bilgisi yok!'
@ -42,7 +42,7 @@ command:
help: help:
output: output:
info: /jobs [komut] ? yazarak komut hakkında bilgi alabilirsin. info: /jobs [komut] ? yazarak komut hakkında bilgi alabilirsin.
cmdUsage: '&2Usage: &7[command]' cmdUsage: '&2Kullanımı: &7[command]'
label: Jobs label: Jobs
cmdInfoFormat: '[command] &f- &2[description]' cmdInfoFormat: '[command] &f- &2[description]'
cmdFormat: '&7/[command] &f[arguments]' cmdFormat: '&7/[command] &f[arguments]'
@ -50,14 +50,14 @@ command:
title: '&e-------&e ======= &6Meslekler &e======= &e-------' title: '&e-------&e ======= &6Meslekler &e======= &e-------'
page: '&e-----&e ====== Sayfa &6[1] &eSonraki &6[2] &e====== &e-----' page: '&e-----&e ====== Sayfa &6[1] &eSonraki &6[2] &e====== &e-----'
fliperSimbols: '&e----------' fliperSimbols: '&e----------'
prevPage: '&2----<< &6Prev ' prevPage: '&2----<< &6Önceki '
prevPageOff: '&7----<< Prev ' prevPageOff: '&7----<< Önceki '
nextPage: '&6 Next &2>>----' nextPage: '&6 Sonraki &2>>----'
nextPageOff: '&7 Next >>----' nextPageOff: '&7 Sonraki >>----'
pageCount: '&2[current]/[total]' pageCount: '&2[current]/[total]'
pageCountHover: '&e[totalEntries] entries' pageCountHover: '&e[totalEntries] entries'
prevPageGui: '&6Previous page ' prevPageGui: '&6Önceki sayfa'
nextPageGui: '&6Next Page' nextPageGui: '&6Sonraki Sayfa'
moneyboost: moneyboost:
help: help:
info: Tüm oyunculara para avansı verir. info: Tüm oyunculara para avansı verir.
@ -183,7 +183,7 @@ command:
info: Edit current jobs. info: Edit current jobs.
args: '' args: ''
list: list:
job: '&eJobs:' job: '&eMeslek:'
jobs: ' -> [&e%jobname%&r]' jobs: ' -> [&e%jobname%&r]'
actions: ' -> [&e%actionname%&r]' actions: ' -> [&e%actionname%&r]'
material: ' -> [&e%materialname%&r] ' material: ' -> [&e%materialname%&r] '
@ -195,14 +195,14 @@ command:
modify: modify:
newValue: '&eEnter new value' newValue: '&eEnter new value'
enter: '&eEnter new name or press ' enter: '&eEnter new name or press '
hand: '&6HAND ' hand: '&6El '
handHover: '&6Press to grab info from item in your hand' handHover: '&6Press to grab info from item in your hand'
or: '&eor ' or: '&eor '
look: '&6LOOKING AT' look: '&6Bakmak'
lookHover: '&6Press to grab info from block you are looking' lookHover: '&6Press to grab info from block you are looking'
editquests: editquests:
help: help:
info: Edit current quests. info: Mevcut görevleri düzenleyin.
args: '' args: ''
list: list:
quest: '&eQuests:' quest: '&eQuests:'
@ -235,8 +235,8 @@ command:
args: '' args: ''
output: output:
name: ' &eItem ismi: &6%itemname%' name: ' &eItem ismi: &6%itemname%'
id: ' &eItem id: &6%itemid%' id: ' &eEşya id: &6%itemid%'
data: ' &eItem data: &6%itemdata%' data: ' &eEşya ismi: &6%itemdata%'
usage: ' &eKullanımı: &6%first% &eveya &6%second%' usage: ' &eKullanımı: &6%first% &eveya &6%second%'
placeholders: placeholders:
help: help:
@ -244,7 +244,7 @@ command:
args: (parse) (placeholder) args: (parse) (placeholder)
output: output:
list: '&e[place]. &7[placeholder]' list: '&e[place]. &7[placeholder]'
outputResult: ' &eresult: &7[result]' outputResult: ' &eSonuç: &7[result]'
parse: '&6[placeholder] &7by [source] &6result &8|&f[result]&8|' parse: '&6[placeholder] &7by [source] &6result &8|&f[result]&8|'
entitylist: entitylist:
help: help:
@ -258,8 +258,8 @@ command:
nojob: Lütfen önce bir mesleğe giriniz. nojob: Lütfen önce bir mesleğe giriniz.
output: output:
message: 'Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp' message: 'Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp'
max-level: ' &cMax level - %jobname%' max-level: ' &cMaks Level - %jobname%'
bossBarOutput: 'Lvl %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%' bossBarOutput: 'Level %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%'
bossBarGain: ' &7(&f%gain%&7)' bossBarGain: ' &7(&f%gain%&7)'
shop: shop:
help: help:
@ -336,7 +336,7 @@ command:
info: 'Yerleştirmek' info: 'Yerleştirmek'
none: '%jobname% bu iş için para vermez.' none: '%jobname% bu iş için para vermez.'
striplogs: striplogs:
info: '&eStrip logs' info: '&eŞerit Geçmişi'
none: '%jobname% does not get money for stripping logs.' none: '%jobname% does not get money for stripping logs.'
kill: kill:
info: 'Öldürmek' info: 'Öldürmek'
@ -393,7 +393,7 @@ command:
info: '&eCollect' info: '&eCollect'
none: '%jobname% does not get money for collecting blocks.' none: '%jobname% does not get money for collecting blocks.'
bake: bake:
info: '&eBake' info: '&ePişir'
none: '%jobname% does not get money for cooking foods.' none: '%jobname% does not get money for cooking foods.'
playerinfo: playerinfo:
help: help:
@ -472,15 +472,15 @@ command:
questSkipForCost: '&2You skipped the quest and paid:&e %amount%$' questSkipForCost: '&2You skipped the quest and paid:&e %amount%$'
quests: quests:
help: help:
info: List available quests info: Mevcut görevleri listele
args: '[playername]' args: '[playername]'
error: error:
noquests: '&cThere are no quests' noquests: '&cGörev yok'
toplineseparator: '&7*********************** &6[playerName] &2(&f[questsDone]&2) &7***********************' toplineseparator: '&7*********************** &6[playerName] &2(&f[questsDone]&2) &7***********************'
status: status:
changed: '&2The quests status has been changed to&r %status%' changed: '&2The quests status has been changed to&r %status%'
started: '&aStarted' started: '&aBaşlatıldı'
stopped: '&cStopped' stopped: '&cDurduruldu'
output: output:
completed: '&2 !Completed!&r ' completed: '&2 !Completed!&r '
questLine: '[progress] &7[questName] &f[done]&7/&8[required]' questLine: '[progress] &7[questName] &f[done]&7/&8[required]'
@ -563,9 +563,9 @@ command:
output: output:
topline: '&7************************* &6%playername% &7*************************' topline: '&7************************* &6%playername% &7*************************'
ls: '&7* &6%number%. &3%action%: &6%item% &eqty: %qty% %money%%exp%%points%' ls: '&7* &6%number%. &3%action%: &6%item% &eqty: %qty% %money%%exp%%points%'
money: '&6money: %amount% ' money: '&6Para: %amount% '
exp: '&eexp: %amount% ' exp: '&eXP: %amount% '
points: '&6points: %amount%' points: '&6Puan: %amount%'
totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%' totalIncomes: ' &6Total money:&2 %money%&6, Total exp:&2 %exp%&6, Total points:&2 %points%'
bottomline: '&7***********************************************************' bottomline: '&7***********************************************************'
prev: '&e<<<<< Önceki Sayfa &2|' prev: '&e<<<<< Önceki Sayfa &2|'