Rust Dedicated Server: Difference between revisions
No edit summary |
(Changed notices, updated SteamCMD command) |
||
Line 1: | Line 1: | ||
Attention! | Attention! Rust is currently being developed under the "experimental" branch. The following installation instructions will supply legacy (The main version) as well as the experimental branch's server files when downloading on Windows. Since the legacy server software is Windows only, it will not be included when downloading on Linux, leaving only the experimental server software. More information on [https://twitter.com/garrynewman/status/506083511502385152 this tweet from Garry ]. | ||
More information | |||
== Dedicated server == | == Dedicated server == | ||
=== Installation === | === Installation === | ||
*Install [[SteamCMD]] | *Install [[SteamCMD]] | ||
*Start SteamCMD | *Start SteamCMD | ||
**Log in with | **Log in with a Steam account or anonymously | ||
**Run <code>app_update 258550 -beta experimental validate</code> | |||
**Run <code>app_update 258550 validate</code> | |||
=== Configuration & running === | === Configuration & running === |
Revision as of 05:08, 2 September 2014
Attention! Rust is currently being developed under the "experimental" branch. The following installation instructions will supply legacy (The main version) as well as the experimental branch's server files when downloading on Windows. Since the legacy server software is Windows only, it will not be included when downloading on Linux, leaving only the experimental server software. More information on this tweet from Garry .
Dedicated server
Installation
- Install SteamCMD
- Start SteamCMD
- Log in with a Steam account or anonymously
- Run
app_update 258550 -beta experimental validate
Configuration & running
You can run the Rust DS with ./rust_server -batchmode
(Linux) or rust_server.exe -batchmode
(Windows).
Command line parameters
The startup command can be appended with the following startup parameters:
switch | default | description |
---|---|---|
-datadir
|
Save/undefined/
|
The folder in which to save data |
-hostname
|
Untitled Rust Server
|
The name of the server |
-maxplayers
|
500
|
The maximum amount of players allowed |
-port
|
28015
|
The port to connect to |
-map
|
rust_island_2013
|
The map to load |
-cfg
|
A config file to load (e.g. cfg/myserverconfig.cfg )
| |
-ip
|
IP address to bind to (doesn't work well yet) |
For example:
./rust_server -batchmode -hostname "My Server" -port 28015 -datadir "serverdata/"
Console parameters
When the server is up and running, you can issue the following commands:
command | description |
---|---|
status
|
Outputs the general status of the server. Connected players etc. |
say <stuff>
|
Will speak something into everyone's console. |
find *
|
List all console commands |
rcon.password
|
Set the rcon password for clients to use (using rcon.login <password>) |
kick <username>
|
Kicks a user. Username can be the first few letters of a username, or a steamid. |
ban <username>
|
As above - but just bans the user from the server (doesn’t kick) |
banid <steamid>
|
Bans a userid from the server |
unbanall
|
Unbans everyone from the server |
server.hostname <hostname>
|
Sets the hostname |
server.clienttimeout <int>
|
How long until an unresponsive client times out (default 2 mins) |
server.pvp <bool>
|
Enable/Disable pvp mode (default true) |
sleepers.on <bool>
|
Enable/Disable sleepers (default true) |
quit
|
Quits the server nicely (saving the level and all avatars before leaving) |
RCON
To use RCON (Remote CONsole), join the server and press F1 to open the console. Then type:
rcon.login <password>
You can now any command as in #Console parameters.
Ban list
Banned users will be stored in cfg/bans.cfg
.