Hurtworld Admin Commands: Difference between revisions
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description |
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17) |
||
| Line 1: | Line 1: | ||
{{#seo:|title=Hurtworld Admin Commands: Add Admins, Kick, Teleport, Saves|description=Hurtworld admin commands: add admins with addadmin, run commands in the F1 console, kick players, teleport, spawn objects, set loot rules and save.}} | {{#seo:|title=Hurtworld Admin Commands: Add Admins, Kick, Teleport, Saves|description=Hurtworld admin commands: add admins with addadmin, run commands in the F1 console, kick players, teleport, spawn objects, set loot rules and save.}} | ||
== Running | == Running server commands == | ||
Press F1 to open the console in game or add | Press F1 to open the console in game, or add commands in the Command Center under "Custom Launch Parameters" (some commands may need to be run in game). In the console, type '''rcon''' in front of commands that change the server, such as '''rcon kick''' and '''rcon creativemode 1'''. | ||
== Adding | == Adding admins == | ||
'''1.''' | '''1.''' On the Game Server page in the Command Center, check the "Custom Launch Parameters" box.<br> | ||
'''2.''' | '''2.''' Find the Steam64 ID you need with '''[https://steamid.io/ steamid.io]'''.<br> | ||
'''3.''' | '''3.''' Add one or more Steam64 IDs with "'''addadmin <steam64id>'''" to the '''Launch Parameters Line''' (TOOLS > '''Launch Params'''). The line must start with '''host''' and your server's port (the number after the colon in the IP row), or the server won't start. Then click '''Save Settings & Restart'''.<br><br> | ||
"Single | "Single admin"<br> | ||
'''host YOURPORT;addadmin YOURSTEAM64ID'''<br><br> | '''host YOURPORT;addadmin YOURSTEAM64ID'''<br><br> | ||
"Multiple | "Multiple admins"<br> | ||
'''host YOURPORT''';'''addadmin YOURSTEAM64ID''';'''addadmin FRIENDSTEAM64ID''' | '''host YOURPORT''';'''addadmin YOURSTEAM64ID''';'''addadmin FRIENDSTEAM64ID''' | ||
== Admin | == Admin commands == | ||
{| class="wikitable" | {| class="wikitable" | ||
! Command !! Description | ! Command !! Description | ||
|- | |- | ||
| '''kill''' || | | '''kill''' || Use with caution. Kills your character. | ||
|- | |- | ||
| '''itemlist''' || List all items and their codes. | | '''itemlist''' || List all items and their codes. | ||
| Line 32: | Line 32: | ||
* Destroy everything (playerlootmode 6) | * Destroy everything (playerlootmode 6) | ||
|- | |- | ||
| '''spawncooldown<br> <speed> <value>''' || Adjust the spawn cooldown. The <speed> | | '''spawncooldown<br> <speed> <value>''' || Adjust the spawn cooldown. The <speed> value is how quickly spawn times fall back to 10 seconds. The <value> is how much the spawn time goes up on each death. | ||
|- | |- | ||
| '''creativemode <value>''' || Turn creative mode on and off (free build). | | '''creativemode <value>''' || Turn creative mode on and off (free build). Use 0 for off, 1 for on. | ||
|- | |- | ||
| '''spawn <prefabname>''' || | | '''spawn <prefabname>''' || Spawns any networked object 4 meters in front of you, for example spawn sandstorm. | ||
|- | |- | ||
| '''kick <steamid> <reason>''' || Kick a player, with a reason. Enter the player's Steam ID (you can see these with `serverstatus`) to identify them. It matches the start of the ID, so type the whole ID. | | '''kick <steamid> <reason>''' || Kick a player, with a reason. Enter the player's Steam ID (you can see these with `serverstatus`) to identify them. It matches the start of the ID, so type the whole ID. | ||
|- | |- | ||
| '''teleport <who> <toplayer>''' || | | '''teleport <who> <toplayer>''' || Takes player A straight to player B. Use full names. | ||
|} | |} | ||
==Save | ==Save management== | ||
{| class="wikitable" | {| class="wikitable" | ||
! Command !! Description | ! Command !! Description | ||
| Line 49: | Line 49: | ||
| '''autosaveenabled <value>''' || Sets whether to autosave the server. | | '''autosaveenabled <value>''' || Sets whether to autosave the server. | ||
|- | |- | ||
| '''autobackupinterval <seconds>''' || Sets how often the server | | '''autobackupinterval <seconds>''' || Sets how often the server backs up its autosave. | ||
|- | |- | ||
| '''saveserver <saveName>''' || | | '''saveserver <saveName>''' || Saves the server state to a file in the .exe folder. You can load it with loadserver. | ||
|- | |- | ||
| '''loadserver <saveName>''' || | | '''loadserver <saveName>''' || Loads a saved server state from a file (path relative to the .exe folder), adding to what's already there. | ||
|} | |} | ||
[https://www.survivalservers.com/services/game_servers/hurtworld/ Rent a Hurtworld server] from Survival Servers and be online in minutes. | |||
Revision as of 08:59, 17 November 2026
Running server commands
Press F1 to open the console in game, or add commands in the Command Center under "Custom Launch Parameters" (some commands may need to be run in game). In the console, type rcon in front of commands that change the server, such as rcon kick and rcon creativemode 1.
Adding admins
1. On the Game Server page in the Command Center, check the "Custom Launch Parameters" box.
2. Find the Steam64 ID you need with steamid.io.
3. Add one or more Steam64 IDs with "addadmin <steam64id>" to the Launch Parameters Line (TOOLS > Launch Params). The line must start with host and your server's port (the number after the colon in the IP row), or the server won't start. Then click Save Settings & Restart.
"Single admin"
host YOURPORT;addadmin YOURSTEAM64ID
"Multiple admins"
host YOURPORT;addadmin YOURSTEAM64ID;addadmin FRIENDSTEAM64ID
Admin commands
| Command | Description |
|---|---|
| kill | Use with caution. Kills your character. |
| itemlist | List all items and their codes. |
| playerlootmode <value> | Sets the player loot mode for the server.
|
| spawncooldown <speed> <value> |
Adjust the spawn cooldown. The <speed> value is how quickly spawn times fall back to 10 seconds. The <value> is how much the spawn time goes up on each death. |
| creativemode <value> | Turn creative mode on and off (free build). Use 0 for off, 1 for on. |
| spawn <prefabname> | Spawns any networked object 4 meters in front of you, for example spawn sandstorm. |
| kick <steamid> <reason> | Kick a player, with a reason. Enter the player's Steam ID (you can see these with `serverstatus`) to identify them. It matches the start of the ID, so type the whole ID. |
| teleport <who> <toplayer> | Takes player A straight to player B. Use full names. |
Save management
| Command | Description |
|---|---|
| autosaveenabled <value> | Sets whether to autosave the server. |
| autobackupinterval <seconds> | Sets how often the server backs up its autosave. |
| saveserver <saveName> | Saves the server state to a file in the .exe folder. You can load it with loadserver. |
| loadserver <saveName> | Loads a saved server state from a file (path relative to the .exe folder), adding to what's already there. |
Rent a Hurtworld server from Survival Servers and be online in minutes.