Skip to content

Commit 48e852c

Browse files
committed
Add initial command setup
1 parent 924cc22 commit 48e852c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package it.renvins.serverpulse.bungeecord.commands;
2+
3+
import lombok.Getter;
4+
import net.md_5.bungee.api.CommandSender;
5+
6+
@Getter
7+
public abstract class GeneralCommand {
8+
9+
private final String permission;
10+
private final boolean isPlayerOnly;
11+
12+
public GeneralCommand(String permission, boolean isPlayerOnly) {
13+
this.permission = permission;
14+
this.isPlayerOnly = isPlayerOnly;
15+
}
16+
17+
public abstract void run(CommandSender sender, String[] args);
18+
}

0 commit comments

Comments
 (0)