So I'm trying to set up a dedicated server script for someone, and I need an addon to execute when the server starts, regardless of the gamemode loaded.
I'm trying Greek2me's preload script with no success, and I'm assuming -mod is not a valid command line argument when starting the game
I don't want to overwrite config/{client,server}/prefs.cs, the addon list, or the music list files as those can be overwritten, and I'm not 100% sure doing
echo 'exec("Add-Ons/Support_RemoteScriptHandler/server.cs");' >> "$BL_DIR/config/server/musicList.cs"
every server startup would be the best idea
I mean it might work, but I'd rather have something reliable in case that's overwritten.
Is that my best option?