你是否曾希望,能够拆解那些无用的机器,并将它们的组件用于其他更有用的物品?如果是这样,那么这个插件就是为你准备的!只需制作一个 Salvager 并对任意已放置的机器右键点击,它便会神奇地消失并掉落制作该机器所需的原材料。
必须安装 CS-CoreLib 和 Slimefun 才能使此插件正常运行!
示例配置
options:
auto-update: true // 如果你希望插件自动更新,请启用此项。
items:
ENHANCED_FURNACE: true // 如果你不希望此物品可被拆解回收,请禁用此项。
CARBONADO_EDGED_CAPACITOR: true
SOLAR_GENERATOR: true
SOLAR_GENERATOR_2: true
SOLAR_GENERATOR_3: true
SOLAR_GENERATOR_4: true
CHARGING_BENCH: true
ELECTRIC_FURNACE: true
权限设置
本插件使用非常简单的权限系统。例如,假设你希望某玩家能够拆解 Solar Generator,请在其权限节点(或权限组)中添加 salvage.SOLAR_GENERATOR。如果你希望所有玩家都能拆解所有机器,只需赋予他们 salvage.* 权限即可。
自动更新器与指标统计
我所有的插件都使用了自动更新器,以确保你始终使用的是最新版本,并且希望能尽可能减少 Bug。如果你不希望此插件自动更新,可以在配置文件的 “options -> auto-update: true/false” 中将其关闭。
此外,它们还使用了一个 Metrics 系统,收集以下信息:
- 唯一标识符
- 服务器的 Java 版本
- 服务器处于离线模式还是在线模式
- 插件的版本
- 服务器的版本
- 操作系统版本/名称及架构
- CPU 的核心数
- 在线玩家数量
- Metrics 版本
- 可以通过编辑 plugins/Plugin Metrics/config.yml 并将 opt-out 更改为 true 来退出此服务。
灵感来源:Jabberwockie666
Did you ever wish, that you could deconstruct your useless machines and put those components in something useful? If you do, then this plugin is for you! Simple craft a Salvager and Right-Click it on any placed machine, it will magically disappear and drop the ingredients used to make it.
CS-CoreLib and Slimefun must be installed for this plugin to work!
Example Config
options:
auto-update: true //Enable this if you want the plugin to be auto-updated.
items:
ENHANCED_FURNACE: true //Disable this if you do not want this item to be salvageable.
CARBONADO_EDGED_CAPACITOR: true
SOLAR_GENERATOR: true
SOLAR_GENERATOR_2: true
SOLAR_GENERATOR_3: true
SOLAR_GENERATOR_4: true
CHARGING_BENCH: true
ELECTRIC_FURNACE: true
Permissions
This plugin uses a very simple permission system. For example, say you want a player to be able to salvage a Solar Generator. Put in his permission node (or group) salvage.SOLAR_GENERATOR. If you want your players to be able to be able to salvage all the machines, simply put salvage.*
Auto-Updater and Metrics
All my Plugins are using an Auto-Updater to make sure, you're always
using the latest and hopefully the most bug-free version of my Plugin.
If you don't want this Plugin to be auto-updated, you can turn it off
in the config file at "options -> auto-update: true/false"
They also use a Metrics-System which collects the following Information:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- Opting out of this service can be done by editing
plugins/Plugin Metrics/config.yml and changing opt-out to true.
Credits for the idea go to Jabberwockie666
评论 0
登录后参与评分
还没有评论,来抢沙发吧