opsdyu
高版本有什么办法 2个玩家或者多个玩家 距离超过指定一名或者多名玩家的一定范围 而触发指令 传送到指定的玩家
我尝试写了个execute的指令
execute at @a if entity 玩家 at @a[dx=50,team=!2] run tp ~ ~ ~

意思是 检测指定玩家 50格内 没有队伍2的话触发 tp
但是没用。。。。
求大佬帮忙

LxAs
本帖最后由 Light² 于 2020-12-10 08:14 编辑

/execute as 指定玩家 at @s unless entity @a[distance=..50,team=2] run tp ~ ~ ~

opsdyu
Light² 发表于 2020-12-10 08:05
/execute as 指定玩家 at @s unless entity @a[distance=..50,team=2] run tp ~ ~ ~

可以用了! 但是当走远了 服务器的命令方块就不触发了 有没有什么办法可以服务器不受限制 一直触发命令方块

下一页 最后一页