register
Registers this command at the CommandDispatcher of the server.
Parameters
sendToPlayers
whether the new command tree should be send to all players, this is true by default, but you can disable it if you are calling this function as the server is starting