Advertisement
Guest User

Untitled

a guest
Nov 21st, 2022
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. @echo off
  2. ::Paste the server key from https://platform.plutonium.pw/serverkeys here
  3. set key=
  4. ::RemoteCONtrol password, needed for most management tools like IW4MADMIN and B3. Do not skip if you installing IW4MADMIN.
  5. set rcon_password=
  6. ::Name of the config file the server should use. (default: dedicated.cfg)
  7. set cfg=dedicated.cfg
  8. ::Name of the server shown in the title of the cmd window. This will NOT bet shown ingame.
  9. set name=T6 Bot Warfare
  10. ::Port used by the server (default: 4976)
  11. set port=
  12. ::What ip to bind too
  13. set ip=
  14. ::Only change this when you don't want to keep the bat files in the game folder. MOST WON'T NEED TO EDIT THIS!
  15. set gamepath=%cd%
  16.  
  17. title PlutoniumT6 - %name% - Server restarter
  18. echo Visit plutonium.pw / Join the Discord (a6JM2Tv) for NEWS and Updates!
  19. echo Server "%name%" will load "%cfg%" and listen on port "%port%" UDP with IP "%ip%"!
  20. echo To shut down the server close this window first!
  21. echo (%date%) - (%time%) %name% server start.
  22.  
  23. cd /D %LOCALAPPDATA%\Plutonium
  24. :server
  25. start /wait /abovenormal "%name%" "bin\plutonium-bootstrapper-win32.exe" t6mp "%gamepath%" -dedicated -sv_config "%cfg%" -key "%key%" -net_ip "%ip%" -net_port "%port%" -rcon_password "%rcon_password%"
  26. echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts.
  27. goto server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement