Skip to main content

Get 25% OFF on your first order with BisectHosting using code "DAQEM"!

Team

The arc:team condition type checks if a player is on a specific scoreboard team.

Parameters

ParameterTypeRequiredDefaultDescription
teamstringRequired-The team name to check.

Example

The following example gives players on the "blue" team a blue wool when they break a block.

data/my_datapack/arc/blue_team_reward.json
{
"holder": {
"type": "arc:player",
"id": "arc:player"
},
"type": "arc:on_break_block",
"conditions": [
{
"type": "arc:team",
"team": "blue"
}
],
"rewards": [
{
"type": "arc:item",
"item": { "id": "minecraft:blue_wool" }
}
]
}

Compatible Action Types