Rust Dedicated Server: Difference between revisions
FireDaemon (talk | contribs) mNo edit summary |
Bawbalicious (talk | contribs) |
||
Line 119: | Line 119: | ||
== External links == | == External links == | ||
[This solution requires payment to a 3rd party] | |||
* [http://forums.firedaemon.com/howtos/rust-dedicated-server-as-a-windows-service.165/ Comprehensive Rust Server HOWTO (includes everything you need to know)] | * [http://forums.firedaemon.com/howtos/rust-dedicated-server-as-a-windows-service.165/ Comprehensive Rust Server HOWTO (includes everything you need to know)] |
Revision as of 06:19, 14 February 2016
Attention! 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 .
Please note that at this current time, the Rust dedicated server is not being built for linux as part of the regular Rust build process and therefore is unavailable. Please see the issue ticket on Facepunch support.
Dedicated server
Installation
- Install SteamCMD
- Start SteamCMD
- Log in with a Steam account or anonymously:
login anonymous or username
- Select install folder:
force_install_dir PATH:\SteamCMD\rust_server\
- Run:
app_update 258550 -beta legacy validate
to download the old legacy Rust Dedicated Server (rust.legacy) - Or Run:
app_update 258550 -beta experimental validate
to download the new experimental dedicated server (rust.alpha)
- Log in with a Steam account or anonymously:
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
.
External links
[This solution requires payment to a 3rd party]