[Crossfire-wiki] [Crossfire DokuWiki] page changed: server_plugin

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Fri Nov 24 09:50:13 CST 2006


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2006/11/24 09:50
User        : ryo
Edit Summary: add list (from developer doc in svn)

@@ -91,13 +91,72 @@
  ==== Timer ====
  Archetype: event_timer
  
  Generated when the timer connected triggered.
+ 
  
  ===== Hooking to global events =====
+ 
+ Those concern the game as a whole or can't be bound to a specific object. Those events may be "registered" by a plugin (it means that the plugin requests to get a message each time one of those events happens).
  
  Plugin should use provided server callbacks to register itself. See the specific plugin documentation.
  
+ FIXME {add parameters}
+ 
+ ==== Born ====
+ Generated when a new character is created.
+ 
+ ==== Clock ====
+ Generated at each game loop.
+ 
+ Note: when no player is logged, the loop "stops", meaning that clock events are not generated anymore!
+ 
+ ==== Crash ====
+ Generated when a server crash does occur. It is not a recursive event, so if a crash occur from *inside* the crash event handling, it is not called a second time, preventing infinite loops to occur.
+ 
+ Note: This event is not implemented for now.
+ 
+ ==== Gdeath ====
+ Generated whenever a player dies.
+ 
+ ==== Gkill ====
+ Generated whenever something/someone is killed.
+ 
+ ==== Kick ====
+ Generated when a player was kicked by a DM.
+ 
+ ==== Login ====
+ Generated whenever a player logs into the game.
+ 
+ ==== Logout ====
+ Generated whenever a player logs out the game.
+ 
+ ==== Mapenter ====
+ Generated whenever someone enters a map.
+ 
+ ==== Mapleave ====
+ Generated whenever someone leaves a map.
+ 
+ ==== Mapload ====
+ Generated when a map is loaded in memory.
+ 
+ ==== Mapreset ====
+ Generated each time a map is reset.
+ 
+ ==== Mapunload ====
+ Generated when a map is being unloaded from memory.
+ 
+ ==== Muzzle ====
+ Generated when a player was muzzled by a DM.
+ 
+ ==== Remove ====
+ Generated when a player character is removed from the game ("quit" command).
+ 
+ ==== Shout ====
+ Generated whenever someone shouts something.
+ 
+ ==== Tell ====
+ Generated whenever someone tells something.
  
  ===== Registering a command =====
  
  A plugin can register a custom game command. This command will work exactly like other commands from the player's point of view, accepting arguments and such.


IP-Address  : 213.174.127.3
Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1164383045
New Revision: http://wiki.metalforge.net/doku.php/server_plugin

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list