0.2.0 work in progress
This commit is contained in:
parent
08031c32ba
commit
c68631010d
24 changed files with 89 additions and 14 deletions
|
@ -14,19 +14,19 @@ public class Help extends Command
|
|||
{
|
||||
super("help", "Gives you a list of all of the commands");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void build(LiteralArgumentBuilder<CommandSource> builder)
|
||||
{
|
||||
builder.executes(context ->
|
||||
{
|
||||
for (Command cmd : CommandManager.get().getAll()) {
|
||||
for (Command cmd : CommandManager.get().getAll())
|
||||
{
|
||||
ChatUtils.sendMsg(ColorUtils.aqua + "Command: " + ColorUtils.gray + cmd.getName());
|
||||
ChatUtils.sendMsg(ColorUtils.gray + cmd.getDescription());
|
||||
ChatUtils.sendMsg(ColorUtils.gray + "");
|
||||
}
|
||||
return SINGLE_SUCCESS;
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue