GenerousMobs v1.3
轻量级插件,使怪物掉落经济货币及更多物品!
该插件允许所有被击杀的怪物掉落可配置数量的货币。每种怪物都有独立的配置,可以设置最小和最大掉落值,以及是作为奖励还是罚款。此外,还可以为怪物添加自定义物品掉落。插件还支持针对每种怪物的权限控制、本地化等功能。
使用方法
只需将 GenerousMobs.jar 文件放入你的 /plugins 目录,然后启动或重载服务器即可。你可以在服务器运行时修改配置文件,并使用重载命令来刷新更改。
当前功能
- 怪物掉落经济货币
- 可配置的掉落数量
- 可设置为奖励、罚款或不给予任何内容
- 支持设置最小和最大掉落金额
- 掉落金额将在设定的数值之间随机选择
- 怪物掉落自定义物品
- 自定义物品掉落支持深度编辑,包括显示名称、描述文本、附魔等
- 针对每种怪物的权限控制
- 本地化支持
- 可选择禁止由刷怪笼生成的怪物掉落货币
- 重载命令
- 重置命令
计划中的功能
插件展示视频
由于 DevBukkit 页面编码限制,无法嵌入视频。你可以在此处查看视频。该视频由 LeProDude 制作,感谢!
依赖项
此插件需要 Vault 以及一个支持 Vault 的经济插件。
配置片段示例
Pig: 0.5#5#gain
Cat: 5#50#loss
IronGolem: 0#0#gain
- Pig/Cat/IronGolem 是怪物的名称。
- 0.5/5/0 是该怪物掉落的最小金额。
- 5/50/0 是该怪物掉落的最大金额。
- gain/loss 表示玩家是被奖励还是被罚款。
其他配置选项:
- SpawnerRewards.Enabled - 是否允许玩家在击败来自刷怪笼的怪物时获得货币。
- PreventKillIfBroke.Enabled - 如果玩家无法承担罚款,是否禁止其击杀怪物。
本地化设置相当直观。你可以使用所有聊天格式代码。使用 %amount% 显示奖励/罚款金额,使用 %name% 显示下方设置的怪物名称。
CustomDrops(自定义掉落)部分同样一目了然。模板格式为 id;data;amount;enchantments;name;lore;dye=chance,你只需将其替换为具体数值。例如:397;0;1;DURABILITY:10;&6Skeleton_Skull;&dThe_power_of_the_Skeleton,Amazing;null=10,这将掉落 1 个骷髅头颅(id 397,损伤值 0),带有耐久度 X 附魔,名称为金色字体的“Skeleton Skull”,描述文本为粉色字体的“The power of the Skeleton”和“Amazing”,掉落几率为 10%。id、data 和 amount 是必需的,但如果不需要其他选项,可以将它们替换为 null。例如 276;0;1;null;null;null;null=100 将以 100% 的几率掉落一把钻石剑。颜色选项采用 RGB 格式,例如 50,255,50 代表绿色。所有附魔列表可在此处找到 这里。
默认配置文件可在此处查看 这里。
命令与权限
在“Default”(默认)列中,OP 表示所有拥有 OP 权限的玩家自动获得该权限,TRUE 表示所有玩家默认获得该权限,FALSE 表示默认情况下没有任何玩家获得该权限。
权限节点 |
描述 |
默认 |
| GenerousMobs.Mob.* |
继承所有 GenerousMobs.Mob.<MobName> 权限。 |
TRUE |
| GenerousMobs.Mob.<MobName> |
从特定怪物处拾取货币。怪物列表可在此处查看 这里。 |
N/A |
| GenerousMobs.Reload |
访问 /GMobs reload 命令 - 重载配置文件。 |
OP |
| GenerousMobs.Reset |
访问 /GMobs reset 命令 - 重置配置文件。 |
OP |
更新日志
点击此处查看更新日志。
统计信息

支持开发
如果你觉得这个插件有用,请通过捐赠来支持其开发。
目前的捐赠情况:
GenerousMobs v1.3
Lightweight plugin so mobs drop economy money and more!
This plugin makes it so all mobs can drop a configurable amount of money when killed. All mobs have a separate configuration which allows a minimum and maximum value to be entered, as well as whether or not it's a reward or fine. On top of that it's possible to add custom item drops to mobs. There's also per-mob permissions, localization and more.
Usage
Simply place the GenerousMobs.jar file into your /plugins directory and start/reload your server. You can make changes to the configuration file while the server is online and use the reload command to refresh the changes.
Current Features
- Mobs drop economy money
- Configurable drop amounts
- Rewards, fines, or nothing can be given
- Minimum and maximum drop amounts
- Drop amounts will be randomly chosen between those the values
- Mobs drop custom items
- Custom item drops allow for in-depth editing including display name, lore, enchantments and more
- Per-mob permissions
- Localization
- Option to stop mobs spawned by monster spawners from dropping money
- Reload command
- Reset command
Planned Features
- Kill-streaks
- Suggest below
Plugin Spotlight
Due to DevBukkit's page encoding constraints it is not possible to embed a video. You can check the video out here. The video was made by LeProDude, thanks!
Dependencies
This plugin requires Vault and a Vault supported Economy plugin.
Configuration Snippet
Pig: 0.5#5#gain
Cat: 5#50#loss
IronGolem: 0#0#gain
- Pig/Cat/IronGolem is the name of the mob.
- 0.5/5/0 is the minimum amount the mob will drop.
- 5/50/0 is the maximum amount of the mob will drop.
- gain/loss is whether or not the player should be rewarded or fined.
Other configuration options:
- SpawnerRewards.Enabled - Whether or not players should receive money for defeating mobs that came from monster spawners.
- PreventKillIfBroke.Enabled - Whether or not players should not be able to kill a mob if they can't afford the fine.
The localization settings are pretty self-explanatory. You can use all chat formatting codes. Use %amount% to show the reward/fine and %name% to show the mob name set below.
The CustomDrops section is again, rather self-explanatory. The template is id;data;amount;enchantments;name;lore;dye=chance and you just replace it with the values. An example would be 397;0;1;DURABILITY:10;&6Skeleton_Skull;&dThe_power_of_the_Skeleton,Amazing;null=10 which drops a Skeleton Skull (id 397, damage value 0) of amount 1, with the enchantment Unbreaking X, the name Skeleton Skull in gold font, and the lore The power of the Skeleton and Amazing in pink font, with a chance of 10% to drop. The id, data and amount is necessary, but the rest can be replaced with null if you do not want to have those options. For example 276;0;1;null;null;null;null=100 would drop a diamond sword 100% of the time. The colour option is in RGB, so for example 50,255,50 would be green. All enchantments can be found here.
The default configuration can be found here.
Commands & Permissions
In the column 'Default,' OP means all opped players get the permission, TRUE means everyone gets the permission, and FALSE means no one gets the permission, by default.
Permission Node |
Description |
Default |
| GenerousMobs.Mob.* |
Inherits all GenerousMobs.Mob.<MobName> permissions. |
TRUE |
| GenerousMobs.Mob.<MobName> |
Loot money from the specific mob. A list of mobs is available here. |
N/A |
| GenerousMobs.Reload |
Access to /GMobs reload - Reloads the configuration file. |
OP |
| GenerousMobs.Reset |
Access to /GMobs reset - Resets the configuration file. |
OP |
Change Log
Click here for the change log.
Statistics

Support the Development
If you find this plugin useful then please support the development of it by donating.
Donations so far:
评论 0
登录后参与评分
还没有评论,来抢沙发吧