Thanks for visiting our wiki! Click here to order your own game server at SurvivalServers.com

Difference between revisions of "Hurtworld Admin Commands"

From Survival Servers
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Running Server Commands ==
 
== Running Server Commands ==
Press F1 to open the console.
+
Press F1 to open the console in game or add them in your control panel under "Custom Launch Parameters" (Some commands may need to be ran in game).
  
 
== Adding Admins ==
 
== Adding Admins ==
  
'''1.''' Using [[FTP Access|FTP]], open '''autoexe.cfg'''.<br>
+
'''1.''' In your control panel, check the "Custom Launch Parameters" box .<br>
 
'''2.''' Using '''https://steamid.io/''', collect the required Steam 64 bit ID.<br>
 
'''2.''' Using '''https://steamid.io/''', collect the required Steam 64 bit ID.<br>
'''3.''' Using "'''addadmin <steam64id>'''", add the single or multiple Steam 64 bit IDs to the autoexe.cfg.<br><br>
+
'''3.''' Using "'''addadmin <steam64id>'''", add the single or multiple Steam 64 bit IDs to the parameters line.<br><br>
  
 
"Single Admin"<br>
 
"Single Admin"<br>
'''addadmin 123456789'''<br><br>
+
'''addadmin YOURSTEAM64ID'''<br><br>
 
"Multiple Admins"<br>
 
"Multiple Admins"<br>
  
'''addadmin 123456789'''<br>
+
'''addadmin YOURSTEAM64ID''';'''addadmin FRIENDSTEAM64ID'''
'''addadmin 466774535'''
 
  
 
== Admin Commands ==
 
== Admin Commands ==
Line 30: Line 29:
 
  Destroy everything (playerlootmode 4)
 
  Destroy everything (playerlootmode 4)
 
|-
 
|-
| '''spawncooldown <speed> <value>''' || Adjust the spawn cooldown. The <speed> parameter is how quickly spawn times fall back down to 10 seconds. The <value> is how much the spawn time increases upon death.
+
| '''spawncooldown<br> <speed> <value>''' || Adjust the spawn cooldown. The <speed> parameter is how quickly spawn times fall back down to 10 seconds. The <value> is how much the spawn time increases upon death.
 +
|-
 +
| '''creativemode <value>''' || Turn creative mode on and off (free build). Value as 0 for off, 1 for on.
 +
|-
 +
| '''spawn <prefabname>''' || This will spawn any networked object 2 meters in front of you. Such as spawn sandstorm.
 +
|-
 +
| '''kick <guid> <reason>''' || Kick a player, with a reason. Enter the start of a guid for a player (you can see these with `serverstatus`) to identify them.
 +
|-
 +
| '''teleport <who> <toplayer>''' || Specified by full name, will take player A directly to player B.
 
|}
 
|}
  
Line 40: Line 47:
 
|-
 
|-
 
| '''autobackupinterval <seconds>''' || Sets how often the server should backup its autosave.
 
| '''autobackupinterval <seconds>''' || Sets how often the server should backup its autosave.
 +
|-
 +
| '''saveserver <saveName>''' || Save the server state to file, in the .exe directory. Can be loaded (see loadserver).
 +
|-
 +
| '''loadserver <saveName>''' || Additively load the server state from file, relative to the .exe directory.
 
|}
 
|}

Latest revision as of 06:05, 14 April 2022

Running Server Commands

Press F1 to open the console in game or add them in your control panel under "Custom Launch Parameters" (Some commands may need to be ran in game).

Adding Admins

1. In your control panel, check the "Custom Launch Parameters" box .
2. Using https://steamid.io/, collect the required Steam 64 bit ID.
3. Using "addadmin <steam64id>", add the single or multiple Steam 64 bit IDs to the parameters line.

"Single Admin"
addadmin YOURSTEAM64ID

"Multiple Admins"

addadmin YOURSTEAM64ID;addadmin FRIENDSTEAM64ID

Admin Commands

Command Description
kill USE WITH CAUTION. Commit suicide.
itemlist List all items and their codes.
playerlootmode <value> Sets the player loot mode for the server.
Drop nothing ever (playerlootmode 0)
Drop backpack only (playerlootmode 1)
Drop backpack, and use infamy (playerlootmode 2)
Drop everything (playerlootmode 3)
Destroy everything (playerlootmode 4)
spawncooldown
<speed> <value>
Adjust the spawn cooldown. The <speed> parameter is how quickly spawn times fall back down to 10 seconds. The <value> is how much the spawn time increases upon death.
creativemode <value> Turn creative mode on and off (free build). Value as 0 for off, 1 for on.
spawn <prefabname> This will spawn any networked object 2 meters in front of you. Such as spawn sandstorm.
kick <guid> <reason> Kick a player, with a reason. Enter the start of a guid for a player (you can see these with `serverstatus`) to identify them.
teleport <who> <toplayer> Specified by full name, will take player A directly to player B.

Save Management

Command Description
autosaveenabled <value> Sets whether to autosave the server.
autobackupinterval <seconds> Sets how often the server should backup its autosave.
saveserver <saveName> Save the server state to file, in the .exe directory. Can be loaded (see loadserver).
loadserver <saveName> Additively load the server state from file, relative to the .exe directory.


Share your opinion