MobEggDrops 是一个插件,允许怪物按照你在配置文件中指定的百分比掉落其生成蛋。该百分比可以在 0 到 100 之间任意设置,其中 0 表示永远不会掉落,100 表示总是掉落。遗憾的是,此插件不支持部分怪物(如凋灵和末影龙),因为它们没有对应的生成蛋。希望你能喜欢这个插件。
注意:仅支持 1.11 版本,这是由于 Bukkit API 中最近添加了 SpawnEggMeta。
源代码:
功能
- 允许绝大多数怪物掉落其生成蛋。
- 可配置的掉落概率百分比。
- 一个用于重新加载配置文件的命令。
- 一个列出所有概率的命令。
命令
我很快会添加更多命令并改用子命令结构,但目前单字命令已足够好用。
- /med - 重新加载插件的配置文件。
- /medreload - 重新加载插件配置文件的别名。
- /medchances - 列出每种怪物生成蛋的掉落概率。
权限
mobeggdrops.* - 授予某人所有 MobEggDrops 权限。
mobeggdrops.reload - 允许你执行 "/med" 或 "/medreload"。默认仅限操作员使用。
mobeggdrops.chances - 允许你使用 "/medchances" 命令。默认所有人可用。
mobeggdrops.drops - 如果在配置中将 "check-permission" 设置为 true,则启用玩家击杀的怪物掉落其生成蛋的功能。
待办事项
对插件有什么建议?请在这里或在我的 Github Issues 页面上告诉我,我会尽力满足你的需求。
- 使用子命令代替两个不同的命令。
- 允许在游戏中修改百分比。
- 使用分页列表等方式来显示概率。
MobEggDrops is a plugin that enables mobs to drop their spawn egg according to a percentage that you specify in the configuration. The percentages can be anywhere between 0 and 100, with 0 being the eggs will never drop and 100 being they will always drop. Unfortunately this plugin does not support some mobs such as the wither and the ender dragon as they do not have a spawn egg equivalent. I hope you enjoy the plugin.
Notice: Only supports 1.11 due to the recent addition of SpawnEggMeta in the Bukkit API.
Source code:
Features
- Allows mostly every mob to drop their egg.
- Configurable drop chance percentages.
- A configuration reload command.
- A command to list all chances
Commands
Soon I will have more commands and will switch to child commands, but for now one-word commands work just fine.
- /med - Reloads the plugin's configuration file.
- /medreload - An alias for reloading the plugin's configuration file.
- /medchances - Lists all chances of the spawn egg dropping for each mob.
Permissions
mobeggdrops.* - Gives someone every MobEggDrops permission.
mobeggdrops.reload - Allows you to do "/med" or "/medreload". Defaults to operators.
mobeggdrops.chances - Allows you to use the "/medchances" command. Defaults to everyone.
mobeggdrops.drops - Enables the mobs this player kills to drop their spawn egg if "check-permission" is set to true in the configuration.
To Do List
Have a suggestion for the plugin? Tell me here or on my Github issues page and I'll do my best to accommodate you.
- Use child commands instead of two different commands.
- Allow modifying of the percentages in-game.
- Use a paginated list of sorts to display the percentages.
评论 0
登录后参与评分
还没有评论,来抢沙发吧