mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-22 02:25:56 +01:00
Added locale for AdminLevelStatusCommand
This commit is contained in:
parent
d5c4e3a53c
commit
56530cecc1
@ -3,6 +3,7 @@ package world.bentobox.level.commands;
|
||||
import java.util.List;
|
||||
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.localization.TextVariables;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.level.Level;
|
||||
|
||||
@ -24,7 +25,7 @@ public class AdminLevelStatusCommand extends CompositeCommand {
|
||||
|
||||
@Override
|
||||
public boolean execute(User user, String label, List<String> args) {
|
||||
user.sendRawMessage("Islands in queue: " + addon.getPipeliner().getIslandsInQueue());
|
||||
user.sendMessage("islands-in-queue", TextVariables.NUMBER, String.valueOf(addon.getPipeliner().getIslandsInQueue()));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,9 @@ admin:
|
||||
level:
|
||||
parameters: "<player>"
|
||||
description: "calculate the island level for player"
|
||||
levelstatus:
|
||||
description: "show how many islands are in the queue for scanning"
|
||||
islands-in-queue: "&a Islands in queue: [number]"
|
||||
top:
|
||||
description: "show the top ten list"
|
||||
unknown-world: "&c Unknown world!"
|
||||
|
Loading…
Reference in New Issue
Block a user