我们知道有一个类似的插件,但这个插件非常简单。它允许用户在打破玻璃时获得可拾取的物品,而不是仅仅破碎消失,并且只需将其拖放到插件文件夹即可安装。虽然此插件没有命令,但它非常强大,能够实现其预期功能。
权限
glassdrops.block - 如果用户拥有此权限,则允许服务器掉落玻璃方块物品
glassdrops.thin - 如果用户拥有此权限,则允许服务器掉落玻璃板物品
glassdrops.toggle.thin - 允许用户使用 /gd thin 命令
glassdrops.toggle.block - 允许用户使用 /gd block 命令
glassdrops.notify - 允许用户查看掉落状态的变化通知
glassdrops.check - 允许用户使用 /gd check 命令
glassdrops.reload - 允许用户使用 /gd reload 命令
命令
/gd - 单独使用时,应显示帮助信息
/gd check - 显示方块和玻璃板的掉落状态。你可以使用 "c"、"status" 或 "s" 来代替 "check"。
/gd thin - 切换玻璃板掉落开关,你可以使用 "p"、"pane" 或 "t" 来代替 "thin"
/gd block - 切换玻璃方块掉落开关,你可以使用 "b" 来代替 "block"
两个切换命令都是全局生效的,而非针对单个玩家。
/gd reload - 重新加载配置文件,以便你手动编辑 config.yml。(完全重启服务器可能会用旧的配置覆盖该文件)。你可以使用 "r" 来代替 "reload"
当前任务
无,目前所有问题均已修复!(如有任何问题请报告)
更新日志
修复了消息通知逻辑,仅在用户登录时通知,而不是每次打破玻璃方块和玻璃板时都通知。 - v1.1
添加了 worldguard 兼容性 - v1.1
帖子链接:
安装方法:
只需将下载的文件直接拖放到服务器的 plugins 文件夹中。注意:对于通过 FTP 访问的外部托管服务器,情况可能有所不同,因为它可能不允许访问 plugins 文件夹,或者具有浏览器机制。
已知错误:
当用户未添加到权限列表中时,他们仍然可以打破玻璃并获得掉落物。 - v1.2
即使显示“你没有权限”的消息,玻璃方块仍然会掉落物品 - v1.2(感谢 luficer 报告)
此插件的功能:
此插件强制玻璃方块在被破坏时掉落玻璃方块物品,同样地,玻璃板被破坏时会掉落玻璃板物品,而不是玻璃方块物品。这些物品可以再次放置,作为静态玻璃方块或已放置的玻璃方块使用。当再次被破坏时,会产生相应的对应掉落物。
我们认为的使用者:
我们认为服务器主机最有可能在收到几次关于玻璃没有掉落物的投诉后,或在看到此插件并想要使用它的人,或者是托管小型私有服务器的人会使用它。
我们的意图:
我们旨在解决玻璃被破坏后不留下掉落物的问题。(我们已完成此项工作)
我们的项目是一个库吗:
不是!
We know there is a plugin similar to this but this plugin is VERY simple. It allows the user to Break glass and get a pickup rather than it just breaking and is a simple drag and drop into the plugins folder. While there are no commands for this plugin it is still very powerful and does what it intends to do.
Permissions
glassdrops.block - Allows the server to drop glass block drops if a user has this perm
glassdrops.thin - Allows the server to drop thin glass drops if a user has this perm
glassdrops.toggle.thin - Allows the user to use /gd thin
glassdrops.toggle.block - Allows the user to use /gd block
glassdrops.notify - Allows the user to see when the drop status changes
glassdrops.check - Allows the user to use /gd check
glassdrops.reload - Allows the user to use /gd reload
Commands
/gd - By itself, it should show the help
/gd check - Shows the drop status for blocks and panes. You can use "c", "status", or "s" instead of "check".
/gd thin - toggles thin glass drops, you can use "p", "pane", or "t" instead of "thin"
/gd block - toggles glass block drops, you can use "b" instead of "block"
Both of the toggle commands toggle drops globally, not per-player.
/gd reload - Reloads the config in case you want to edit the config.yml manually. (A full server reload will overwrite the file with the old config most likely). You can use "r" instead of "reload"
Current Task
None all is fixed so far! (Please report any problems)
Change Log
Fixed message to only notify users at login rather than every broken block of glass and panes. - v1.1
worldguard compatibility - v1.1
Link to post:
How to install:
Just simply drag the download into the plugins folder on your server. NOTE: this may be different for servers that are hosted externally and are accessed via FTP as it may not allow access to the plugins folder and may have a web browser mechanic.
Know Bugs:
when user is not entered into permissions they can still break glass and get drops. - v1.2
Glass blocks still give drops even with "you don't have permission message" - v1.2 (Thanks to luficer for reporting)
What this plugin does:
This plugin forces glass blocks to drop glass block pickups when smashed it also does the same for glass panes but drops glass pane pickups rather than glass blocks. These can be placed again to act as a static glass block or placed glass block. When again broken the same corresponding drop will occur.
Who we think will use it:
We think that the server host will most likely use this after a few complaints about glass not having pickups or having seen this plugin and wanting it or someone hosting a small private server.
What we intend to do:
We intend to end the problem of glass not leaving pickups once broken. (which we have done)
Is our project a library:
No!
评论 0
登录后参与评分
还没有评论,来抢沙发吧