cTeam


Index:
Articles
Classes
Hooks

Quick navigation:
cArrowEntity
cBeaconEntity
cBlockArea
cBlockEntity
cBlockEntityWithItems
cBlockInfo
cBoat
cBoundingBox
cBrewingstandEntity
cChatColor
cChestEntity
cChunkDesc
cClientHandle
cCommandBlockEntity
cCompositeChat
cCraftingGrid
cCraftingRecipe
cCryptoHash
cCuboid
cDispenserEntity
cDropperEntity
cDropSpenserEntity
cEnchantments
cEntity
cEntityEffect
cExpBottleEntity
cExpOrb
cFallingBlock
cFile
cFireChargeEntity
cFireworkEntity
cFloater
cFlowerPotEntity
cFurnaceEntity
cGhastFireballEntity
cHangingEntity
cHopperEntity
cIniFile
cInventory
cItem
cItemFrame
cItemGrid
cItems
cJson
cJukeboxEntity
cLineBlockTracer
cLuaWindow
cMap
cMapManager
cMobHeadEntity
cMobSpawnerEntity
cMojangAPI
cMonster
cNetwork
cNoteEntity
cObjective
cPainting
cPawn
cPickup
cPlayer
cPlugin
cPluginLua
cPluginManager
cProjectileEntity
cRankManager
cRoot
cScoreboard
cServer
cServerHandle
cSignEntity
cSplashPotionEntity
cStatManager
cStringCompression
cTCPLink
cTeam
cThrownEggEntity
cThrownEnderPearlEntity
cThrownSnowballEntity
cTNTEntity
cTracer
cUDPEndpoint
cUrlClient
cUrlParser
cWebAdmin
cWindow
cWitherSkullEntity
cWorld
HTTPFormData
HTTPRequest
HTTPTemplateRequest
ItemCategory
lxp
sqlite3
TakeDamageInfo
tolua
Vector3d
Vector3f
Vector3i
Globals

Contents


cTeam class

This class manages a single player team.


Functions

NameParametersReturn valueNotes
AddPlayer
PlayerNamestring
boolean
Adds a player to this team. Returns true if the operation was successful.
AllowsFriendlyFire
boolean
Returns whether team friendly fire is allowed.
CanSeeFriendlyInvisible
boolean
Returns whether players can see invisible teammates.
GetDisplayName
string
Returns the display name of the team.
GetName
string
Returns the internal name of the team.
GetNumPlayers
number
Returns the number of registered players.
GetPrefix
string
Returns the prefix prepended to the names of the members of this team.
GetSuffix
string
Returns the suffix appended to the names of the members of this team.
HasPlayer
PlayerNamestring
boolean
Returns whether the specified player is a member of this team.
RemovePlayer
PlayerNamestring
boolean
Removes the player with the specified name from this team. Returns true if the operation was successful.
Reset Removes all players from this team.
SetCanSeeFriendlyInvisible
CanSeeFriendlyInvisibleboolean
Set whether players can see invisible teammates.
SetDisplayName
DisplayNamestring
Sets the display name of this team. (i.e. what will be shown to the players)
SetFriendlyFire
AllowFriendlyFireboolean
Sets whether team friendly fire is allowed.
SetPrefix
Prefixstring
Sets the prefix prepended to the names of the members of this team.
SetSuffix
Suffixstring
Sets the suffix appended to the names of the members of this team.
Generated on 2017-06-26 01:00:07, Build ID Unknown, Commit approx: bd025e2bdbaf86425b1d692ffc4aa87c3c086cc7