Editing Teamflagreset

Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: Server migration

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
#REDIRECT [[Plug-ins]]
+
The teamflagreset plugin will look at the team flags and see if they have been held by a player and dropped - if so, it will start timing to a limit.  If the flag is not picked up again within that time limit the team flag will reset with a message saying which team flag sat idle too long. 
 +
 
 +
It will also automatically disable itself for teams with no players and for only 1 team in the match (no opposing teams).
 +
 
 +
=Usage=
 +
 
 +
The plugin will allow the time limit to be passed to it through the -loadplugin command line with bzfs.  The format is as follows:
 +
 
 +
-loadplugin <filepath>[,<m>]
 +
 
 +
where <m> is the timer value (in minutes) for timed ctf.<br />
 +
For example, "''-loadplugin plugins/teamflagreset,2''", would start the plugin with the timer set for 2 minutes.<br />
 +
The minimum is 1 minute and the maximum is 120 minutes.<br />
 +
If no time is specified, the plugin defaults to 5 minutes.
 +
 
 +
=Server Commands=
 +
 
 +
There are 4 administrator commands available with the plugin:
 +
 
 +
/tfrtime <m>  - this will set timer interval for checking idle flags to <m> minutes (1-120).
 +
/tfroff        - this will disable the timer.
 +
/tfron        - this will enable the timer.
 +
/tfrstatus    - this will return the status of the timer (enabled or disabled and time interval).
 +
 
 +
[[Category:Plug-Ins]]

Please note that all contributions to BZFlagWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BZFlagWiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)