cTeam


Index:
Articles
Classes
Hooks

Quick navigation:
cArrowEntity
cBeaconEntity
cBlockArea
cBlockEntity
cBlockEntityWithItems
cBlockInfo
cBoundingBox
cBrewingstandEntity
cChatColor
cChestEntity
cChunkDesc
cClientHandle
cCommandBlockEntity
cCompositeChat
cCraftingGrid
cCraftingRecipe
cCryptoHash
cCuboid
cDispenserEntity
cDropperEntity
cDropSpenserEntity
cEnchantments
cEntity
cEntityEffect
cExpBottleEntity
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 string Adds a player to this team. Returns true if the operation was successful.
AllowsFriendlyFire bool Returns whether team friendly fire is allowed.
CanSeeFriendlyInvisible bool 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 string Returns whether the specified player is a member of this team.
RemovePlayer string 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 bool Set whether players can see invisible teammates.
SetDisplayName string Sets the display name of this team. (i.e. what will be shown to the players)
SetFriendlyFire bool Sets whether team friendly fire is allowed.
SetPrefix string Sets the prefix prepended to the names of the members of this team.
SetSuffix string Sets the suffix appended to the names of the members of this team.
Generated on 2016-08-22 23:53:06, Build ID Unknown, Commit approx: 2ed4af74edd14ae17e1c6c64d44caa7b7fc30d5a