Add help command System to SWCommand
Dieser Commit ist enthalten in:
Ursprung
472b6f46d5
Commit
05f8129705
@ -35,6 +35,12 @@ public class TestCommand extends SWCommand {
|
|||||||
super("test");
|
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
|
// One Command, the first Parameter should be some kind of CommandSender
|
||||||
@Register
|
@Register
|
||||||
public void test(Player player) {
|
public void test(Player player) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren