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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Fri Nov 24 09:36:54 CST 2006


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

Date        : 2006/11/24 09:36
User        : ryo
Edit Summary: more info

@@ -9,14 +9,17 @@
  ^ Name ^ Description ^ Status ^
  | [[cfanim]] | animate objects | build, but untested |
  | [[cfpython]] | run Python scripts | working |
  | template | not a real plugin, but a skeleton to create new ones | up-to-date |
+ 
  
  ====== Hooks ======
  
  Plugin system works through //hooks//. A hook is merely an event taking place, to which plugins can respond. Default server behavior can sometimes be overridden totally.
  
  The full list of events corresponds to the //event_xxx// archetypes, found in the [[http://crossfire.svn.sourceforge.net/viewvc/crossfire/arch/trunk/system/|/system folder of the archetypes]].
+ 
+ Events are either //global// or //object-specific//. Examples of global events include a player joining or exiting the game, a map being loaded. Examples of object-specific events include an item being applied, a player attacking a monster.
  
  ===== Hooking to an object =====
  
  Just add an //event_xxx// object into your object's inventory, and fill the ''title'' field with the plugin name. See the specific plugin documentation for optional arguments.


IP-Address  : 213.174.127.3
Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1163613016
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