Started a help menu.
This commit is contained in:
parent
ec07183495
commit
367ce4c231
|
@ -17,7 +17,10 @@ public class CommandHelp extends AbstractCommand {
|
|||
protected ReturnType runCommand(UltimateModeration instance, CommandSender sender, String... args) {
|
||||
sender.sendMessage("");
|
||||
sender.sendMessage(Methods.formatText(instance.getReferences().getPrefix() + "&7Version " + instance.getDescription().getVersion() + " Created with <3 by &5&l&oSongoda"));
|
||||
|
||||
sender.sendMessage("");
|
||||
sender.sendMessage(Methods.formatText("&7Welcome to UltimateModeration! To get started try using the /um command to access the moderation panel."));
|
||||
sender.sendMessage("");
|
||||
sender.sendMessage(Methods.formatText("&6Commands:"));
|
||||
for (AbstractCommand command : instance.getCommandManager().getCommands()) {
|
||||
if (command.getPermissionNode() == null || sender.hasPermission(command.getPermissionNode())) {
|
||||
sender.sendMessage(Methods.formatText("&8 - &a" + command.getSyntax() + "&7 - " + command.getDescription()));
|
||||
|
|
|
@ -35,7 +35,6 @@ commands:
|
|||
default: false
|
||||
aliases: [vec]
|
||||
usage: /vec
|
||||
usage: /v
|
||||
InvSee:
|
||||
description: InvSee
|
||||
default: false
|
||||
|
|
Loading…
Reference in New Issue