cTeam


Index:
Articles
Classes
Hooks

Quick navigation:
BannerPattern
BossBarColor
BossBarDivisionType
cArrowEntity
cBeaconEntity
cBedEntity
cBlockArea
cBlockEntity
cBlockEntityWithItems
cBlockInfo
cBoat
cBoundingBox
cBrewingstandEntity
cChatColor
cChestEntity
cChunkDesc
cClientHandle
cColor
cCommandBlockEntity
cCompositeChat
cCraftingGrid
cCraftingRecipe
cCryptoHash
cCuboid
cDispenserEntity
cDropperEntity
cDropSpenserEntity
cEnchantments
cEnderCrystal
cEntity
cEntityEffect
cExpBottleEntity
cExpOrb
cFallingBlock
cFile
cFireChargeEntity
cFireworkEntity
cFloater
cFlowerPotEntity
cFurnaceEntity
cGhastFireballEntity
cHangingEntity
cHopperEntity
cIniFile
cInventory
cItem
cItemFrame
cItemGrid
cItems
cJson
cJukeboxEntity
cLeashKnot
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
cStringCompression
cTCPLink
cTeam
cThrownEggEntity
cThrownEnderPearlEntity
cThrownSnowballEntity
cTNTEntity
cUDPEndpoint
cUrlClient
cUrlParser
CustomStatistic
cUUID
cWebAdmin
cWindow
cWitherSkullEntity
cWorld
EffectID
HTTPFormData
HTTPRequest
HTTPTemplateRequest
ItemCategory
lxp
SmokeDirection
sqlite3
StatisticsManager
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 by APIDump on 2024-11-15 00:45:52, Build ID 68, Commit c0f6c97dcea08feb7d5cd1deefc0f6f76eb2cdbd