This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz ePlayerJoinEvent: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Tulcod (talk | contribs)
New page: {{BZFS_API_Doc}} {{BZFS_API_Events}} ==Overview== The '''bz_ePlayerJoinEvent''' is an API event that is called each time a player joins the game. ==Data== '''bz_ePlayerJoinEvent''' retur...
 
No edit summary
Line 65: Line 65:


==Uses==
==Uses==
This data can be used to make a database of users, for example if you have a special statistics system.
This event is a notification only event, none of the data returned can be changed.


[[Category:BZFS_API_Docs]]
[[Category:BZFS_API_Docs]]
[[Category:BZFS_API_Events]]
[[Category:BZFS_API_Events]]

Revision as of 21:54, 27 November 2007

BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.

BZFS Event. This page documents a BZFS event that is called by the game server to notify plug-ins of various actions and state changes in the game world.


Overview

The bz_ePlayerJoinEvent is an API event that is called each time a player joins the game.

Data

bz_ePlayerJoinEvent returns the bz_PlayerJoinPartEventData data class. int playerID; bz_eTeamType team;

bzApiString callsign; bzApiString email; bool verified; bzApiString globalUser; bzApiString ipAddress; bzApiString reason;

double time;

name type value desription
eventType bz_eEventType bz_eFlagDroppedEvent
playerID int The player that dropped the flag
team bz_eTeamType The team the new player is a member of
callsign bzApiString Callsign of the player
email bzApiString Email string of the player
verified bool This flag is true if a player has identified as a registered user.
globalUser bzApiString Registered username of the player
ipAddress bzApiString IP address of the player
reason bzApiString Not used for join events
time double Time of join

Uses

This event is a notification only event, none of the data returned can be changed.