• 周年纪念勋章活动已圆满结束,如有已购买但仍未申请的用户,可以通过对应勋章的下载链接申请~
RandomDrop-随机掉落(重构)

原创 LSE RandomDrop-随机掉落(重构) 3.0.1

Plugin Introduction:
"In the original version, due to the requirements of players, the server is mostly set to not drop, but not dropping leads to less challenging and lose a large part of the fun.
This plug-in is a good solution to this problem, the plug-in for the drop of a variety of configurations, selective drop of the player's items, experience, to provide a variety of options for service owners
"

This plug-in needs to open the death does not fall to run, the plug-in will automatically open in the opening of the service, if the failure please open yourself



=====Version update introduction=====
3.0.0 重构了插件,推翻重写
1.移除了自动更新
2.修复了配置开关冲突的问题,将各个选项独立处理
3.更新修复经验掉落,现在经验也会正常掉落且可捡起
4.白名单物品添加特殊值比对,-1为不比对特殊值
5.新增每格物品的概率,需满足后才会掉落
6.新增末影箱死亡掉落(由于过于奇怪,默认为关)
7.修复跨世界掉落失败问题,加入掉落重试(固定重试3次)
8.不再使用abcd作为变量(没想到有人会反馈这个问题)
9.修复了一个由死循环导致的崩服卡夫bug


2.4 新增自动更新

2.3 新增内容:

1.主手掉落开关,概率,掉落百分比,掉落物品数量百分比
2.快捷栏掉落开关,概率,掉落百分比,掉落物品数量百分比
3.当物品拥有死亡不掉落nbt时将不掉落
4.配置文件新增白名单物品,物品数量对掉落百分比有影响


2.2 支持自定义内容:
1.经验掉落开关,概率,掉落百分比
2.副手掉落开关,概率,掉落百分比
3.盔甲掉落开关,概率,掉落百分比
4.背包掉落开关,概率,总体掉落百分比,掉落物品数量百分比



Details tips:
1.The plug-in needs to be turned on to run without dropping, the plug-in will automatically open when the service is opened, if it fails, please open it yourself
2.plug-in operation theoretically may consume higher computing resources, please use your own discretion
3.replaced the configuration folder, the old data can no longer be used in 3.0, please reconfigure
4.Each configuration is independent, for example, when the shortcut bar drops will not deal with the conflict of the main hand part
5.Experience drop generates an experience bottle with dropped experience, which is restored to experience when picked up




插件配置:
配置文件位于 [服务器根]\plugins\RTplugins\RandomDrop\config.json
{
"Drop_Setting": {
"armor": {
"enable": true, [COLOR=rgb(0, 0, 0)]// Armor Drop Switch[/COLOR]
"probability": "100%", //Overall drop probability
"percentage": "100%", //Overall item drop percentage
"item_probability":"100%" //Drop probability of items per cell
},
"offHand": {
"enable": true, //副手掉落开关
"probability": "100%", //物品掉落概率
"percentage": "100%" //物品掉落百分比
},
"Hand": {
"enable": true, //主手掉落开关
"probability": "100%", //物品掉落概率
"percentage": "100%" //物品掉落百分比
},
"quickBar": {
"enable": true, //快捷栏掉落开关(减去主手)
"probability": "100%", //总体掉落概率
"percentage": "100%", //总体物品掉落百分比
"item_probability":"100%", //每格物品的掉落概率
"item_percentage": "100%" //每格物品掉落的百分比
},
"Bag": {
"enable": true, //背包掉落开关(减去快捷栏)
"probability": "100%", //总体掉落概率
"percentage": "100%", //总体物品掉落百分比
"item_probability":"100%", //每格物品的掉落概率
"item_percentage": "100%" //每格物品掉落的百分比
},
"enderChest": {
"enable": true, //末影箱掉落开关(默认关)
"probability": "100%", //总体掉落概率
"percentage": "100%", //总体物品掉落百分比
"item_probability":"100%", //每格物品的掉落概率
"item_percentage": "100%" //每格物品掉落的百分比
},
"experience": {
"enable": true, //经验掉落开关(默认关)
"probability": "100%", //掉落概率
"percentage": "100%" //掉落的百分比
}
},
"notDrop_Item": [ //Whitelisted items
{
"type": "minecraft:dirt", //类型:泥土
"aux": -1 //特殊值:-1 -1表示匹配全部特殊值
},
{
"type": "minecraft:diamond",
"aux": 0
}
]
}



Running order:
Player death->judge overall probability->drop according to overall percentage ->judge single cell item probability->drop according to configuration percentage




Function contentCompletion Progress
Master Hand DropFinish
Deputy DropFinish
Shortcut bar drops (excluding the main hand)Finish
Backpack drops (excluding shortcut bar)Finish
Armor bar dropsFinish
Ender Box DropFinish
Experience dropsFinish
No drop of whitelisted itemsFinish
No drop with death does not drop NBT itemsFinish

If you have any questions/wonderful ideas in the process, please contact us.

Question Feedback:

You can leave your feedback in the comments section

Don't forget to rate the plug-in if you like it!
后退
顶部 底部