Hytale Server Admin Commands Usage: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
(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...")
 
No edit summary
 
Line 1: Line 1:
== How to set yourself as Admin ==
== How to OP Yourself in Hytale ==


To setup a player with admin access for Hytale, you will first need [https://www.survivalservers.com/wiki/index.php?title=FTP_Access FTP Access] and a text editor. For the latter, we strongly recommend Notepad++, which can be found here: https://notepad-plus-plus.org/download/
To give yourself admin (OP) access in Hytale, you can use either the console command method or manually edit the permissions file.
 
=== Method 1: Console Command (Easiest) ===
 
# Join your server with the account you want to make admin
# Open the server console in your control panel
# Type: <code>op add [username]</code>
# If successful, you will see: "[username] is now an operator!"
 
'''Note:''' The player must be online for the username method to work. Use the UUID method below for offline players.
 
=== 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: Locate your Player UUID'''
 
* Open your server's File Manager
* Navigate to: <code>universe/players/</code>
* You'll see files named with UUIDs (e.g., <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, run <code>/uuid</code> in-game to see your own UUID
 
'''Step 3: Edit permissions.json'''
 
Open or create the <code>permissions.json</code> file in your server's root directory and add your UUID:


1. Log into your FTP client using the info on your control panel<br />
2. Once logged in, open the Config folder and edit the '''configuration.ini file'''<br />
3. Look for the area that looks like the following<br />
<pre>
<pre>
    "Admins": {
{
          "$id": "4",
"users": {
          "System.String": {
  "YOUR-UUID-HERE": {
              "$type": "System.Collections.Generic.List`1[[System.String, mscorlib]], mscorlib",
"groups": [ "OP" ]
              "$values": []
  }
                          }
},
              },
"groups": {
  "Default": [],
  "OP": [ "*" ]
}
}
</pre>
</pre>
4. Now that you have that located, you will want to find either your in game player name or steam UID<br />
 
: You can find your UID here: [https://steamidfinder.com/ SteamUIDFinder]<br />. Alternatively, you can also use your player name.
Replace <code>YOUR-UUID-HERE</code> with your actual UUID (e.g., <code>34ef6c2d-13be-3de0-ba01-6bca1d9af96b</code>).
5. Next setup the admin area like such<br />
 
<pre>
'''Step 4: Start your server'''
    "Admins": {
 
        "$id": "4",
After saving the file, start your server for the changes to take effect.
        "System.String": {
 
            "$type": "System.Collections.Generic.List`1[[System.String, mscorlib]], mscorlib",
=== For Singleplayer ===
            "$values": [
 
                "76561198054903532"
Use <code>/op self</code> in chat to become an admin on your own world.
                      ]
 
                        }
=== Using Admin Commands In-Game ===
              },
 
</pre>
Once you have OP status:
: If you are adding more than one Admin, make sure to add a comma between the quotation marks.
* Type <code>/help</code> in chat to see all available commands
7. Save the file back to your server and start the server back up.<br />
* Clicking a command will show what it does, how to use it, and a button to send it to chat


== Admin Commands ==
== Admin Commands ==
Coming Soon...
 
{| 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
|}

Latest revision as of 16:25, 13 January 2026

How to OP Yourself in Hytale

To give yourself admin (OP) access in Hytale, you can use either the console command method or manually edit the permissions file.

Method 1: Console Command (Easiest)

  1. Join your server with the account you want to make admin
  2. Open the server console in your control panel
  3. Type: op add [username]
  4. If successful, you will see: "[username] is now an operator!"

Note: The player must be online for the username method to work. Use the UUID method below for offline players.

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: Locate your Player UUID

  • Open your server's File Manager
  • Navigate to: universe/players/
  • You'll see files named with UUIDs (e.g., 34ef6c2d-13be-3de0-ba01-6bca1d9af96b.json)
  • Open each .json file to view the username and find which UUID belongs to which player
  • Alternatively, run /uuid in-game to see your own UUID

Step 3: Edit permissions.json

Open or create the permissions.json file in your server's root directory and add your UUID:

{
"users": {
  "YOUR-UUID-HERE": {
	"groups": [ "OP" ]
  }
},
"groups": {
  "Default": [],
  "OP": [ "*" ]
}
}

Replace YOUR-UUID-HERE with your actual UUID (e.g., 34ef6c2d-13be-3de0-ba01-6bca1d9af96b).

Step 4: Start your server

After saving the file, start your server for the changes to take effect.

For Singleplayer

Use /op self in chat to become an admin on your own world.

Using Admin Commands In-Game

Once you have OP status:

  • Type /help in chat to see all available commands
  • Clicking a command will show 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