register
Registers a new command with the server's command dispatcher.
This method handles the registration of script-defined commands with proper conflict detection and management tracking. If a command with the same name already exists and is not managed by scripts, an exception is thrown. If it is managed, the old command is replaced.
Parameters
server
The Minecraft server instance to register the command with
root Builder
The literal argument builder defining the command structure
Throws
if a command with the same root name exists and is not managed by scripts