Finished commands system on Bukkit - tested and working

This commit is contained in:
funkemunky
2021-06-17 12:27:22 -04:00
parent 86f886e2e7
commit 5d790ce56d
19 changed files with 119 additions and 40 deletions
@@ -4,12 +4,6 @@ import dev.brighten.antivpn.AntiVPN;
public abstract class Command {
public Command() {
for (Command child : children()) {
AntiVPN.getInstance().getCommands().add(child);
}
}
public abstract String permission();
public abstract String name();
@@ -21,8 +15,6 @@ public abstract class Command {
public abstract String usage();
public abstract String parent();
public abstract Command[] children();
public abstract String execute(CommandExecutor executor, String[] args);
}