serverControl plugin with ResetServerAlwaysFile

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
User avatar
mathiaz
Private First Class
Private First Class
Posts: 64
Joined: Sat May 27, 2006 11:59 pm

serverControl plugin with ResetServerAlwaysFile

Post by mathiaz »

Hi,

I try to make a my server automaticly restart without disturbing eventual games.
So i see that it may be possible with serverControl plugin.

so, i am configuring a debian server with systemd.
But i can t use serverControl plugin as i want

here s the log file :
------------------------

ServerControl - No banfile checks - no BanFile specified
ServerControl - No BanReloadMessage notification
ServerControl - No masterban file checks - no MasterbanFile specified
ServerControl - No MasterBanReloadMessage notification
ServerControl - No ResetServerOnceFile specified
ServerControl - Using ResetServerAlwaysFile: "/path/toFile/reset-server-always"
ServerControl - Server must be empty for server restarts

serverControl.cfg:
-----------------------

[ServerControl]

ResetServerAlwaysFile = "/path/toFile/reset-server-always"

---------------------------
and there is an empty file "/path/toFile/reset-server-always"

the plugin is loaded by
-loadplugin serverControl,/path/to/serverControl.cfg


i can see the plugins loaded, and all the concerning file are world readable ...

and the server dont stop when i leave the game...
where am i wrong?

tks
<°)))><|
User avatar
Zehra
Private First Class
Private First Class
Posts: 915
Joined: Sun Oct 18, 2015 3:36 pm
Location: Within the BZFS API and Beyond it
Contact:

Re: serverControl plugin with ResetServerAlwaysFile

Post by Zehra »

While I am not certain of the issue with the 'serverControl' plug-in, the following may be of some use:
If the goal is simply to "shutdown" the server after a game and players leave, the below may be passed as a command line option when starting BZFS.

Code: Select all

-g
The above simply causes the server to provide a single game and shutdown afterwards.
It can combined with a start-up script to provide an easy way of resetting maps.

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.

Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
User avatar
mathiaz
Private First Class
Private First Class
Posts: 64
Joined: Sat May 27, 2006 11:59 pm

Re: serverControl plugin with ResetServerAlwaysFile

Post by mathiaz »

It sounds like what i am looking for, i will test it soon.

Thanks
:)
<°)))><|
Post Reply