Advertisement
Guest User

Untitled

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