The server reads this file at startup and takes priority over anything set on the command line. A good option is creating a server.cfg file in your rust/server/server.identity/cfg/ folder and putting changes in that. server.cfgįew things actually need to be passed at startup. Keep in mind if you run steamcmd in your startup script this will overwrite an oxide install and put your files back to vanilla. There are many other things you could put in this, such as logging the restart or starting other background services that you use for your server. The "goto start" line is run when the server is shut down via failure or command "restart" in the server.The RustDedicated line is the line to start your server.The SteamCMD line does all of the steps to update your server just as you did manually above.The ":start" line sets up a place for the "goto start" to jump to.RustDedicated.exe -batchmode server.port 28015 .(and all of your other configuration you chose before) An example of some things you may want to do would make your batch file look like this:Ĭ:\Rust\SteamCMD\SteamCMD.exe login anonymous force_install_dir C:\Rust\MyServer\ app_update 258550 quit Your batch file can be as simple or robust as you want. See an example file from the 'quick start' zip above. Change the settings to what your server should be (seed, password, worldsize, maxplayers).Copy the example command line above and paste into notepad.Right click on file name and select edit.Change the name to "RunServer.BAT" and hit enter.Right click and select "New | Text Document".Change file explorer to show known file extensions.It will take a few minutes to fully start, look for Server startup complete and you should be able to connect and play. You will see a lot of information flying by as the server starts up, maybe even some errors(you can probably ignore). Using date/time in the filename is suggested. Sets the remote connect password for remote administration. RCON clients connect to this for admin configuration/control. This example name will be used to create a "C:\Rust\MyServer\server1" directory for all of your server files. If you have your own website, you can set it here. Name of server as shown on the client server listĭescription shown on server connection window, for example you could show the size or intent of the server. The more players, the faster your computer CPU needs to be Sets the max number of players connecting at one time The larger the map, the more disk space and memory you need. This number can be any value 0-2147483647 Sets the random seed for how the map is generated Sets the port people will use to connect to the game That looks like a lot, but lets break down each item one by one: Setting RustDedicated.exe -batchmode server.port 28015 server.level "Procedural Map" ed 1234 server.worldsize 4000 server.maxplayers 10 server.hostname "Name of Server as Shown on the Client Server List" scription "Description shown on server connection window." server.url "" server.headerimage "" server.identity "server1" rcon.port 28016 rcon.password letmein rcon.web 1 -logfile rustserverlog.txt
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |