Module Bzflag
In: bzRuby.cpp

Methods

Classes and Modules

Class Bzflag::AllowPlayerEventData
Class Bzflag::AllowSpawnData
Class Bzflag::BanEventData
Class Bzflag::CTFCaptureEventData
Class Bzflag::ChatEventData
Class Bzflag::EventData
Class Bzflag::FlagDroppedEvenData
Class Bzflag::FlagGrabbedEventData
Class Bzflag::GameStartEndEventData
Class Bzflag::GenerateWorldEventData
Class Bzflag::GetAutoTeamEventData
Class Bzflag::GetPlayerInfoEventData
Class Bzflag::GetPlayerSpawnPosEventData
Class Bzflag::HostBanEventData
Class Bzflag::KickEventData
Class Bzflag::KillEventData
Class Bzflag::ListServerUpdateEvent
Class Bzflag::Player
Class Bzflag::PlayerDieEventData
Class Bzflag::PlayerJoinPartEventData
Class Bzflag::PlayerPausedEventData
Class Bzflag::PlayerSpawnEventData
Class Bzflag::Plugin
Class Bzflag::ServerMsgEventData
Class Bzflag::ShotEndedEventData
Class Bzflag::ShotFiredEventData
Class Bzflag::SlashCommandEventData
Class Bzflag::TickEventData
Class Bzflag::UnknownSlashCommandEventData

Constants

BZ_eNullEvent = INT2FIX(bz_eNullEvent)
BZ_eCaptureEvent = INT2FIX(bz_eCaptureEvent)
BZ_ePlayerDieEvent = INT2FIX(bz_ePlayerDieEvent)
BZ_ePlayerSpawnEvent = INT2FIX(bz_ePlayerSpawnEvent)
BZ_eZoneEntryEvent = INT2FIX(bz_ePlayerSpawnEvent)
BZ_eZoneExitEvent = INT2FIX(bz_eZoneExitEvent)
BZ_ePlayerJoinEvent = INT2FIX(bz_ePlayerJoinEvent)
BZ_ePlayerPartEvent = INT2FIX(bz_ePlayerPartEvent)
BZ_eChatMessageEvent = INT2FIX(bz_eChatMessageEvent)
BZ_eUnknownSlashCommand = INT2FIX(bz_eUnknownSlashCommand)
BZ_eGetPlayerSpawnPosEvent = INT2FIX(bz_eGetPlayerSpawnPosEvent)
BZ_eGetAutoTeamEvent = INT2FIX(bz_eGetAutoTeamEvent)
BZ_eAllowPlayer = INT2FIX(bz_eAllowPlayer)
BZ_eTickEvent = INT2FIX(bz_eTickEvent)
BZ_eGetWorldEvent = INT2FIX(bz_eGetWorldEvent)
BZ_eGetPlayerInfoEvent = INT2FIX(bz_eGetPlayerInfoEvent)
BZ_eAllowSpawn = INT2FIX(bz_eAllowSpawn)
BZ_eListServerUpdateEvent = INT2FIX(bz_eListServerUpdateEvent)
BZ_eBanEvent = INT2FIX(bz_eBanEvent)
BZ_eHostBanEvent = INT2FIX(bz_eHostBanEvent)
BZ_eKickEvent = INT2FIX(bz_eKickEvent)
BZ_eKillEvent = INT2FIX(bz_eKillEvent)
BZ_ePlayerPausedEvent = INT2FIX(bz_ePlayerPausedEvent)
BZ_eMessagFilteredEvent = INT2FIX(bz_eMessageFilteredEvent)
BZ_eGameStartEvent = INT2FIX(bz_eGameStartEvent)
BZ_eGameEndEvent = INT2FIX(bz_eGameEndEvent)
BZ_eSlashCommandEvent = INT2FIX(bz_eSlashCommandEvent)
BZ_ePlayerAuthEvent = INT2FIX(bz_ePlayerAuthEvent)
BZ_eServerMsgEvent = INT2FIX(bz_eServerMsgEvent)
BZ_eShotFiredEvent = INT2FIX(bz_eShotFiredEvent)
BZ_ePlayerUpdateEvent = INT2FIX(bz_ePlayerUpdateEvent)
BZ_eNetDataSendEvent = INT2FIX(bz_eNetDataSendEvent)
BZ_eNetDataReceveEvent = INT2FIX(bz_eNetDataReceveEvent)
BZ_eLogingEvent = INT2FIX(bz_eLogingEvent)
BZ_eShotEndedEvent = INT2FIX(bz_eShotEndedEvent)
BZ_eFlagTransferredEvent = INT2FIX(bz_eFlagTransferredEvent)
BZ_eFlagGrabbedEvent = INT2FIX(bz_eFlagGrabbedEvent)
BZ_eFlagDroppedEvent = INT2FIX(bz_eFlagDroppedEvent)
BZ_SERVER = INT2FIX(BZ_SERVER)
BZ_ALLUSERS = INT2FIX(BZ_ALLUSERS)
BZ_NULLUSER = INT2FIX(BZ_NULLUSER)
NoTeam = INT2FIX(eNoTeam)
RogueTeam = INT2FIX(eRogueTeam)
RedTeam = INT2FIX(eRedTeam)
GreenTeam = INT2FIX(eGreenTeam)
BlueTeam = INT2FIX(eBlueTeam)
PurpleTeam = INT2FIX(ePurpleTeam)
RabbitTeam = INT2FIX(eRabbitTeam)
HunterTeam = INT2FIX(eHunterTeam)
Observers = INT2FIX(eObservers)
Administrators = INT2FIX(eAdministrators)

Public Class methods

This method prints a message at the given debug level.

This method returns the currently set debug level value.

This method returns an array which contains all groups.

This method returns an array which contains all perms of a given group.

This method returns the flagtype the given player is holding.

Returns an array which contains all the player ids that are known to the server.

This method returns the amount of jitter a given player has.

This method returns the amount of lag a given player has.

This method returns the amount of packetloss a given player has.

This method returns an array of strings who contain the reports submitted by players.

This method returns the player limit of the given team.

This method returns the currently set timelimit.

This method grants the player the given permission and returns true on success, false on failure.

This method adds the specified permission to the specified group. On success it return true, on failure it returns false.

Returns true if the player has the permission, if not it returns false.

This method bans the user with the give player id on ip basis. The ban duration time and reason can be specified. On success it returns true , on failure it returns false.

This method unbans the specified ipaddress. On success it returns true , on failure it returns false.

This method returns true when there is a countdown active, false when not active.

This method returns true when there is a countdown in progress, false when not progress.

This method returns true if a player is paused , false when not paused.

This method returns true when -timemanual is set, false when not set.

This method kicks the user with the give player id. On success it returns true , on failure it returns false.

This method revokes the given permission from the player and returns true on success, false on failure.

Sends a text message to the specified user. BZ_SERVER should be used for messages from the server. If the message is sent to BZ_ALL_USERS it will send the message to all connected users. Likewise if it is set to BZ_ADMIN_CHANNEL it will be sent to all users with the ADMINMESSAGERECEIVE permission.

This method gives the given player id operator status. On success it returns true on failure it returns false.

This method sets the given timelimit. On success it returns true on failure it returns false.

[Validate]