--- deliantra/server/pod/events.pod 2006/12/25 11:25:49 1.12 +++ deliantra/server/pod/events.pod 2007/02/10 01:52:28 1.15 @@ -205,9 +205,17 @@ moving onto it. This includes not just traps, but also buttons, holes, signs and similar stuff. +=head3 open (container who -- ) + +Invoked whenever a container gets opened. When overriden, the container will not +get opened, but you must tell op about the reason. + =head3 close (container who -- ) -Invoked whenever a container gets closed (this event is not yet reliable!). +Invoked whenever a container gets closed. When overriden, the container +will not get closed, but you must tell op about the reason. This event +is not crash-safe, i.e. containers might be closed due to a server crash +without this event being invoked. =head2 GLOBAL EVENTS @@ -237,16 +245,29 @@ =head3 kick (player params -- ) -Invoked when the given plaer is being kicked, before the kick is executed. +Invoked when the given player is being kicked, before the kick is +executed. -=head3 load (player) +=head3 load (player -- ) Invoked whenever a player has been loaded from disk, but before actual login. -=head3 save (player) +=head3 save (player -- ) + +Invoked just before a player gets serialised. + +=head3 save_done (player -- ) + +Invoked just after a player was serialised. + +=head3 connect (player -- ) + +Invoked just after the player object was connected to a client. + +=head3 disconnect (player -- ) -Invoked just before a player gets saved. +Invoked just before the player gets disconnected from the client. =head3 login (player)