Deforestation
信息
Deforestation Craftbukkit 插件有一个简单而优雅的目的,并以极高的精度执行:允许玩家从地上一口气砍倒整棵树。与 Timber 模组类似,如果树的基部被破坏,此插件会导致整棵树被摧毁。也就是说,如果你破坏了树的底部方块,整棵树都会轰然倒塌!
设置
没有任何设置;整个插件是一个小巧简单的 jar 文件,不会占用超出必要的系统资源。它不支持也不使用任何类型的权限,也没有配置选项。如果另一个插件取消了初始的 blockBreakEvent,该插件会放弃执行。这样,玩家就无法像往常一样砍倒由其他插件正常保护的树木。
安装
Deforestation 插件无需初始设置。只需将其放入你的 Craftbukkit 服务器的 "Plugins" 文件夹中,然后启动服务器即可!在使用此插件时如果遇到任何错误或问题,请留下评论。
防止误判
如果你不希望 Deforestation 插件将你的木屋视为树木并在你破坏一个方块时将其全部摧毁,该插件遵循一个简单的规则来判断结构是否为树。如果一个原木方块正上方直接有树叶方块,那么它将认为该原木及其正下方的所有原木为树(当然有上限)。你可以自由查看源代码以自行发现确切的算法,或在下方留下评论,我可能会回答。简而言之:确保原木上方没有树叶。
未来计划
目前暂无。如果你有希望添加到此插件的功能,请在下方留下评论,我会考虑一下。
自定义
如果你希望插件符合服务器的确切需求(例如,你希望移除玩家破坏巨型丛林树的能力,或希望将其功能限制为仅管理员可用),请联系我,我们可以进行讨论。
Deforestation
Information
The Deforestation Craftbukkit plugin has one simple, elegant purpose which it executes with extreme accuracy: allow players to chop down entire trees from the ground. Similar to the Timber mod, this plugin will cause entire trees to be destroyed if it's base is destroyed. That means, if you break the bottom block(s) of the tree, the entire thing comes tumbling down!
Settings
There are no settings; the entire plugin is one, small, simple jar file that will NOT take up more system resources than necessary. It does not support nor use permissions of any type, and there are no configuration options. The plugin will yield if another plugin cancels the initial blockBreakEvent. This way, players cannot chop down trees normally protected by other plugins.
Setup
The Deforestation plugin requires no initial setup. Just place it inside your Craftbukkit server's "Plugins" folder and start 'er up! Please leave comments of any bugs or problems you encounter while using this plugin.
Protection from False-Positives
If you don't want the Deforestation plugin to think that your log cabin is a tree and destroy it all when you break one block, there is one simple rule that the plugin goes by to determine if a structure is a tree or not. If there is a leaf block directly on top of a log, then it will consider that log and any logs directly below it to be a tree (up to a limit, or course). Feel free to look through the source code to uncover the exact algorithm for yourself, or leave a comment down below, and I may answer. But short version: Make sure there are no leaves on top of logs.
Future Plans
None at the moment. If there is something you'd like added to this plugin, please leave a comment down below and I'll consider it.
Customization
If you would like the plugin suited to the exact needs of your server, (for example, you would like to remove the ability for the player to destroy giant jungle trees, or would like to limit it's functionality to OPs) please contact me and we can discuss it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧