Add more string replacements for /is level output (#303)
* Add more string replacements to output * Forgot to include the locale change
This commit is contained in:
parent
774bbd034c
commit
2d1f618676
|
@ -111,7 +111,11 @@ public class IslandLevelCommand extends CompositeCommand {
|
||||||
}
|
}
|
||||||
// Send player how many points are required to reach next island level
|
// Send player how many points are required to reach next island level
|
||||||
if (results.getPointsToNextLevel() >= 0) {
|
if (results.getPointsToNextLevel() >= 0) {
|
||||||
user.sendMessage("island.level.required-points-to-next-level", "[points]", String.valueOf(results.getPointsToNextLevel()));
|
user.sendMessage("island.level.required-points-to-next-level",
|
||||||
|
"[points]", String.valueOf(results.getPointsToNextLevel()),
|
||||||
|
"[progress]", String.valueOf(this.addon.getSettings().getLevelCost()-results.getPointsToNextLevel()),
|
||||||
|
"[levelcost]", String.valueOf(this.addon.getSettings().getLevelCost())
|
||||||
|
);
|
||||||
}
|
}
|
||||||
// Tell other team members
|
// Tell other team members
|
||||||
if (results.getLevel() != oldLevel) {
|
if (results.getLevel() != oldLevel) {
|
||||||
|
|
|
@ -42,7 +42,7 @@ island:
|
||||||
estimated-wait: "&a Estimated wait: [number] seconds"
|
estimated-wait: "&a Estimated wait: [number] seconds"
|
||||||
in-queue: "&a You are number [number] in the queue"
|
in-queue: "&a You are number [number] in the queue"
|
||||||
island-level-is: "&a Island level is &b[level]"
|
island-level-is: "&a Island level is &b[level]"
|
||||||
required-points-to-next-level: "&a [points] points required until the next level"
|
required-points-to-next-level: "&aLevel progress: &6[progress]&b/&e[levelcost]&a points"
|
||||||
deaths: "&c([number] deaths)"
|
deaths: "&c([number] deaths)"
|
||||||
cooldown: "&c You must wait &b[time] &c seconds until you can do that again"
|
cooldown: "&c You must wait &b[time] &c seconds until you can do that again"
|
||||||
in-progress: "&6 Island level calculation is in progress..."
|
in-progress: "&6 Island level calculation is in progress..."
|
||||||
|
|
Loading…
Reference in New Issue