mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 05:35:44 +01:00
Added description to /bsb (reload and version) + added some aliases
This commit is contained in:
parent
b04602302b
commit
4bd02a59ef
@ -19,7 +19,7 @@ public class AdminCommand extends CompositeCommand {
|
||||
public void setup() {
|
||||
setPermission(Constants.PERMPREFIX + "admin.*");
|
||||
setOnlyPlayer(false);
|
||||
setDescription("admin.help.description");
|
||||
setDescription("commands.admin.help.description");
|
||||
new AdminVersionCommand(this);
|
||||
new AdminReloadCommand(this);
|
||||
new AdminTeleportCommand(this);
|
||||
|
@ -9,18 +9,16 @@ import us.tastybento.bskyblock.api.commands.CompositeCommand;
|
||||
import us.tastybento.bskyblock.api.commands.User;
|
||||
|
||||
/**
|
||||
* @author ben
|
||||
* @author tastybento
|
||||
*
|
||||
*/
|
||||
public class AdminReloadCommand extends CompositeCommand {
|
||||
|
||||
/**
|
||||
* @param parent
|
||||
* @param label
|
||||
* @param aliases
|
||||
*/
|
||||
public AdminReloadCommand(CompositeCommand parent) {
|
||||
super(parent, "reload");
|
||||
super(parent, "reload", "rl");
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
@ -28,8 +26,7 @@ public class AdminReloadCommand extends CompositeCommand {
|
||||
*/
|
||||
@Override
|
||||
public void setup() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
setDescription("commands.admin.reload.description");
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
@ -9,13 +9,14 @@ import us.tastybento.bskyblock.api.commands.User;
|
||||
public class AdminVersionCommand extends CompositeCommand {
|
||||
|
||||
public AdminVersionCommand(CompositeCommand adminCommand) {
|
||||
super(adminCommand, "version");
|
||||
super(adminCommand, "version", "v");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setup() {
|
||||
// Permission
|
||||
setPermission(Constants.PERMPREFIX + "admin.version");
|
||||
setDescription("commands.admin.version.description");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user