Mapping game events to B3 events

In order for B3 plugin to work with all supported games, plugins listen for B3 events as defined in b3.events.

Event name description
EVT_EXIT not used
EVT_STOP Fired when B3 shut down to give a change to plugins to take some actions before full shut down
EVT_UNKNOWN Fired by parsers when they receive a game event that do not match any predefined B3 event
EVT_CUSTOM not used
EVT_CLIENT_SAY Fired by parsers when a player says something in game
EVT_CLIENT_TEAM_SAY Fired by parsers when a player says something in game to its teammates only
EVT_CLIENT_PRIVATE_SAY Fired by parsers when a player says something in game to an individual player only
EVT_CLIENT_CONNECT Fired by parsers when a player connects to the game server
EVT_CLIENT_AUTH Fired by the Client.auth() method when a connected player has been authenticated against B3 database. Parsers must call that method when they received data that allow player authentication (guid, punbusterID or SteamID)
EVT_CLIENT_DISCONNECT Fired by the Client.disconnect() method. Parsers must call that method when a player leaves the game server
EVT_CLIENT_UPDATE not used
EVT_CLIENT_KILL Client Kill
EVT_CLIENT_GIB Client Gib
EVT_CLIENT_GIB_TEAM Client Gib Team
EVT_CLIENT_GIB_SELF Client Gib Self
EVT_CLIENT_SUICIDE Client Suicide
EVT_CLIENT_KILL_TEAM Client Team Kill
EVT_CLIENT_DAMAGE Client Damage
EVT_CLIENT_DAMAGE_SELF Client Damage Self
EVT_CLIENT_DAMAGE_TEAM Client Team Damage
EVT_CLIENT_JOIN Fired by parsers when a player joins a team
EVT_CLIENT_NAME_CHANGE Fired by the Client class whenever the name attribute of a client changes. Parsers must update the name attribute of players whenever they can
EVT_CLIENT_TEAM_CHANGE Fired by the Client class whenever the team attribute of a client changes. Parsers must update the team attribute of players whenever they can. The team attribute value must be one of b3.TEAM_FREE, b3.TEAM_BLUE, b3.TEAM_RED, b3.TEAM_SPEC or b3.TEAM_UNKNOWN
EVT_CLIENT_ITEM_PICKUP Client Item Pickup
EVT_CLIENT_ACTION Client Action
EVT_CLIENT_KICK Fired by a parser to let plugins know it kicked a player
EVT_CLIENT_BAN Fired by a parser to let plugins know it banned player
EVT_CLIENT_BAN_TEMP Fired by a parser to let plugins know it temporary banned player
EVT_CLIENT_UNBAN Fired by a parser to let plugins know it unbanned player
EVT_GAME_ROUND_START Game Round Start
EVT_GAME_ROUND_END Game Round End
EVT_GAME_WARMUP Game Warmup
EVT_GAME_EXIT Game Exit


 
 
customize/parser/mapping_events.txt · Last modified: 2011/04/30 20:25 by courgette
ODT Export
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki