mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 01:45:08 +00:00
Implemented custom commands.
This commit is contained in:
1 parent
5f4a153bf0
commit
705bf53aea
2 files changed
+27
No files matched your search
@@ -0,0 +1,23 @@
|
||||
package noppes.npcs.api;
|
||||
|
||||
public interface ICommand {
|
||||
String getCommandName();
|
||||
|
||||
String getCommandUsage();
|
||||
|
||||
int getPermissionLevel();
|
||||
|
||||
void setCommandName(String commandName);
|
||||
|
||||
void setCommandUsage(String commandUsage);
|
||||
|
||||
void setPermissionLevel(int permissionLevel);
|
||||
|
||||
String[] getAliases();
|
||||
|
||||
void addAliases(String... aliases);
|
||||
|
||||
boolean hasAlias(String alias);
|
||||
|
||||
void removeAlias(String alias);
|
||||
}
|
||||
Reference in new issue
Block a user