dayz-server-manager
dayz-server-manager copied to clipboard
Hooks
Does the afterStart work? I am using
"hooks": [ { "type": "afterStart", "program": "E:/ServerManager0/chernarusplus/bec/Startbec.bat", } ], afterStart starts the server, but it never starts Bec I tried to use beforeStart, it starts BEC, but it never starts the server
You can use before start for that but you will need to make a script that actually detaches BEC. Otherwise the manager will wait until BEC finishes/stops.
This is what is in my startbec.bat
cd "E:\ServerManager0\chernarusplus\bec" start Bec.exe -f Config.cfg --dsc