<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bzflag.org/index.php?action=history&amp;feed=atom&amp;title=Server_Control</id>
	<title>Server Control - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bzflag.org/index.php?action=history&amp;feed=atom&amp;title=Server_Control"/>
	<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Server_Control&amp;action=history"/>
	<updated>2026-05-01T09:04:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.bzflag.org/index.php?title=Server_Control&amp;diff=9235&amp;oldid=prev</id>
		<title>Zehra: added category</title>
		<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Server_Control&amp;diff=9235&amp;oldid=prev"/>
		<updated>2016-12-01T02:09:46Z</updated>

		<summary type="html">&lt;p&gt;added category&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:09, 1 December 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l103&quot;&gt;Line 103:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 103:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   -loadplugin /path/to/serverControl,/path/to/plugins.cfg&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   -loadplugin /path/to/serverControl,/path/to/plugins.cfg&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Plug-Ins]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bzflag_wiki-bz_:diff:1.41:old-7986:rev-9235:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Zehra</name></author>
	</entry>
	<entry>
		<id>https://wiki.bzflag.org/index.php?title=Server_Control&amp;diff=7986&amp;oldid=prev</id>
		<title>Sigonasr2: /* Master Ban Update Script */</title>
		<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Server_Control&amp;diff=7986&amp;oldid=prev"/>
		<updated>2011-09-21T05:25:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Master Ban Update Script&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:25, 21 September 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l91&quot;&gt;Line 91:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 91:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Master Ban Update Script==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Master Ban Update Script==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; BANFILE=&quot;/path/to/masterbans.txt&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  while true; do&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  while true; do&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    #Run forever every 10 minutes.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    #Run forever every 10 minutes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   BANFILE=&quot;/path/to/masterbans.txt&quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    `wget http://www.bzflag.org/master-bans.txt -O $BANFILE`&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    `wget http://www.bzflag.org/master-bans.txt -O $BANFILE`&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    sleep 600&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    sleep 600&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bzflag_wiki-bz_:diff:1.41:old-7985:rev-7986:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Sigonasr2</name></author>
	</entry>
	<entry>
		<id>https://wiki.bzflag.org/index.php?title=Server_Control&amp;diff=7985&amp;oldid=prev</id>
		<title>Sigonasr2: Created page with &quot;==Plugin Description== This plugin takes a single command line argument that specifies the filename for the plugin configuration file.  An example configuration file is provided ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Server_Control&amp;diff=7985&amp;oldid=prev"/>
		<updated>2011-09-21T05:20:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Plugin Description== This plugin takes a single command line argument that specifies the filename for the plugin configuration file.  An example configuration file is provided ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Plugin Description==&lt;br /&gt;
This plugin takes a single command line argument that specifies the&lt;br /&gt;
filename for the plugin configuration file.&lt;br /&gt;
&lt;br /&gt;
An example configuration file is provided in &amp;#039;plugins.cfg&amp;#039; found in the plugin&amp;#039;s source directory.&lt;br /&gt;
&lt;br /&gt;
==Example Configuration File==&lt;br /&gt;
 # Plugin Configuration File&lt;br /&gt;
 #&lt;br /&gt;
 &lt;br /&gt;
 # serverControl plugin options&lt;br /&gt;
 #&lt;br /&gt;
 #   All values are optional.  You can omit values by commenting them&lt;br /&gt;
 #   out of leaving them with no value defined as in &amp;#039;key =&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 [ServerControl]&lt;br /&gt;
 &lt;br /&gt;
  #&lt;br /&gt;
  # Ban File Section&lt;br /&gt;
  # ----------------&lt;br /&gt;
  # Ban files can be shared between multiple servers.&lt;br /&gt;
  # Specify the location for the shared banfile.&lt;br /&gt;
  # The plugin checks the modification time for the file&lt;br /&gt;
  # every tick event (approximately every 3 seconds) and&lt;br /&gt;
  # reloads the banfile information on the server&lt;br /&gt;
 &lt;br /&gt;
  # Ban file location&lt;br /&gt;
  BanFile = db/banfile&lt;br /&gt;
  # Message to display when bans are reloaded.&lt;br /&gt;
  BanReloadMessage = Bans updated&lt;br /&gt;
 &lt;br /&gt;
  # Local file copy of the master ban&lt;br /&gt;
  MasterBanFile = db/master-bans.txt&lt;br /&gt;
  # Message to display when the master ban list is reloaded&lt;br /&gt;
  MasterBanReloadMessage = Master bans updated&lt;br /&gt;
 &lt;br /&gt;
  #&lt;br /&gt;
  # Server Restart Section&lt;br /&gt;
  # ----------------------&lt;br /&gt;
  #&lt;br /&gt;
  # If you run your BZFlag server in a server loop from a shell script&lt;br /&gt;
  # you can force the server to exit so the server can be reloaded by&lt;br /&gt;
  # the controlling shell script.&lt;br /&gt;
  #&lt;br /&gt;
  # The plugin causes the server to shutdown if the server was active&lt;br /&gt;
  # and has zero players.  A server is considered active if at least&lt;br /&gt;
  # one non-observer player has connected to the server.  This can be&lt;br /&gt;
  # used to change maps, reset the server back to its default&lt;br /&gt;
  # settings, etc.&lt;br /&gt;
 &lt;br /&gt;
  # The ResetServerOnceFile normally does not exist.  You create this&lt;br /&gt;
  # file when you want to force a server reset.  You can do this on&lt;br /&gt;
  # busy maps to queue a server shutdown when the game ends without&lt;br /&gt;
  # interrupting play.  If this file exists and the server is empty it&lt;br /&gt;
  # forces an immediate shutdown regardless of whether the server was&lt;br /&gt;
  # active or not.  You would normally use this when you update to a&lt;br /&gt;
  # new version of the server or plugin code or change server&lt;br /&gt;
  # configuration options and want to restart the server without&lt;br /&gt;
  # interrupting any currently running games.  The ResetServerOnceFile&lt;br /&gt;
  # is removed when the server is shutdown by the plugin.&lt;br /&gt;
  ResetServerOnceFile = reset-server-once&lt;br /&gt;
 &lt;br /&gt;
  # If the ResetServerAlwaysFile exists the server will exit each time&lt;br /&gt;
  # the last player leaves the server.  The server requires a&lt;br /&gt;
  # non-observer to join to put it in an &amp;#039;active&amp;#039; state before the&lt;br /&gt;
  # plugin will cause the server to exit (someone actually has to use&lt;br /&gt;
  # the map before the server exits). This can be used to control&lt;br /&gt;
  # rotation servers with no time limit.&lt;br /&gt;
  ResetServerAlwaysFile = reset-server-always&lt;br /&gt;
 &lt;br /&gt;
  # Ignore observers makes the server shutdown after a non-observer has&lt;br /&gt;
  # connected even if observers are still present&lt;br /&gt;
  #IgnoreObservers = true&lt;br /&gt;
&lt;br /&gt;
The purpose of this plugin is for ban file synchronization across&lt;br /&gt;
multiple BZFlag servers running on the same host and for controlled&lt;br /&gt;
server shutdown for queued server restarts.  The plugin will reload&lt;br /&gt;
the ban file or master ban file entries when it notices a modification&lt;br /&gt;
to the local file.&lt;br /&gt;
&lt;br /&gt;
To use this effectively with the BZFlag masterban file you should copy&lt;br /&gt;
the banfile from the official server to a local file and only modify&lt;br /&gt;
the local master ban file the plugin looks at if the contents of the&lt;br /&gt;
ban file changes.&lt;br /&gt;
&lt;br /&gt;
This plugin can also shut down the BZFlag server on demand or everytime a&lt;br /&gt;
game ends.&lt;br /&gt;
&lt;br /&gt;
An example script (for Linux systems) to keep a local copy of the&lt;br /&gt;
masterban file is displayed below:&lt;br /&gt;
&lt;br /&gt;
==Master Ban Update Script==&lt;br /&gt;
 while true; do&lt;br /&gt;
   #Run forever every 10 minutes.&lt;br /&gt;
   BANFILE=&amp;quot;/path/to/masterbans.txt&amp;quot;&lt;br /&gt;
   `wget http://www.bzflag.org/master-bans.txt -O $BANFILE`&lt;br /&gt;
   sleep 600&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
==Plugin Loading==&lt;br /&gt;
&lt;br /&gt;
Plugin loading format:&lt;br /&gt;
&lt;br /&gt;
  -loadplugin /path/to/serverControl,/path/to/plugins.cfg&lt;/div&gt;</summary>
		<author><name>Sigonasr2</name></author>
	</entry>
</feed>