[Crossfire-wiki] [Crossfire DokuWiki] page changed: server_plugin
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sun Dec 17 17:10:39 CST 2006
A page in your DokuWiki was added or changed. Here are the details:
Date : 2006/12/17 17:10
User : ryo
Edit Summary: prevision
@@ -21,14 +21,17 @@
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.
FIXME check parameters and such :)
+
===== Hooking to an object-specific event =====
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.
When an object-specific event is raised, affected object is sent to the plugin.
+
+ For some events, returning a non-zero value will prevent the default server processing to take place, allowing to override things.
Here is the full list of object-specific events.
==== Apply ====
IP-Address : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1166396364
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