• MineBBS 第一期星光推广计划开始了!丰富的金粒奖励,还有现金大奖噢~【点我去看看】
ClearingMobs-扫地酱-自定义定时清理掉落物和生物(2.1版本)

LL ClearingMobs-扫地酱-自定义定时清理掉落物和生物(2.1版本) 2.1.0

Source of resources
Authorized reprinted
Copyright link
#
Language
Chinese(Simplified)
Supported version
  1. 1.17
插件由本人定制并分享,原作者:轻语
---------------------------------------------------------------------------------------------------------------------
这是一个可以自定义定时清理服务器生物和掉落物的插件;
1.0版本功能:自由设置生物及掉落物的清理时间和文字消息、自由编写清理生物的种类、修改配置文件后游戏内热重载(无需关服,在线reload)、强制清理生物及掉落物。
---------------------------------------------------------------------------------------------------------------------
2.1版本新增功能:

适配1.17.40,修复有的时候会数量判断不准,导致重复清理的bug

---------------------------------------------------------------------------------------------------------------------
2.0版本新增加功能:

①可自由设定生物数量和掉落物数量,当服务器的生物数量或者掉落物数量超过设定值时,就会提前触发生物和掉落物清理。(默认是生物超过300或者掉落物超过300就执行一次清理倒计时。)(注意:这里的生物数量计算,只计算配置文件中设定的生物,比如僵尸、骷髅、苦力怕、守卫者等生物过多时才会触发自动清理。村民,猪牛羊等不需要清理的生物,不在生物数量计算范围内。)

②定期切换一次晴天,避免下雨时粒子过多,造成服务器卡顿。(默认是600秒切换一次晴天,可自由在配置文件中更改时间。)
---------------------------------------------------------------------------------------------------------------------
安装方法:下载解压后,把ClearingMobs.dll文件和ClearingMobs文件夹整个扔进plugins内,开服即可
配置文件:*\plugins\ClearingMobs\ClearingMobs.json
---------------------------------------------------------------------------------------------------------------------
[CODE lang="json" title="ClearingMobs.json"]{
"Timeout":480,
"isClearItem":true,
"isClearAllMob":false,
"ItemClearNum":300,
"MobClearNum":300,
"WeatherTimeout":600,
"MobList":[
"minecraft:enderman",
"minecraft:spider",
"minecraft:cave_spider",
"minecraft:zombie_pigmon",
"minecraft:blaze",
"minecraft:spider",
"minecraft:creeper",
"minecraft:drowned",
"minecraft:ender_guardian",
"minecraft:evocation_fang",
"minecraft:evocation_illager",
"minecraft:ghast",
"minecraft:guardian",
"minecraft:hoglin",
"minecraft:husk",
"minecraft:magma_cube",
"minecraft:pillager",
"minecraft:ravager",
"minecraft:skeleton",
"minecraft:slime",
"minecraft:stray",
"minecraft:vex",
"minecraft:vindicator",
"minecraft:witch",
"minecraft:wither_skeleton",
"minecraft:zoglin",
"minecraft:zombie"
],
"Sweep":{
"20":"§l§d[扫地酱]§a离§b清理掉落物§a和§b生物§a还有§e20§a秒哦!",
"10":"§l§d[扫地酱]§a离§b清理掉落物§a和§b生物§a还有§e10§a秒哦!",
"5":"§l§d[扫地酱]§e5!",
"4":"§l§d[扫地酱]§e4!",
"3":"§l§d[扫地酱]§e3!",
"2":"§l§d[扫地酱]§e2!",
"1":"§l§d[扫地酱]§e1!"
},
"Text":{
"ClearSuccess":"§l§d[扫地酱]§c掉落物与生物§6全部清理完成啦!",
"KillMobFirst":"§l§d[扫地酱]§c强制清理掉落物与生物§6即将开始!",
"KillMobEnd":"§l§d[扫地酱]§c强制清理掉落物与生物§6完成啦!",
"ConfigReloadSuccess":"§l§d[扫地酱]§a配置文件重载成功!",
"ConfigReloadFail":"§l§d[扫地酱]§c配置文件重载失败!",
"ItemClearFirst":"§l§d[扫地酱]§c掉落物到达上限,§6准备清理!",
"MobClearFirst":"§l§d[扫地酱]§c生物到达上限,§6准备清理!"
}
}[/CODE]
---------------------------------------------------------------------------------------------------------------------
PS:游戏内输入/clearmob reload 更新配置文件;输入/clearmob all 强制清理生物及掉落物。
---------------------------------------------------------------------------------------------------------------------
广而告之:
聊天交流的可以加,我的世界聊天群545070633
Author
Arnol
Price
150金粒
Downloads
125
Views
3,383
First release
Last update
Rating
4.33 star(s) 3 ratings

More resources from Arnol

Share this resource

Latest updates

  1. ClearingMobs-扫地酱-自定义定时清理掉落物和生物(2.1版本) 2.1.0

    2.1版本新增功能: 适配1.17.40,修复有的时候会数量判断不准,导致重复清理的bug

Latest reviews

有bug1.18用不了
Arnol
Arnol
是,这个是找别人写的,只能1.17用,等过一阵我自己写一个
请适配一下1.18.2,很好用,谢谢
Nice plugin!