Hytale Server Admin Commands Usage: Difference between revisions
Created page with "== How to set yourself as Admin == To setup a player with admin access for Hytale, you will first need [https://survivalservers.com/wiki/index.php?title=FTP_Access FTP Access..." |
[wiki:wiki-operator] Fixes from the review of the rewording: claims, example addresses, names and wording (approved by Ryan, Nov 19) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
== How to | {{#seo:|title=Hytale Server Commands: Admin, OP, Ban and Whitelist List|description=Hytale server admin commands: make yourself an operator with /op add, then kick, ban, whitelist players and change game mode from chat or the console.}} | ||
== How to OP Yourself in Hytale == | |||
To | To give yourself admin (OP) in Hytale, use the console command or edit the permissions file. | ||
=== Method 1: Console command (quickest) === | |||
# Join your server with the account you want to make admin | |||
# Open the '''Console''' under '''TOOLS''' on the Game Server page | |||
# Type: <code>/op add [username]</code> | |||
# If it works, you'll see: "[username] is now an operator!" | |||
'''Note:''' The player must be online for the username method to work. For offline players, use their UUID instead (see Method 2). | |||
=== Method 2: Edit permissions.json === | |||
'''Step 1: Stop your server''' | |||
Make sure your server is stopped before editing configuration files, or your changes may be overwritten. | |||
'''Step 2: Find your player UUID''' | |||
* Open your server's File Manager | |||
* Navigate to: <code>universe/players/</code> | |||
* You'll see files named with UUIDs (for example, <code>34ef6c2d-13be-3de0-ba01-6bca1d9af96b.json</code>) | |||
* Open each .json file to view the username and find which UUID belongs to which player | |||
* Alternatively, open the '''Player Manager''' under '''TOOLS''' and pick the player in '''Known Players''' to fill in their UUID | |||
<pre>Step 3: Edit permissions.json</pre> | |||
Open or create the <code>permissions.json</code> file in your server's main folder and add your UUID: | |||
<pre> | <pre> | ||
{ | |||
"users": { | |||
"YOUR-UUID-HERE": { | |||
"groups": [ "OP" ] | |||
} | |||
}, | |||
"groups": { | |||
"Default": [], | |||
"OP": [ "*" ] | |||
} | |||
} | |||
</pre> | </pre> | ||
== Admin | Replace <code>YOUR-UUID-HERE</code> with your actual UUID (for example, <code>34ef6c2d-13be-3de0-ba01-6bca1d9af96b</code>). | ||
'''Step 4: Start your server''' | |||
After saving the file, start your server for the changes to take effect. | |||
=== For single-player === | |||
Use <code>/op self</code> in chat to become an admin on your own world. | |||
=== Using admin commands in the game === | |||
Once you have OP status: | |||
* Type <code>/help</code> in chat to see all available commands | |||
* Click a command to see what it does, how to use it, and a button to send it to chat | |||
== Admin commands == | |||
{| class="wikitable" | |||
|- | |||
! Command !! Description | |||
|- | |||
| <code>/op add [username]</code> || Add a player as admin (player must be online) | |||
|- | |||
| <code>/op add [UUID]</code> || Add a player as admin using their UUID (works offline) | |||
|- | |||
| <code>/op remove [username]</code> || Remove a player's admin status | |||
|- | |||
| <code>/op remove [UUID]</code> || Remove admin status using UUID | |||
|- | |||
| <code>/op self</code> || Make yourself admin while connected to the server | |||
|- | |||
| <code>/help</code> || View all available commands in-game | |||
|- | |||
| <code>/kick [player]</code> || Kick a player | |||
|- | |||
| <code>/ban [player]</code> || Ban a player by username or UUID | |||
|- | |||
| <code>/unban [player]</code> || Remove a ban | |||
|- | |||
| <code>/whitelist enable</code> / <code>/whitelist disable</code> || Turn the whitelist on or off | |||
|- | |||
| <code>/whitelist add [player]</code> / <code>/whitelist remove [player]</code> || Add or remove a player on the whitelist | |||
|- | |||
| <code>/whitelist list</code> || Show the players on the whitelist | |||
|- | |||
| <code>/gamemode [adventure or creative]</code> || Change your game mode | |||
|} | |||
== Player Manager == | |||
The '''Player Manager''' under '''TOOLS''' on the Game Server page has '''Permissions''', '''Whitelist''' and '''Banned''' tabs. The Whitelist and Banned tabs change what the game itself uses, so you can manage both without typing commands. | |||
[[File:Hytale_Player_Manager_Whitelist_Oct2026.png|thumb|none|720px|alt=Player Manager window on the Whitelist tab with the Enable Whitelist box and the Add Player button.|The Whitelist tab in the Player Manager.]] | |||
== Command changes in Update 7 == | |||
{| class="wikitable" | |||
|- | |||
! Before !! Update 7 | |||
|- | |||
| <code>/fragment</code> || <code>/portal</code> can be used instead | |||
|- | |||
| <code>/leave</code> || Replaced with <code>/portal leave</code> | |||
|- | |||
| <code>/cursethis</code> || Renamed to <code>/ephemeral</code> | |||
|- | |||
| None || <code>/worldevent</code> turns world events on or off for a world | |||
|} | |||
[https://www.survivalservers.com/services/game_servers/hytale/ Hytale server hosting] from Survival Servers comes with instant setup and DDoS protection. | |||
Latest revision as of 12:17, 19 November 2026
How to OP Yourself in Hytale
To give yourself admin (OP) in Hytale, use the console command or edit the permissions file.
Method 1: Console command (quickest)
- Join your server with the account you want to make admin
- Open the Console under TOOLS on the Game Server page
- Type:
/op add [username] - If it works, you'll see: "[username] is now an operator!"
Note: The player must be online for the username method to work. For offline players, use their UUID instead (see Method 2).
Method 2: Edit permissions.json
Step 1: Stop your server
Make sure your server is stopped before editing configuration files, or your changes may be overwritten.
Step 2: Find your player UUID
- Open your server's File Manager
- Navigate to:
universe/players/ - You'll see files named with UUIDs (for example,
34ef6c2d-13be-3de0-ba01-6bca1d9af96b.json) - Open each .json file to view the username and find which UUID belongs to which player
- Alternatively, open the Player Manager under TOOLS and pick the player in Known Players to fill in their UUID
Step 3: Edit permissions.json
Open or create the permissions.json file in your server's main folder and add your UUID:
{
"users": {
"YOUR-UUID-HERE": {
"groups": [ "OP" ]
}
},
"groups": {
"Default": [],
"OP": [ "*" ]
}
}
Replace YOUR-UUID-HERE with your actual UUID (for example, 34ef6c2d-13be-3de0-ba01-6bca1d9af96b).
Step 4: Start your server
After saving the file, start your server for the changes to take effect.
For single-player
Use /op self in chat to become an admin on your own world.
Using admin commands in the game
Once you have OP status:
- Type
/helpin chat to see all available commands - Click a command to see what it does, how to use it, and a button to send it to chat
Admin commands
| Command | Description |
|---|---|
/op add [username] |
Add a player as admin (player must be online) |
/op add [UUID] |
Add a player as admin using their UUID (works offline) |
/op remove [username] |
Remove a player's admin status |
/op remove [UUID] |
Remove admin status using UUID |
/op self |
Make yourself admin while connected to the server |
/help |
View all available commands in-game |
/kick [player] |
Kick a player |
/ban [player] |
Ban a player by username or UUID |
/unban [player] |
Remove a ban |
/whitelist enable / /whitelist disable |
Turn the whitelist on or off |
/whitelist add [player] / /whitelist remove [player] |
Add or remove a player on the whitelist |
/whitelist list |
Show the players on the whitelist |
/gamemode [adventure or creative] |
Change your game mode |
Player Manager
The Player Manager under TOOLS on the Game Server page has Permissions, Whitelist and Banned tabs. The Whitelist and Banned tabs change what the game itself uses, so you can manage both without typing commands.
Command changes in Update 7
| Before | Update 7 |
|---|---|
/fragment |
/portal can be used instead
|
/leave |
Replaced with /portal leave
|
/cursethis |
Renamed to /ephemeral
|
| None | /worldevent turns world events on or off for a world
|
Hytale server hosting from Survival Servers comes with instant setup and DDoS protection.