大概就是 会大佬写一个出来
大概就是
限制一个物品ID 在某个世界只能放五个
超过五个会提示
大概就是
限制一个物品ID 在某个世界只能放五个
超过五个会提示

第一行写错了。。 第一次问。。
on place:
block is XXX
player is in world "世界名字"
add 1 to {totalcount}
if {totalcount} is greater than 5:
remove 1 from {totalcount}
cancel event
block is XXX
player is in world "世界名字"
add 1 to {totalcount}
if {totalcount} is greater than 5:
remove 1 from {totalcount}
cancel event
1345979462 发表于 2017-8-14 19:36
on place:
block is XXX
player is in world "世界名字"
提醒的话就可以 send "提醒" to player
2285190332 发表于 2017-8-14 20:12
能全服在旁边写个中文,让我理解一下么
不是全服是on place:
block is XXX
player is in world "世界名字"
add 1 to {totalcount}
if {totalcount} is greater than 5:
remove 1 from {totalcount}
cancel event
旁边
2285190332 发表于 2017-8-14 20:12
不是全服是on place:
block is XXX
player is in world "世界名字"
on place: #玩家放置方块
block is XXX #方块是XXX
player is in world "世界名字" #放置方块的玩家在XX世界
add 1 to {totalcount} #为 {totalcount} 这个变量+1
if {totalcount} is greater than 5: #如果 {totalcount} 这个变量大于5
remove 1 from {totalcount} # 从{totalcount}变量-1
cancel event #取消方块放置这个事件