[Crossfire-wiki] [Crossfire DokuWiki] page changed: server_plugin
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Thu Jun 9 16:48:37 CDT 2011
A page in your DokuWiki was added or changed. Here are the details:
Date : 2011/06/09 16:48
User : ryo
Edit Summary: update gdeath
@@ -135,8 +135,9 @@
==== 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).
@@ -146,9 +147,9 @@
^ Event ^ Description ^ Parameters ^ Note ^
| Born | Generated when a new character is created. | ''object*'' pointing to player | |
| Clock | Generated at each game loop. | (none) | 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. | (none) | This event is not implemented for now. |
- | Gdeath | Generated whenever a player dies. | ''object*'' pointing to player | |
+ | Gdeath | Generated whenever a player dies. | ''object*'' pointing to player, ''object*'' pointing to killer (can be NULL). | |
| Gkill | Generated whenever something/someone is killed. | ''object*'' pointing to dead object, ''object*'' pointing to killer. | |
| Kick | Generated when a player was kicked by a DM. | ''object*'' pointing to kicked player, ''const char*'' containing the parameter the DM used to kick | |
| Login | Generated whenever a player logs into the game. | ''player*'' pointing to player, ''const char*'' containing the hostname of the client. | |
| Logout | Generated whenever a player logs out of the game. | ''player*'' pointing to player, ''const char*'' containing the hostname of the client. | |
IP-Address : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/server_plugin?rev=1286735172
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