This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bzfscron: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
===Sources===
===Sources===
Original bzfscron announcement: http://my.bzflag.org/bb/viewtopic.php?t=501
Original bzfscron announcement: http://my.bzflag.org/bb/viewtopic.php?t=501
Bzfscron rewrite information: http://my.bzflag.org/bb/viewtopic.php?t=10095
Bzfscron rewrite information: http://my.bzflag.org/bb/viewtopic.php?t=10095


[[Category:Plug-Ins]]
[[Category:Plug-Ins]]
[[Category:Server]]
[[Category:Server]]

Revision as of 21:30, 12 March 2007

One of the first plugins, and still arguably the most powerful, bzfscron allows you to run arbitrary /slash commands on a schedule. It supports a very complete crontab parser that closely approximates those found on most modern *nix systems.

With bzfs 2.0.x, limitations in the server API force bzfscron to use an ingenious, but hackish way to deliver its commands. An "observer" called "bzfscron" joins the server. The plugin promotes itself (the pseudo-player) to administrator automatically, so you don't need to worry about permissions. Establishing a TCP connection to one's own thread is very weird and very ugly. However, for the limited purposes of this plugin, it works.

Bzfscron has been completely redesigned to use a server-side player in BZFlag 2.2 and newer.

Sources

Original bzfscron announcement: http://my.bzflag.org/bb/viewtopic.php?t=501

Bzfscron rewrite information: http://my.bzflag.org/bb/viewtopic.php?t=10095