这是一个非常简单的插件,它允许你通过击杀生物来获取 Slimefun 物品!
必须安装 CS-CoreLib 和 Slimefun 才能使此插件正常工作!
示例配置
options:
auto-update: true //如果你希望插件自动更新,请启用此项
dropchance: 15 //这是生物掉落 Slimefun 物品的概率(百分比)
enabledEntities: //这些是可以掉落 Slimefun 物品的生物
CREEPER: true
SKELETON: true
SPIDER: true
GIANT: true
ZOMBIE: true
SLIME: true
GHAST: true
PIG_ZOMBIE: true
ENDERMAN: true
CAVE_SPIDER: true
SILVERFISH: true
BLAZE: true
MAGMA_CUBE: true
WITHER: true
BAT: true
WITCH: true
ENDERMITE: true
GUARDIAN: true
PIG: true
SHEEP: true
COW: true
CHICKEN: true
SQUID: true
WOLF: true
MUSHROOM_COW: true
SNOWMAN: true
OCELOT: true
IRON_GOLEM: true
HORSE: true
RABBIT: true
VILLAGER: true
items: //此节点包含所有 Slimefun 物品,也包括附加模组中的物品。默认情况下所有物品均已启用。
EXAMPLE_ITEM: true //如果你不希望该物品掉落于列表中,请将其设置为 false。
命令与权限
- batchset <true|false> - 此命令允许你将“items”节点下的所有物品设置为 false。如果你想从禁用所有物品开始并逐步启用某些物品,这将很有用。权限:slimemobs.batchset
使用方法
- 将插件复制到 plugins 文件夹中。
- 启动服务器,然后停止它。
- 打开 SlimeMobs 文件夹内的 config.yml 文件。
- 调整你想要的任何设置。强烈建议执行此操作
- 保存并启动服务器。
- 享受乐趣!
请注意,只有当生物不是幼体时才会掉落物品,且掉落的物品将是击杀者已解锁的物品。
自动更新与指标
我所有的插件都使用自动更新功能,以确保你始终使用的是最新版本,并且 hopefully 是最少 bug 的版本。
如果你不希望此插件自动更新,可以在配置文件中的 "options -> auto-update: true/false" 处关闭它。
它们还使用一个指标系统来收集以下信息:
- 唯一标识符
- 服务器的 Java 版本
- 服务器处于离线模式还是在线模式
- 插件版本
- 服务器版本
- 操作系统版本/名称及架构
- CPU 核心数
- 在线玩家数量
- 指标系统版本
- 可以通过编辑 plugins/Plugin Metrics/config.yml 并将 opt-out 更改为 true 来退出此服务。
This is a quite simple plugin, it allows you to get slimefun items, by killing mobs!
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 get auto updated
dropchance: 15 //This is the chance for a mob to drop a slimefun item in percentage
enabledEntities: //These are the mobs which can drop slimefun items
CREEPER: true
SKELETON: true
SPIDER: true
GIANT: true
ZOMBIE: true
SLIME: true
GHAST: true
PIG_ZOMBIE: true
ENDERMAN: true
CAVE_SPIDER: true
SILVERFISH: true
BLAZE: true
MAGMA_CUBE: true
WITHER: true
BAT: true
WITCH: true
ENDERMITE: true
GUARDIAN: true
PIG: true
SHEEP: true
COW: true
CHICKEN: true
SQUID: true
WOLF: true
MUSHROOM_COW: true
SNOWMAN: true
OCELOT: true
IRON_GOLEM: true
HORSE: true
RABBIT: true
VILLAGER: true
items: //This node contains ALL of the slimefun items, this includes addon items as well. All of the items are enabled by default.
EXAMPLE_ITEM: true //Set this to false if you do NOT want this item to be included in the drops.
Commands & Permissions
- batchset <true|false> - This command allows you to set ALL of the items under the "items" node to false, it can be useful if you want to start with all the items disabled and slowly enable some. Permission: slimemobs.batchset
Usage
- Copy the plugin into the plugins folder.
- Start the server and then stop it.
- Open the config.yml file inside SlimeMobs.
- Tweak any settings you want to.THIS IS RECOMMENDED TO DO
- Save & Start the server.
- Have fun!
Please note that the mobs will drop items if that mob is not a baby, and the dropped item will be an item that the killer has unlocked.
Auto-Updater and Metrics
All my Plugins are using an Auto-Updater to make sure, you're always
using the latest and hopefully 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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧