文章目录
队伍指令
队伍
列出所有队伍指令:/scoreboard teams list
新建队伍指令:/scoreboard teams add team
队员列表指令:/scoreboard teams list team
删除队伍指令:/scoreboard teams remove team
添加队员指令:/scoreboard teams join team @a
移除队员指令:/scoreboard teams leave @a
- 距离最近的玩家 (@p)
- 随机玩家 (@r)
- 所有玩家 (@a)
- 所有实体 (@e)
- 执行当前命令的实体 (@s)
- 距离最远的玩家 (@p[c=-1])
清空队员指令:/scoreboard teams empty team
队伍属性
队伍颜色指令:/scoreboard teams option team color 颜色
队友伤害指令:/scoreboard teams option team friendlyfire true
隐身队友可见指令:/scoreboard teams option team seeFriendlyInvisibles true
- 允许/不允许:true/false
阵亡提示可见性指令:
永远显示指令:/scoreboard teams option team deathMessageVisibility always
永远隐藏指令:/scoreboard teams option team deathMessageVisibility never
队友可见指令:/scoreboard teams option team deathMessageVisibility hideForOtherTeams
队友隐藏指令:/scoreboard teams option team deathMessageVisibility hideForOwnTeam
碰撞规则指令:
始终会碰撞指令:/scoreboard teams option team collisionRule always
始终无碰撞指令:/scoreboard teams option team collisionRule never
只有对内无碰撞指令:/scoreboard teams option team collisionRule pushOtherTeams
只有对内会碰撞指令:/scoreboard teams option team collisionRule pushOwnTeam