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.35 by root, Fri Mar 19 22:16:27 2010 UTC vs.
Revision 1.38 by root, Thu Apr 8 17:36:54 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.
439=head3 connect (client -- ) 444=head3 connect (client -- )
440 445
441Called as soon as a new connection to the server is established. Should 446Called as soon as a new connection to the server is established. Should
442not be overriden. 447not be overriden.
443 448
449=head3 version (client string -- )
450
451Called as soon as the version command from the client is received
452(normally the very first command sent).
453
444=head3 setup (client string -- ) 454=head3 setup (client string -- )
445 455
446Client sent the setup command to negotiate parameters. Handling is 456Client sent the setup command to negotiate parameters. Handling is
447mandatory and done by F<login.ext>. 457mandatory and done by F<login.ext>.
448 458
460 470
461Like C<extcmd>, but can be called before a player has logged in. 471Like C<extcmd>, but can be called before a player has logged in.
462 472
463Programmable plug-ins usually handle this event internally. 473Programmable plug-ins usually handle this event internally.
464 474
475=head3 client_destroy (client -- )
476
477Invoked when the client gets destroyed.
478
479

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines