From Cube World Wiki
Slash Commands are strings of text that the player types into the chat to achieve the desired outcome. Slash commands can be entered by pressing ENTER and typing in the command.
 Known Slash Commands
- /connect <server address>: Connect to the specified server. Will attempt to seamlessly connect to the server if you are on the same seed as the server, or were disconnected from the server. Make sure to disconnect from one server before attempting to join another.
- /disconnect: Disconnect from the current server.
- /namepet <name>: Name your pet to desired name.
- /name <name>: Name your currently logged in player.