0 of 0

File information

Last updated

Original upload

Created by

Blanky

Uploaded by

VariikSearunner

Virus scan

Safe to use

Tags for this mod

About this mod

Automatically restarts server based on the gamemode selected instead of manually restarting on match-end.

Requirements
Permissions and credits
Changelogs
Automatically restarts server based on the gamemode selected instead of manually restarting on match-end.

The autorun scripts run whichever gamemode you picked and then will begin to watch for the process to end. IF it does for any reason (match end or otherwise) it will restart it. The new 'runners' folder has an edited version of the 'Start a XXX server.bat' file. (I added '&& exit 0' as a catch in case it doesn't cleanup and exit correctly, though as long as you aren't trying to spam re-enter a game it will cleanly exit.

Installation:
1. Unzip the file into your spellbreak-community-version-server-windows directory.
This will result in:
  • 4 autorun.bat files
  • 1 readMe (pretty much what you're reading now but yeet why not.
  • A runners folder that contains edited versions of the base server.bat files.
2. Delete all 4 of the 'Start a XXX server.bat' files. The autorunGAMEMODE.bat files replace these.

Usage:
Double click the autorunXXX.bat, where XXX is the gamemode you want to play.

Planned features:
  • Catch-all force restart to fix any of the re-join bugs
  • GUI for selecting gamemode instead of clicking the script
  • .pak file mod to run this from in-game


Known Bugs:
Attempting to join a game before the server has a chance to clean up and exit can suspend the process and my script wont fire. A later version of this will include some catch-all force restart logic in this occurrence.