Add /su commandinfo command
This command will output information about the specified command, like which plugin it belongs to, which usages, aliases, names, description and permissions it has. Permission to use the command is `serverutils.commandinfo`.
This commit is contained in:
parent
4c035fdc59
commit
04f3314e8a
4 changed files with 76 additions and 9 deletions
|
|
@ -54,6 +54,15 @@ public class Messenger {
|
|||
"seperator", "&8, ",
|
||||
"last_seperator", " &8and ",
|
||||
"footer", "&8&m-------------------------------------------------"
|
||||
),
|
||||
"commandinfo", Defaults.of(
|
||||
"header", "&8&m-----------=&r&8[ &b&lServerUtils CommandInfo&r &8]&m=----------",
|
||||
"format", " &3%key%&8: &b%value%",
|
||||
"list_format", "&b%value%",
|
||||
"seperator", "&8, ",
|
||||
"last_seperator", " &8and ",
|
||||
"footer", "&8&m-------------------------------------------------",
|
||||
"not_exists", "&cThat command is not a valid registered command."
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue