… | |
… | |
299 | Invoked when the given player is being kicked, before the kick is |
299 | Invoked when the given player is being kicked, before the kick is |
300 | executed. |
300 | executed. |
301 | |
301 | |
302 | =head3 load (player -- ) |
302 | =head3 load (player -- ) |
303 | |
303 | |
304 | Invoked whenever a player has been loaded from disk, but before |
304 | Invoked whenever after a player has been loaded from disk, but before |
305 | actual login. |
305 | actual activation/login. |
306 | |
306 | |
307 | =head3 save (player -- ) |
307 | =head3 save (player -- ) |
308 | |
308 | |
309 | Invoked just before a player gets serialised. |
309 | Invoked just before a player gets serialised. |
310 | |
310 | |
… | |
… | |
441 | handled asynchronously as soon as the command reaches the server, even when |
441 | handled asynchronously as soon as the command reaches the server, even when |
442 | the player hasn't logged in yet (meaning there is no player yet). |
442 | the player hasn't logged in yet (meaning there is no player yet). |
443 | |
443 | |
444 | =head3 connect (client -- ) |
444 | =head3 connect (client -- ) |
445 | |
445 | |
446 | Called as soon as a new connection to the server is established. Should |
446 | Called as soon as a new connection to the server is established and the |
447 | not be overriden. |
447 | socket has been configured. |
|
|
448 | |
|
|
449 | =head3 version (client string -- ) |
|
|
450 | |
|
|
451 | Called as soon as the version command from the client is received |
|
|
452 | (normally the very first command sent). |
448 | |
453 | |
449 | =head3 setup (client string -- ) |
454 | =head3 setup (client string -- ) |
450 | |
455 | |
451 | Client sent the setup command to negotiate parameters. Handling is |
456 | Client sent the setup command to negotiate parameters. Handling is |
452 | mandatory and done by F<login.ext>. |
457 | mandatory and done by F<login.ext>. |