Called when a player sends a chat message
Called when a player has called a custom action from the global context menu (defined through GameWorld.addCustomAction)
Called when a player has rolled dice, once the dice have come to rest. Called directly before the dice roll message is sent, so you can use GameWorld.setShowDiceRollMessages to determine whether the regular message should be sent.
Called when a player has finished drawing a line. A line is finished when the player releases the mouse button or moves the mouse to another object. A line is also finished when it exceeds 1000 points, in that case a new line is started immediately at the point where the old line finished, usually without the player noticing.
Called when a player has erased a line.
Called when an object is created (from the object library, loading a game, copy & paste, dragging from a container or stack...)
Called when an object is destroyed
Called when a new allowed package was added to the session. Not called after loading for packages that are part of a loaded save state.
Called when a player joins the game
Called when a player leaves the game
Called when a player has switched slots
Called when a player presses a script action button. Per default, the script buttons are mapped to the numpad. Players can re-assign them in the interface settings.
Called when a player releases a script action button.
Called when a player has shaken the mouse (or motion controller) while holding objects.
Called when a player sends a team chat message
Called every tick.
Called when a player whispers (sends a direct message) to another player
Global scripting event callbacks