dayz-server-manager icon indicating copy to clipboard operation
dayz-server-manager copied to clipboard

Hooks

Open Setman590 opened this issue 10 months ago • 2 comments

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

Setman590 avatar Apr 04 '24 19:04 Setman590

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.

mr-guard avatar Apr 06 '24 06:04 mr-guard

This is what is in my startbec.bat

cd "E:\ServerManager0\chernarusplus\bec" start Bec.exe -f Config.cfg --dsc

Setman590 avatar Apr 06 '24 14:04 Setman590