Vol. 1 为什么你的服务器无人问津
<h4>违禁物</h4>
<pre><code>tag @r add 检测
//随机给一位玩家添加标签
clear @a[tag=检测]tnt -1 0
//清除标签玩家0个tnt
*tag @a[tag=检测]add 封禁
//若清除成功 标记封禁
tag @a remove 检测
//清除玩家标签</code></pre>
<h4>范围冒险</h4>
<pre><code>gamerule adventure @a[x=坐标,y=坐标,z=坐标,r=范围]
//球形范围冒险
gamerule adventure @a[x=坐标,y=坐标,z=坐标,dx=距离,dy=距离,dz=距离]
//方形范围冒险</code></pre>
<h4>禁用副手</h4>
<pre><code>replaceitem entity @a slot.weapon.offhand 0 air
//替换玩家副手为空气</code></pre>
<h4>备注</h4>
<p>>- 该项目过于久远,仅供参考
>- 您可使用hasitem选择器避免不必要的遍历</p>