Started a help menu.

This commit is contained in:
Brianna O'Keefe 2019-03-09 12:45:27 -05:00
parent ec07183495
commit 367ce4c231
2 changed files with 4 additions and 2 deletions

View File

@ -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()));

View File

@ -35,7 +35,6 @@ commands:
default: false
aliases: [vec]
usage: /vec
usage: /v
InvSee:
description: InvSee
default: false