[优化|管理|功能]ClearEntity —— 定时清理实体[1.6及以上]
-
本帖最后由 Bai_Coy 于 2017-8-22 17:42 编辑
ClearEntity
定时清理实体
插件作用:
可以自定义间隔多少时间清理某些实体,自定义清理公告通知消息和到了多少时间的3段提示,可查看世界里有哪些实体存在和具体数量。此插件主要作用在服务器内的所有实体都可以自行添加到定时清理任务中。比如:NPCmod的NPC抛射物、枪械mod发射出的子弹实体卡在边缘、辉夜姬的五难题mod大量的弹幕实体等......
插件配置:
# 清理实体的间隔时间(秒)
ClearEntitySecondTime: 360
# 是否开启清理时的公告通知
Broadcast: true
# 清理实体任务开始计时后以下是在多少秒后发出公告提示
BroadcastPromptSecondTime_0: 300
BroadcastPromptSecondTime_1: 320
BroadcastPromptSecondTime_2: 340
# 对应以上的提示内容
BroadcastPrompt_0: §6[§bClearEntity§6]§a无用实体将在 §e{remainingSecondTime}秒 §a后清除!
BroadcastPrompt_1: §6[§bClearEntity§6]§a无用实体将在 §e{remainingSecondTime}秒 §a后清除!
BroadcastPrompt_2: §6[§bClearEntity§6]§a无用实体将在 §e{remainingSecondTime}秒 §a后清除!
# 清理实体时公告通知内容
BroadcastClearEntityMessage: §6[§bClearEntity§6]§a哎哟,这次清理了 §d{entityAmount}个 §a无用实体,话说不能收敛点嘛!?
# 清理实体的列表(下面有例子,如何自行添加)
ClearEntityList: []
# 清理实体的列表自行添加例子:
# ClearEntityList:
# - DROPPED_ITEM (掉落物)
# - FIREBALL (火球)
# - SMALL_FIREBALL (小火球)
# - customnpcs.throwableitem (NPCmod的NPC抛射物)
# - FlansMod.Bullet (枪械mod的子弹实体)# 实体名注意大小写哦,实体名可以通过 /ce entity 查看实体名与数量指令:
/ce entity 查看实体数量
/ce clear 手动清理实体
/ce reload 重载插件配置权限:
permissions:
ce.*:
description: Clear entity.
default: op
children:
ce.help: true
ce.entity: true
ce.clear: true
ce.reload: true
ce.help:
description: Clear entity help.
default: false
ce.entity:
description: View entity amount.
default: false
ce.clear:
description: Manual clear entity.
default: false
ce.reload:
description: Reload the plugin configuration.
default: false效果图:


转帖证明:

**最重要的下载地址如下:不好意思不是我看我干嘛想要吗就在下面 你信吗密码: rwnn****链接:http://pan.baidu.com/s/1gfEKj1T**作者:原作者:小虎
The plug-in
-
3
-
武大伟
-
-
-
-
-
我的天,调皮阿婆主