Hurtworld Admin Commands

From Survival Servers
Revision as of 12:17, 19 November 2026 by Ryan (talk | contribs) ([wiki:wiki-operator] Fixes from the review of the rewording: claims, example addresses, names and wording (approved by Ryan, Nov 19))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 17-digit Steam ID you need with steamid.io.
3. Add one or more Steam 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.
  • Drop everything (playerlootmode 0, the default)
  • Drop backpack only (playerlootmode 1)
  • Drop backpack and 1 random item (playerlootmode 2)
  • Drop backpack and 2 random items (playerlootmode 3)
  • Drop backpack and 3 random items (playerlootmode 4)
  • Drop nothing ever (playerlootmode 5)
  • Destroy everything (playerlootmode 6)
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.