diff --git a/pom.xml b/pom.xml index 4dbaab46..3e3ff653 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 Jobs jobs - 5.2.2.4 + 5.2.2.5 Jobs http://maven.apache.org diff --git a/src/main/java/com/gamingmesh/jobs/commands/JobsCommands.java b/src/main/java/com/gamingmesh/jobs/commands/JobsCommands.java index c6277231..4fd94d0c 100644 --- a/src/main/java/com/gamingmesh/jobs/commands/JobsCommands.java +++ b/src/main/java/com/gamingmesh/jobs/commands/JobsCommands.java @@ -437,7 +437,7 @@ public class JobsCommands implements CommandExecutor { public String jobStatsMessage(JobProgression jobProg, JobsPlayer jPlayer, boolean progressBar) { boolean isMaxLevelReached = jobProg.getLevel() >= (jPlayer == null ? jobProg.getJob().getMaxLevel() : jPlayer.getMaxJobLevelAllowed(jobProg.getJob())); - String path = "command.stats.output." + (isMaxLevelReached ? "max-level" : "message"); + String path = "command.stats.output." + (isMaxLevelReached ? "maxLevel" : "Level"); Title title = Jobs.getTitleManager().getTitle(jobProg.getLevel(), jobProg.getJob().getName()); String message = Jobs.getLanguage().getMessage(path, @@ -462,14 +462,14 @@ public class JobsCommands implements CommandExecutor { StringBuilder message = new StringBuilder(); int percentage = (int) ((current * 50.0) / max); for (int i = 0; i < percentage; i++) { - message.append(Jobs.getLanguage().getMessage("command.stats.bar2")); + message.append(Jobs.getLanguage().getMessage("command.stats.barFull")); } if (50 - percentage < 0) percentage = 50; for (int i = 0; i < 50 - percentage; i++) { - message.append(Jobs.getLanguage().getMessage("command.stats.bar1")); + message.append(Jobs.getLanguage().getMessage("command.stats.barEmpty")); } return message.toString(); } diff --git a/src/main/java/com/gamingmesh/jobs/config/LanguageManager.java b/src/main/java/com/gamingmesh/jobs/config/LanguageManager.java index 6a02eae4..61de94de 100644 --- a/src/main/java/com/gamingmesh/jobs/config/LanguageManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/LanguageManager.java @@ -296,12 +296,12 @@ public class LanguageManager { c.get("command.stats.help.args", "[playername]"); Jobs.getGCManager().getCommandArgs().put("stats", Arrays.asList("[playername]")); c.get("command.stats.error.nojob", "Please join a job first."); - c.get("command.stats.output.message", "Level %joblevel% for %jobname%: %jobxp%/%jobmaxxp% xp"); - c.get("command.stats.output.max-level", " &cMax level - %jobname%"); + c.get("command.stats.output.Level", "&7Level &f%joblevel% &7for &f%jobname%&7: &f%jobxp%&7/&f%jobmaxxp%&7xp"); + c.get("command.stats.output.maxLevel", " &2Max &7Level &f%joblevel% &7for &f%jobname%"); c.get("command.stats.bossBarOutput", "Lvl %joblevel% %jobname%: %jobxp%/%jobmaxxp% xp%gain%"); c.get("command.stats.bossBarGain", " &7(&f%gain%&7)"); - c.get("command.stats.bar1", "&e\u258F"); - c.get("command.stats.bar2", "&2\u258F"); + c.get("command.stats.barEmpty", "&7\u258F"); + c.get("command.stats.barFull", "&2\u258F"); c.get("command.shop.help.info", "Opens special jobs shop."); c.get("command.shop.help.args", "");