[Crossfire-wiki] [Crossfire DokuWiki] page changed: server_plugin
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sun Dec 17 16:59:25 CST 2006
A page in your DokuWiki was added or changed. Here are the details:
Date : 2006/12/17 16:59
User : ryo
Edit Summary: update
@@ -155,15 +155,15 @@
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.
- A plugin can override an existing Crossfire command simply by declaring a command with desired name and returning ''1'' after execution.
- FIXME {check overring of builtin command and return value}
+ A plugin can override an existing Crossfire command simply by declaring a command with the same name. Server command will be ignored.
====== Creating a plugin ======
Plugins should use the ''common'' plugin helper library, and use provided functions to manipulate Crossfire data.
IP-Address : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1164383411
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