Work on commands a bit more
This commit is contained in:
@@ -9,6 +9,7 @@ import io.dico.parcels2.logger
|
||||
fun getParcelCommands(plugin: ParcelsPlugin): ICommandDispatcher {
|
||||
//@formatter:off
|
||||
return CommandBuilder()
|
||||
.setChatController(ParcelsChatController())
|
||||
.addParameterType(false, ParcelParameterType(plugin.worlds))
|
||||
.addParameterType(true, ParcelHomeParameterType(plugin.worlds))
|
||||
|
||||
@@ -21,6 +22,10 @@ fun getParcelCommands(plugin: ParcelsPlugin): ICommandDispatcher {
|
||||
.registerCommands(ParcelOptionCommands(plugin))
|
||||
.parent()
|
||||
|
||||
.group("admin", "a")
|
||||
.registerCommands(ParcelAdminCommands(plugin))
|
||||
.parent()
|
||||
|
||||
.putDebugCommands(plugin)
|
||||
|
||||
.parent()
|
||||
|
||||
Reference in New Issue
Block a user