ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/pod/events.pod
(Generate patch)

Comparing deliantra/server/pod/events.pod (file contents):
Revision 1.33 by root, Tue Nov 3 23:44:21 2009 UTC vs.
Revision 1.37 by root, Tue Apr 6 23:34:57 2010 UTC

299Invoked when the given player is being kicked, before the kick is 299Invoked when the given player is being kicked, before the kick is
300executed. 300executed.
301 301
302=head3 load (player -- ) 302=head3 load (player -- )
303 303
304Invoked whenever a player has been loaded from disk, but before 304Invoked whenever after a player has been loaded from disk, but before
305actual login. 305actual activation/login.
306 306
307=head3 save (player -- ) 307=head3 save (player -- )
308 308
309Invoked just before a player gets serialised. 309Invoked just before a player gets serialised.
310 310
340 340
341Invoked when a player entered a new region. Cannot be overriden. 341Invoked when a player entered a new region. Cannot be overriden.
342 342
343=head3 command (player command args -- time) 343=head3 command (player command args -- time)
344 344
345Execute a user command send by the client. Programmable plug-ins usually 345Execute a user command sent by the client - this is invoked for I<all>
346handle this event internally. 346command,s so should not normally be hooked.
347
348=head3 unknown_command (player command args -- time)
349
350Execute a user command sent by the client that isn't known to the
351server. Programmable plug-ins usually handle this event internally.
347 352
348=head3 extcmd (player string) 353=head3 extcmd (player string)
349 354
350Invoked whenever a client issues the C<extcmd> protocol command. 355Invoked whenever a client issues the C<extcmd> protocol command.
351Programmable plug-ins usually handle this event internally. 356Programmable plug-ins usually handle this event internally.
379=head3 shout (player message --) 384=head3 shout (player message --)
380 385
381Invoked whenever the player uses the B<say>, B<chat> or B<shout> command, 386Invoked whenever the player uses the B<say>, B<chat> or B<shout> command,
382before it gets processed. 387before it gets processed.
383 388
389=head3 build (player builder map x y --)
390
391Players tries to build using C<builder> at (map+x+y). Is invoked after the
392usual sanity checks, so the coordinates are valid.
393
384 394
385=head2 MAP EVENTS 395=head2 MAP EVENTS
386 396
387These events are generally dependent on a map and thus all have a map 397These events are generally dependent on a map and thus all have a map
388as first argument. 398as first argument.
455 465
456Like C<extcmd>, but can be called before a player has logged in. 466Like C<extcmd>, but can be called before a player has logged in.
457 467
458Programmable plug-ins usually handle this event internally. 468Programmable plug-ins usually handle this event internally.
459 469
470=head3 client_destroy (client -- )
471
472Invoked when the client gets destroyed.
473
474

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines