mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-23 18:42:45 +00:00
20 lines
505 B
Java
20 lines
505 B
Java
package mineverse.Aust1n46.chat.command;
|
|
|
|
import org.bukkit.command.CommandSender;
|
|
|
|
//This class is the parent class of all of the plugins commands. The execute method runs the command.
|
|
public abstract class MineverseCommand {
|
|
protected String name;
|
|
|
|
protected MineverseCommand() {}
|
|
|
|
protected MineverseCommand(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public abstract void execute(CommandSender sender, String command, String[] args);
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
} |