mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-14 21:22:09 +00:00
change []<> for optional command components
This commit is contained in:
parent
1f761ee1cb
commit
19d233454e
2 changed files with 2 additions and 2 deletions
|
@ -377,7 +377,7 @@ public class GroupManager extends JavaPlugin {
|
||||||
|
|
||||||
// VALIDANDO ARGUMENTOS
|
// VALIDANDO ARGUMENTOS
|
||||||
if ((args.length != 2) && (args.length != 3)) {
|
if ((args.length != 2) && (args.length != 3)) {
|
||||||
sender.sendMessage(ChatColor.RED + "Review your arguments count! (/<command> <player> <group> | optional <world>)");
|
sender.sendMessage(ChatColor.RED + "Review your arguments count! (/<command> <player> <group> | optional [world])");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Select the relevant world
|
// Select the relevant world
|
||||||
|
|
|
@ -10,7 +10,7 @@ authors:
|
||||||
commands:
|
commands:
|
||||||
manuadd:
|
manuadd:
|
||||||
description: Move a player to desired group.(Adds to the file if not exists)
|
description: Move a player to desired group.(Adds to the file if not exists)
|
||||||
usage: /<command> <player> <group> | optional <world>
|
usage: /<command> <player> <group> | optional [world]
|
||||||
permissions: groupmanager.manuadd
|
permissions: groupmanager.manuadd
|
||||||
manudel:
|
manudel:
|
||||||
description: Remove any user specific configuration. Make him default group.
|
description: Remove any user specific configuration. Make him default group.
|
||||||
|
|
Loading…
Reference in a new issue