frostbite.commands – Frostbite Server Command Structures

class frostbite.commands.AdminEventsEnabled(**kwargs)

Asks the server to begin sending events.

class frostbite.commands.AdminKickPlayer(**kwargs)

Ask the server to kick a player.

class frostbite.commands.AdminKillPlayer(**kwargs)

Asks the server to kill a player.

class frostbite.commands.AdminListPlayers(**kwargs)

List current players.

class frostbite.commands.AdminMovePlayer(**kwargs)

Asks the server to move a player.

class frostbite.commands.AdminSay(**kwargs)

Write a message to the in game chat.

class frostbite.commands.BanListAdd(**kwargs)

Asks the server to add someone to the ban list.

class frostbite.commands.BanListClear(**kwargs)

Asks the server to clear the banlist.

class frostbite.commands.BanListList(**kwargs)

Asks the server for the ban list.

class frostbite.commands.BanListLoad(**kwargs)

Asks the server to load the ban list from disk.

class frostbite.commands.BanListRemove(**kwargs)

Asks the server to remove someone from the ban list.

class frostbite.commands.BanListSave(**kwargs)

Asks the server to save the ban list from disk.

class frostbite.commands.FrostbiteMessage

Base class for a Frostbite message structure.

toPacket(seq)

Returns a packet structure that encapsulates the message.

Parameters:seq – Sequence number for the packet.
Returns:frostbite.packet
class frostbite.commands.GameAdminAdd(**kwargs)

Add a player to the admin list.

class frostbite.commands.GameAdminList(**kwargs)

Asks the server to list the known admins.

class frostbite.commands.GameAdminLoad(**kwargs)

Asks the server to load the admin list from disk.

class frostbite.commands.GameAdminRemove(**kwargs)

Asks th server to remove a player from the admin list.

class frostbite.commands.GameAdminSave(**kwargs)

Asks the server to save the admin list to disk.

class frostbite.commands.LoginHashed(**kwargs)

Begins or ends a hashed login sequence.

class frostbite.commands.Logout(**kwargs)

Logout from the server’s RCon

class frostbite.commands.MapListAdd(**kwargs)

Asks the server to add a map to the map list.

class frostbite.commands.MapListClear(**kwargs)

Asks the server to clear the map list.

class frostbite.commands.MapListEndRound(**kwargs)

Asks the server to end the current round immediately.

class frostbite.commands.MapListGetMapIndices(**kwargs)

Asks the server for the current and next map indices

class frostbite.commands.MapListList(**kwargs)

Asks the server to list the map list.

class frostbite.commands.MapListLoad(**kwargs)

Asks the server to load the map list from disk.

class frostbite.commands.MapListRemove(**kwargs)

Asks the server to delete a map from the map list.

class frostbite.commands.MapListRestartRound(**kwargs)

Asks the server to restart the round immediately.

class frostbite.commands.MapListRunNextRound(**kwargs)

Asks the server to run the next round immediately.

class frostbite.commands.MapListSave(**kwargs)

Asks the server to save the map list to disk.

class frostbite.commands.MapListSetNextMapIndex(**kwargs)

Asks the server to set the next map to the specified index in the map list.

class frostbite.commands.PlayerOnAuthenticated(**kwargs)

Event raised when a player authenticates to the server.

class frostbite.commands.PlayerOnChat(**kwargs)

Event raised when a player or the server sends a message.

class frostbite.commands.PlayerOnJoin(**kwargs)

Event raised when a player joins the server.

class frostbite.commands.PlayerOnKill(**kwargs)

Event raised when a player is killed.

class frostbite.commands.PlayerOnLeave(**kwargs)

Event raised when a player leaves the server.

class frostbite.commands.PlayerOnSpawn(**kwargs)

Event raised when a player spawns.

class frostbite.commands.PlayerOnSquadChange(**kwargs)

Event raised when a player changes squads.

class frostbite.commands.PlayerOnTeamChange(**kwargs)

Event raised when a player changes teams.

class frostbite.commands.PunkBusterActivate(**kwargs)

Asks the server to activate punkbuster.

class frostbite.commands.PunkBusterIsActive(**kwargs)

Asks the server if punkbuster is active.

class frostbite.commands.PunkBusterOnMessage(**kwargs)

Event raised when PunkBuster emits a message.

class frostbite.commands.PunkBusterPb_sv_command(**kwargs)

Asks the server to relay a command to punkbuster.

class frostbite.commands.Quit(**kwargs)

Quit from the server.

class frostbite.commands.ReservedSlotsListAdd(**kwargs)

Asks the server to add someone to the reserved slots list.

class frostbite.commands.ReservedSlotsListClear(**kwargs)

Clears the reserved slotslist.

class frostbite.commands.ReservedSlotsListList(**kwargs)

Asks the server to list the reserved slots.

class frostbite.commands.ReservedSlotsListLoad(**kwargs)

Asks the server to load the reserved slots list from disk.

class frostbite.commands.ReservedSlotsListRemove(**kwargs)

Asks the server to remove someone from the reserved slots list.

class frostbite.commands.ReservedSlotsListSave(**kwargs)

Asks the server to save the reserved slots list to disk.

class frostbite.commands.ResponsePacket(response_code, *words)

Frostbite message that describes a response to another message.

Parameters:
  • response_code – String response code for the message
  • words – Response words for the message
class frostbite.commands.ServerInfo(**kwargs)

Asks for basic info from the server.

class frostbite.commands.ServerOnLevelLoaded(**kwargs)

Event raised when the server loads a new level.

class frostbite.commands.ServerOnRoundOver(**kwargs)

Event raised when the server ends a round.

class frostbite.commands.ServerOnRoundOverPlayers(**kwargs)

Event raised when the server ends a round, containing player info.

class frostbite.commands.ServerOnRoundOverTeamScores(**kwargs)

Event raised when the server ends a round, containing team scores.

class frostbite.commands.Version(**kwargs)

Asks for the server’s version.

Previous topic

frostbite.packet – frostbite packet serialization / deserialization

Next topic

frostbite.serverstructs – Frostbite Server Information Structures

This Page