AFKbox - 为挂机玩家建造一个箱子:
最新版本:v1.2
首先,稍微介绍一下背景。我运营着一个(非常)小的服务器,供家人和朋友使用,我们彼此之间经常互相恶作剧。其中最常见的一种恶作剧就是我们所谓的“AFK 箱子”:每当有人走开(或不再关注屏幕)时,我们会迅速跑过去,用手边的东西在他们周围建一个箱子。
所以,当我决定尝试制作一个插件时,当然它必须实现这个功能!:p
我们对结果非常满意,因此我决定分享它。
它实际上并不会检测某人是否离开并自动将其关进箱子里。相反,需要有人使用 /afkbox [-t] target material 命令。
这将通过在目标玩家周围的空气中替换为提供的材料来构建一个 3x3x4 的箱子。它不会修改现有地形,以防止损坏附近的结构。
如果使用 -t 标志,它还会在玩家的脚下放置一支火把,以提供少量光线(如果可能)。
它与权限系统兼容,并提供三个节点:
afkbox.basic:仅允许使用泥土、玻璃和海晶灯制作箱子
afkbox.most:允许使用除黑曜石、基岩、水、岩浆、火和 TNT 之外的所有材料制作箱子
afkbox.all:允许使用所有材料制作箱子。
如果你没有通过其他插件设置这些节点,默认情况下会赋予所有人 afkbox.basic,并赋予 OPs(管理员)afkbox.most。
请小心使用此插件。已知它在用于移动中的玩家(尤其是站在楼梯或梯子上的玩家)时效果不佳,可能导致他们被困在箱子墙壁/天花板内。因此,对处于载具中的玩家使用此功能将完全无效。尽管如此,我们在对真正挂机的玩家使用时从未遇到过问题。
特性:
- 为玩家建造一个箱子,无论他们是否真的挂机。
- 使用 superperms 限制玩家可以使用哪些材料。
- 不会破坏周围的结构:仅替换空气
AFKbox - Build a box around idle players:
Latest version: v1.2
First, a bit of backstory. I run a (very) small server for family and friends,
and we have been known to mess with each other an awful lot. Among the most
common pranks was what we called an "AFK box":
whenever someone walked away (or quit paying attention) we would quickly
run over there and build a box around them with whatever we had on hand.
So when I decided I wanted to try making a plugin, of COURSE that was what it had to do! :p
We have been quite happy with the result, so I decided I would share it.
It doesn't actually detect when someone is away and box them automatically. Instead,
somebody has to use /afkbox [-t] target material
This will build a 3x3x4 box around the target player by replacing the air around them
with the material provided. it will NOT modify existing terrain, to prevent
damage to nearby structures.
If you use the -t flag, it even puts a torch at
their feet to give them a little light, if possible.
It is permission compatible, and provides three nodes:
afkbox.basic: only allows making boxes out of dirt,glass, and sponge
afkbox.most: allows making boxes out of everything EXCEPT for obsidian, bedrock, water, lava, fire, and TNT
afkbox.all: allows making boxes out of everything.
If you do not set these nodes with another plugin, it defaults to give
everyone afkbox.basic, and give OPs afkbox.most.
Please do be careful with this. It has been known to play poorly when
used on mobile players, especially those on stairs or ladders, and cause
them to get stuck inside the wall/ceiling of their box. For this reason,
using it on players in a vehicle won't work at all. This having been said,
we have had no problems with using on on people who are actually idle.
Features:
- Makes a box around a player who may or may not actually be idle.
- Uses superperms to limit what materials a player can do this with.
- Does not damage surrounding structures: only replaces air
评论 0
登录后参与评分
还没有评论,来抢沙发吧