bz eGameResumeEvent

From BZFlagWiki
Revision as of 02:39, 12 February 2014 by Allejo (Talk | contribs) (Created page for resume event)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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.


bz_eGamePauseEvent and bz_eGameResumeEvent are API events triggered when a game (i.e., a time- or score-limited match) pauses or resumes, respectively.


Both bz_eGamePauseEvent and bz_eGameResumeEvent return the bz_GamePauseResumeEventData_V1 data class.

name type value description
eventType bz_eEventType bz_eGamePauseEvent or bz_eGameResumeEvent
actionBy bz_ApiString The callsign of the player who triggered the event. By default, it's "SERVER."
eventTime double The server time the event occurred (in seconds.)