BrightGamePanel / bgpanel

Bright Game Panel
www.bgpanel.net
GNU General Public License v3.0
55 stars 50 forks source link

Server Stop Method #13

Open ReidWeb opened 11 years ago

ReidWeb commented 11 years ago

Would it be possible to add an option to run a script when the server is 'stopped' rather than just killing it?

For instance I have a script that starts a server with:

./script.sh start

and stops with:

./script.sh stop

warhawk3407 commented 10 years ago

It is a nice idea that could be done !

I mark it as TODO.

ReidWeb commented 10 years ago

I may clone the repo and see if I can't work out out myself, if I get a working version I'll post here and you can use the code free of charge if you want it

warhawk3407 commented 10 years ago

Okay :+1:

P4sca1 commented 9 years ago

This would be great. I cant use the stop/restart buttons because they are just killing the screen. I need the web panel to first run the rcon command "exit" then wait 5 seconds and then exit the screen.