The command needs to be run based on team and the block below it (block is the same for both teams under it). This happens when the team is trying to get a section of land, when they get all of that one section, they get a boost. The sections are based on which block is under them. So the command would be something like this: /execute ~ ~ ~ detect ~ ~-2 ~ <block of section> 0 /setblock ~ ~-1 ~ <stained clay color of team>. This command makes it so that it detects which section they are in but doesn't detect which team they are on. I need a command, one command, that detects which team and section they are in and places a block showing that the team has claimed the block that they are above.
EDIT: I tried using 2 executes in the command: /execute @a[team=Defenders] ~ ~ ~ execute ~ ~ ~ detect ~ ~-2 ~ <section block> 0 <--- data value
Subreddit
Post Details
- Posted
- 9 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Minecraft/c...