--- deliantra/server/pod/events.pod 2010/03/19 17:48:47 1.34 +++ deliantra/server/pod/events.pod 2010/04/08 19:31:22 1.39 @@ -301,8 +301,8 @@ =head3 load (player -- ) -Invoked whenever a player has been loaded from disk, but before -actual login. +Invoked whenever after a player has been loaded from disk, but before +actual activation/login. =head3 save (player -- ) @@ -342,8 +342,13 @@ =head3 command (player command args -- time) -Execute a user command send by the client. Programmable plug-ins usually -handle this event internally. +Execute a user command sent by the client - this is invoked for I +command,s so should not normally be hooked. + +=head3 unknown_command (player command args -- time) + +Execute a user command sent by the client that isn't known to the +server. Programmable plug-ins usually handle this event internally. =head3 extcmd (player string) @@ -381,9 +386,10 @@ Invoked whenever the player uses the B, B or B command, before it gets processed. -=head3 build (player x y builder --) +=head3 build (player builder map x y --) -Players tries to build at (x|y), using C. +Players tries to build using C at (map+x+y). Is invoked after the +usual sanity checks, so the coordinates are valid. =head2 MAP EVENTS @@ -437,8 +443,13 @@ =head3 connect (client -- ) -Called as soon as a new connection to the server is established. Should -not be overriden. +Called as soon as a new connection to the server is established and the +socket has been configured. + +=head3 version (client string -- ) + +Called as soon as the version command from the client is received +(normally the very first command sent). =head3 setup (client string -- ) @@ -461,3 +472,8 @@ Programmable plug-ins usually handle this event internally. +=head3 client_destroy (client -- ) + +Invoked when the client gets destroyed. + +