Gamehost

Hytale admin commands

How to make yourself operator on a Hytale server, op add and op self, permissions with /perm, kicks, bans, whitelist and other useful commands.

Gamehost team·6 min read·Updated:
Hytale serverPlans from 4 GB RAM

Server ready a moment after payment. You can change the plan in the panel at any time, your world stays.

Short answer

Join the server, then type op add YourName in the console on the server Dashboard. In the game you get a message that you are now an operator, and from then on you can use admin commands with a slash, for example /op add for more people.

WhereHow you type itExample
Console in the panelwithout a slashop add Name
Chat in the gamewith a slash/op add Name

The console works independently of in-game permissions, so even when nobody is an operator, you still have full control of the server.

Operator: op add and op self

CommandWhat it does
op add Nameadds a player to the operator group
op remove Nametakes operator away from a player
/op selfmakes you an operator, typed in the game

The player has to be on the server when you give them operator from the console.

The /op self command only works on the server after you turn on the Allow OP switch in the Startup parameters tab and restart. It has one serious flaw: it requires no permissions at all, so with the switch on, anyone who joins the server can make themselves an operator.

On a server that anyone outside your trusted group joins, leave the switch off and give operator from the console with op add. If you turned it on for a moment, turn it off right after granting permissions.

Group and player permissions: /perm

An operator has access to everything. If you want to give someone only some commands, for example only kicking players for a moderator, use the /perm command. Permissions are saved in the permissions.json file in the main server folder.

CommandWhat it does
/perm group list Groupshows a group's permissions
/perm group add Group permissionadds a permission to a group
/perm group remove Group permissionremoves a permission from a group
/perm user group add UUID Groupadds a player to a group
/perm user add UUID permissiongives one player a permission
/perm user list UUIDshows a player's permissions
/perm test permissionchecks whether you have a permission

Commands for a single player take their UUID, not their name. Permissions are names with dots, for example hytale.command.op.add is the right to grant operator.

Before editing permissions.json by hand, stop the server and take a copy in Server backups (or download the file if your plan has no backup slots). A syntax error in the file can stop the server from starting.

Kicks, bans and whitelist

CommandWhat it does
/kick Namekicks a player, they can come back
/ban Nameblocks a player until lifted, the entry goes to bans.json
/unban Namelifts a ban
/whoshows who is on the server
/whitelist add Nameadds a player to the whitelist
/whitelist enable, /whitelist disableturns the whitelist on and off

Before you ban an operator, take operator away first with op remove. Otherwise they keep permissions they could use to get around the ban.

Setting up a whitelist and password for your group step by step is covered in A Hytale server for friends.

Other useful commands

CommandWhat it does
/helplist of commands available in your server version
/say textannouncement for all players
/gamemode modechanges the game mode
/give itemgives an item
/tp Name TargetName, /tp x y zteleport to a player or to coordinates
/tp world WorldNamemove to another world on the server
/auth login devicelogs the server in to a game account again

Hytale is in early access and commands can change with updates. If one does not work as described here, check /help on your server, because it shows the syntax for the version you have.

You can set up an announcement before a restart in the Schedules tab: a task with the command say Restart in 5 minutes a few minutes before the nightly restart. See Schedules in the knowledge base.

The first operator, step by step

  1. Start the server and wait until the console says it is ready. If the server asks to log in, confirm the code with your game account.
  2. Join the server with your account.
  3. In the console on the Dashboard, type op add YourName, without a slash.
  4. In the game you will see a message that you are now an operator. From now on you type admin commands in chat with a slash.
  5. Give operator to further admins from the game with /op add Name.

Remember that in Hytale the console and the panel are two separate layers. A subuser added in the Subusers tab can restart the server and type commands in the console, but in the game they are an ordinary player until they get operator or permissions through /perm. And the other way round: an operator in the game has no access to the panel or the files.

When someone stops helping run the server, take away both kinds of access: operator with op remove Name and their account in Subusers. You can check who did what in the panel in the Activity log.

More about Hytale with us: Hytale. Want a server with full control? See Hytale server hosting.

FAQ

Join the server and type op add YourName in the panel console, without a slash. After that you can give operator to others with /op add in the game.

On a server, this command requires the Allow OP switch in Startup parameters and a restart. Giving operator from the console is safer.

Only on a server for a trusted group. With the switch on, any player can make themselves operator with /op self.

Type /ban Name in the game or ban Name in the console. You lift the ban with unban, and the ban list is in bans.json.

In the permissions.json file in the main server folder. You change them with /perm or by hand, with the server stopped.

Your own Hytale server

Plans from 5.99 € a month, set up in a few minutes and managed from one panel.

See plans