Class CommandRegistry
java.lang.Object
com.thevoxelbox.voxelsniper.command.CommandRegistry
-
Field Summary
Modifier and TypeFieldDescriptionstatic final cloud.commandframework.keys.CloudKey
<PerformerSnipe> static final cloud.commandframework.keys.CloudKey
<Snipe> static final cloud.commandframework.keys.CloudKey
<Toolkit> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncloud.commandframework.annotations.AnnotationParser
<SniperCommander> Return the annotation parser.cloud.commandframework.bukkit.BukkitCommandManager
<SniperCommander> Return the command manager.void
Initialize the command registry.void
register
(VoxelCommandElement voxelCommandElement) Register the elements from a voxel command element into the command manager.
-
Field Details
-
SNIPE_KEY
-
PERFORMER_SNIPE_KEY
-
TOOLKIT_KEY
-
-
Constructor Details
-
CommandRegistry
Create a new command registry.- Parameters:
plugin
- the plugin
-
-
Method Details
-
initialize
Initialize the command registry.- Throws:
Exception
- initialization exception- Since:
- 3.0.0
-
register
Register the elements from a voxel command element into the command manager.- Parameters:
voxelCommandElement
- the voxel command element- Since:
- 3.0.0
-
getCommandManager
Return the command manager.- Returns:
- the command manager
- Since:
- 3.0.0
-
getAnnotationParser
Return the annotation parser.- Returns:
- the annotation parser
- Since:
- 3.0.0
-