… | |
… | |
271 | |
271 | |
272 | =head3 login (player) |
272 | =head3 login (player) |
273 | |
273 | |
274 | Invoked whenever a player logs in. |
274 | Invoked whenever a player logs in. |
275 | |
275 | |
276 | =head3 logout (player) |
276 | =head3 logout (player cleanly -- ) |
277 | |
277 | |
278 | Invoked whenever a player logs out, gets disconnected etc. |
278 | Invoked whenever a player logs out, gets disconnected etc. |
279 | |
279 | |
280 | =head3 death (player) |
280 | =head3 death (player) |
281 | |
281 | |
282 | Invoked whenever a player dies, before the death actually gets processed. |
282 | Invoked whenever a player dies, before the death actually gets processed. |
283 | |
283 | |
284 | =head3 map_change (player newmap x y -- ) |
284 | =head3 map_change (player newmap x y -- ) |
285 | |
285 | |
286 | Invoked before a player moves from one map to another, can override the movement. |
286 | Invoked before a player moves from one map to another, can override the movement. |
|
|
287 | |
|
|
288 | =head3 region_change (player newregion oldregion -- ) |
|
|
289 | |
|
|
290 | Invoked when a player entered a new region. Cannot be overriden. |
287 | |
291 | |
288 | =head3 command (player command args -- time) |
292 | =head3 command (player command args -- time) |
289 | |
293 | |
290 | Execute a user command send by the client. Programmable plug-ins usually |
294 | Execute a user command send by the client. Programmable plug-ins usually |
291 | handle this event internally. |
295 | handle this event internally. |