Jump to content
Sign in to follow this  
Rusty

Setting up a Rust server with Windows

Recommended Posts

Downloading the dedicated server
To get started we need to go download SteamCMD, this is basically a Console Client for Steam that allows us to install and update the dedicated server files using a command-line interface. Just download SteamCMD and extract the contents of the zip file to a folder. Once you've done that run SteamCMD and you'll notice that it will start downloading an update, this is just all the required files for SteamCMD to work that are being downloaded and installed. Once this is ready you should be able to access the command-line.

steamcmd.png

Once you're in the Steam prompt we start with logging in as Anonymous by just typing login anonymous, once you've done that you'll see a connecting message and licence info message popping up, after that the Steam> prompt re-appears.

Now we'll set the directory where we want to install our Rust Server by using force_install_dir <path>, now that we have done this we can start downloading the Rust Server files by running the following command: app_update 258550

Be a bit patient now since this takes a few minutes depending on your internet connection.

app_update.png

Once this has finished you will notice that all the dedicated server files have been downloaded to the specified path you used in the command force_install_dir earlier.

Basic install/update script

@steamcmd +login anonymous +app_update 258550 validate +quit
pause

Adding Oxide 2 to the server
Download the latest Oxide 2 build that is compatible with your server version first. Once you've downloaded the latest build, extract it to the folder where RustDedicated.exe is located and overwrite when prompted. This will add the required Oxide 2 files and the modified Rust files which will load Oxide 2.

Starting the server
Now comes the easy part, starting the server. Start by creating a file using a text editor with the below code:

@echo off
RustDedicated.exe -batchmode +server.port 28015 +rcon.port 28016 +rcon.ip 0.0.0.0 +rcon.password "changeme"

Now save this .bat file and run it, this should launch the server and a similar window should be shown:
oxide-server.png

Joining your server
To join your server, launch Rust, open the in-game console with F1 and type client.connect 127.0.0.1:28015. When you want to your friends to be able to join you as well you will have to use your external IP instead, and you'll most likely need to forward the ports you set above in your router or modem settings.

Adding players as admin/moderator
See Admin and moderators in Rust | Oxide

Good luck and have fun!

 

Credits: Wulf

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

About us

MMO-Society is the Forum former known as Lordcraft, MMO-Society offers various of Resources to help you evolve your knowledge within Emulation, In the process we make sure to form a strong community bond in-between each other and thus we are proud to can admit that MMO-Society is possibly the friendliest Community Forum to currently exist.

Useful Quick-Links

×
×
  • Create New...