mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-12 03:59:06 +00:00
bending help displays commands you have perms for
This commit is contained in:
parent
d1f26305fc
commit
d6d2bfa6ad
1 changed files with 34 additions and 20 deletions
|
@ -1160,18 +1160,32 @@ public class Commands {
|
||||||
}
|
}
|
||||||
if (args.length != 2) {
|
if (args.length != 2) {
|
||||||
s.sendMessage(ChatColor.GOLD + "Proper Usage: /bending help Command/Ability");
|
s.sendMessage(ChatColor.GOLD + "Proper Usage: /bending help Command/Ability");
|
||||||
|
if (s.hasPermission("bending.command.add")) {
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending add <Player> [Element]");
|
s.sendMessage(ChatColor.YELLOW + "/bending add <Player> [Element]");
|
||||||
|
}
|
||||||
|
if (s.hasPermission("bending.command.bind"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending bind [Ability] <Slot>");
|
s.sendMessage(ChatColor.YELLOW + "/bending bind [Ability] <Slot>");
|
||||||
|
if (s.hasPermission("bending.command.clear"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending clear <slot>");
|
s.sendMessage(ChatColor.YELLOW + "/bending clear <slot>");
|
||||||
|
if (s.hasPermission("bending.command.choose"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending choose <Player> [Element]");
|
s.sendMessage(ChatColor.YELLOW + "/bending choose <Player> [Element]");
|
||||||
|
if (s.hasPermission("bending.command.display"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending display <Element>");
|
s.sendMessage(ChatColor.YELLOW + "/bending display <Element>");
|
||||||
|
if (s.hasPermission("bending.command.import"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending import");
|
s.sendMessage(ChatColor.YELLOW + "/bending import");
|
||||||
|
if (s.hasPermission("bending.admin.permaremove"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending permaremove <Player>");
|
s.sendMessage(ChatColor.YELLOW + "/bending permaremove <Player>");
|
||||||
|
if (s.hasPermission("bending.admin.remove"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending remove [Player]");
|
s.sendMessage(ChatColor.YELLOW + "/bending remove [Player]");
|
||||||
|
if (s.hasPermission("bending.command.toggle"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending toggle");
|
s.sendMessage(ChatColor.YELLOW + "/bending toggle");
|
||||||
|
if (s.hasPermission("bending.command.version"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending version");
|
s.sendMessage(ChatColor.YELLOW + "/bending version");
|
||||||
|
if (s.hasPermission("bending.command.who"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending who");
|
s.sendMessage(ChatColor.YELLOW + "/bending who");
|
||||||
|
if (s.hasPermission("bending.command.give"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending give [Player] [Item] <Properties>");
|
s.sendMessage(ChatColor.YELLOW + "/bending give [Player] [Item] <Properties>");
|
||||||
|
if (s.hasPermission("bending.command.invincible"))
|
||||||
s.sendMessage(ChatColor.YELLOW + "/bending invincible");
|
s.sendMessage(ChatColor.YELLOW + "/bending invincible");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue