Class CommandLoader
java.lang.Object
com.bencodez.advancedcore.command.CommandLoader
The Class CommandLoader.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPermission(String perm) Adds a permission.getBasicAdminCommands(String permPrefix) Gets the basic admin commands.getBasicCommands(String permPrefix) Gets the basic commands.static CommandLoaderGets the instance.
-
Constructor Details
-
CommandLoader
Instantiates a new command loader.- Parameters:
plugin- the plugin
-
-
Method Details
-
getInstance
Gets the instance.- Returns:
- the instance
-
addPermission
Adds a permission.- Parameters:
perm- the permission
-
getBasicAdminCommands
Gets the basic admin commands.- Parameters:
permPrefix- the permission prefix- Returns:
- the basic admin commands
-
getBasicCommands
Gets the basic commands.- Parameters:
permPrefix- the permission prefix- Returns:
- the basic commands
-