Last active
          October 18, 2025 13:59 
        
      - 
      
- 
        Save SanariSan/0475661f3bc73d897f017a46e28e9d35 to your computer and use it in GitHub Desktop. 
    Local Rust (game) server startup
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | :: Launch inside the rust server directory | |
| @echo off | |
| :start | |
| echo "Starting Rust server... To stop the server, type 'quit' in this window and press Enter." | |
| RustDedicated.exe -batchmode -maxmemory 8192 ^ | |
| +server.port 28015 ^ | |
| +server.level "Procedural Map" ^ | |
| +server.seed 995522 ^ | |
| +server.worldsize 4000 ^ | |
| +server.maxplayers 2ownerid 76561198123456789 "TomSmith" ^ | |
| +server.hostname "Test" ^ | |
| +server.description "Test" ^ | |
| +server.identity "server1" ^ | |
| +rcon.port 28016 ^ | |
| +rcon.password "cringe404" ^ | |
| +rcon.web 1 ^ | |
| -logfile "rust_server_log.txt" | |
| echo. | |
| echo Server has been shut down or crashed. Restarting in 10 seconds... | |
| echo Press Ctrl+C to cancel restart. | |
| timeout /t 10 | |
| goto start | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | :: Need to have steamcmd in the PATH | |
| steamcmd.exe +force_install_dir "X:\rust_server" +login anonymous +app_update 258550 validate +quit | |
| timeout /t 10 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment