SteamWar/SpigotCore
Archiviert
13
0

Add help command System to SWCommand

Dieser Commit ist enthalten in:
yoyosource 2021-03-25 20:27:48 +01:00
Ursprung 472b6f46d5
Commit 05f8129705

Datei anzeigen

@ -35,6 +35,12 @@ public class TestCommand extends SWCommand {
super("test");
}
// One Help Command, the first Parameter should be some kind of CommandSender
@RegisterHelp
public void testHelp(Player player) {
player.sendMessage("This is your help message");
}
// One Command, the first Parameter should be some kind of CommandSender
@Register
public void test(Player player) {