- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
ClearLagg
外文名 | ClearLagg |
插件类型 | Spigot / CraftBukkit |
最新版本 | v2.7.7 |
兼容服务端 | CraftBukkit 1.7.9-R0.2 |
源地址 | http://dev.bukkit.org/bukkit-plugins/ClearLagg |
概况
本插件适用各种类型的服务器, 它的作用即是移除所有实体来避免/减少延迟. 当然,本插件并不能修复所有延迟问题,但它能完成其中大部分修复工作.如果你在运行一个 20+ 玩家的服务器,使用 /lagg clear 命令会显著地减少 RAM 占用, 这取决于你服务器面临的的延迟类型是什么.
- 支持权限管理
- 实体限制
- 减少延迟
- 减少RAM占用
- 可以停止TNT的连锁反应
- 简单的指令控制
- 非常轻量级的插件
- 可以通过控制台自动运行
- 当服务器已经清理延迟后,插件会调整时间来适应
- configurable removal
命令与权限
命令
功能
权限
/lagg clear (清理物品) lagg.clear
/lagg check (计算物品数) lagg.check
/lagg reload (重载插件) lagg.reload
/lagg killmobs (杀死生物) lagg.killmobs
/lagg area <半径> (清除指定半径的物品) lagg.area
/lagg unloadchunks (卸载不需要的区块) lagg.unloadchunks
/lagg chunk (找到可能的延迟区块) lagg.chunk
/lagg tpchunk <x> <z> <世界名> (传送去区块) lagg.tpchunk
/lagg (显示帮助) lagg.help
拓展
SaveDeathDrops (Blocks removal of items dropped from death) 下载:http://dev.bukkit.org/bukkit-plugins/clearlag-savedeathdrops/
配置文件(新)
下面的配置文件是ClearLag(g)v2.9.3版本及以下一定数目的版本配置文件(2016年8月26日更新)
Config单独文件翻译下载地址:https://pan.baidu.com/s/1bp3JxPt
Config |
---|
#--------------------------------------------------------------------#
settings: auto-update: true config-version: 9 disable-waterlife: true keep-spawn-in-memory: true enable-api: true
ram-meter: enabled: false interval: 20 ram-limit: 5000 commands: - 'lagg killmobs' - 'lagg clear' - 'lagg gc'
player-speed-limiter: enabled: false chunk-to-chunk-time: 600 limit-only-fly: false
mob-breeding-limiter: enabled: false max-mobs: 6 check-radius: 15
log-purger: enabled: false days-old: 3
area-filter: - Itemframe - Minecart - Wolf - Villager - Horse - ARMOR_STAND
config-updater: force-update: false
mobegg-limiter: enabled: false check-radius: 8 max-mobs: 5
chunk-limiter: enabled: false limit: 6000 create-new-chunks: true
mob-range: enabled: false zombie: 30 skeleton: 30 creeper: 20
live-time: enabled: false interval: 10 mobtimer: true itemtimer: true arrowtimer: true arrowkilltime: 15 moblivetime: 600 itemlivetime: 240
tnt-minecart: enabled: false max: 2 radius: 6
dispenser-reducer: enabled: false time: 100
tnt-reducer: enabled: false
firespread-reducer: enabled: false time: 2000
chunk-entity-limiter: enabled: false limit: 10 entities: - Squid - Zombie - Skeleton - Creeper - Chicken - Pig - Sheep - Cow - Horse # - Pig liveTime=100 这个指令的意思是一只猪只允许存活100tick(5秒)
spawn-limiter: enabled: false interval: 15 mobs: 300 animals: 300
tps-meter: enabled: false trigger-broadcast-message: '&6[ClearLag] &cThe server is overloaded, executing lag-perventing measures' recover-broadcast-message: '&6[ClearLag] &aThe server is no longer overloaded!' broadcast-enabled: false interval: 15 tps-trigger: 14.0 tps-recover: 19.0 commands: - 'lagg killmobs' - 'lagg clear' - 'lagg halt' recover-commands: - 'lagg halt'
kill-mobs: remove-named: false mob-filter: - Villager - Wolf
- ARMOR_STAND - Horse
mobspawner: enabled: false max-spawn: 4 remove-mobs-on-chunk-unload: true
item-merger: enabled: false radius: 6
auto-removal: enabled: true broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!' broadcast-removal: true autoremoval-interval: 460 world-filter: # - this_world 这个语句的意思是this_world将会被忽视 boat: true falling-block: true experience-orb: true painting: false projectile: true item: true itemframe: false minecart: true primed-tnt: true item-filter: # - 264 # - 444 这个语句的意思是ID为444的物品将会被忽视 remove-entities: # - cow 这个语句的意思是这种实体将会被清理 # - MINECART_MOB_SPAWNER # - Pig liveTime=100 这个语句的意思是当猪存活了100tick时,就会被清理 # - Minecart !isMounted 这个语句的意思是如果矿车没有被使用,就会被清理 # - Wolf !hasName 这个语句的意思是如果狼没有名字,就会被清理 warnings: - 'time:400 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!' - 'time:440 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!'
command-remove: world-filter: # - this_world 这个语句的意思是this_world将会被忽视 broadcast-removal: false boat: true falling-block: true experience-orb: true painting: false projectile: true item: true itemframe: false minecart: true primed-tnt: true item-filter: # - 222 这个语句的意思是ID为222的物品将会被忽视 # - 265 remove-entities: # - cow 这个语句的意思是牛将会被清理 # - MINECART_MOB_SPAWNER # - Pig liveTime=100 这个语句的意思是当猪存活了100tick时,就会被清理 # - Minecart !isMounted 这个语句的意思是如果矿车没有被使用,就会被清理 # - Wolf !hasName 这个语句的意思是如果狼没有名字,就会被清理 limit: enabled: false max: 1000 check-interval: 60 broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!' world-filter: # - this_world 这个语句的意思是this_world将会被忽视 broadcast-removal: true boat: true falling-block: true experience-orb: true painting: false projectile: true item: true itemframe: false minecart: true primed-tnt: true item-filter: # - 264 # - 232 这个语句的意思是ID为232的物品将会被忽视 |
配置文件(旧)
config文件在哪里呢? 路径☞plugins\ClearLag\config.yml
Config |
---|
settings:
auto-update: true #是否自动更新插件. enable-signs: true #是否允许通过木牌使用这个插件 config-version: 1 #配置版本,请勿修改 disable-waterlife: true #鱿鱼是否可以生成 keep-spawn-in-memory: true #出生地区块是否一直加载(极度推荐!不然掉下虚空都有可能。) enable-api:true #是否允许别的插件使用API area-filter: #什么样的实体不会被移除 - Itemframe - Painting - Wolf - Villager - Horse
config-updater: force-update: false #设置此项为false将不会重设你的配置,但可能会造成bugs出现.. 本功能仍在测试中!
mobegg-limiter: enabled: false check-radius:8 max-mobs: 5
chunk-limiter: enabled: false limit: 6000 create-new-chunks: true
mob-range: enabled: true zombie: 5 skeleton: 30 creeper: 20
live-time: enabled: false interval: 10 mobtimer: true itemtimer: true arrowtimer: true arrowkilltime:15 moblivetime:600 itemlivetime:240
custom-mobspawner: enabled: false
max-tries: 50
interval: 30
radius: 30
radius-from: 7
mob-radius:1010
forcespawn:false
lightlevel: 4
armor-chance:30 mobs: #数字越,几率越高。不输默认为1?(只在普通/主世界!) - zombie 5 - skeleton 3 - creeper - enderman animals: #数字越高几率越高(只在普通/主世界!) - pig 4 - sheep 1 - cow 6 - chicken 2
tnt-minecart: enabled: false max: 2 radius: 6
dispenser-reducer: enabled: false time: 100
tnt: tnt-reducer:false
firespread-reducer: enabled: false time: 2000
chunk-entity-limiter: enabled: true limit: 3 spawn-limiter: enabled: false interval: 15 monsters: 300 animals: 300
tps-meter: enabled: false interval: 15 tps-trigger:14.0 commands: - 'lagg killmobs' - 'lagg clear'
kill-mobs: disable-build-wither: false mob-filter: - Villager - Wolf - Horse
mobspawner: enabled: false max-spawn: 4
item-merger: enabled: false radius: 6
auto-removal: broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!' broadcast-warning: true enable-scheduler: true autoremoval-interval: 234 warnings: #You can have thousands of warnings! Put the time they should be executed, and the message (FOLLOW FORMAT!!) - time:2 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds! - time:4 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds! - time:6 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!
remove: world-filter:
- this_world broadcast-removal: true boat: true falling-block: true experienceOrb:true painting: true projectile:true item: true itemframe:false minecart:true #What items SHOULD be removed during clearing~ primed-tnt:true arrow: true snowball: true fireball: true ender-signal:true item-filter: #What items should NOT be removed during clearing~ - 264 mobs: #实行清除时不去清除的
command-remove: world-filter: - this_world broadcast-removal: false boat: true falling-block: true experienceOrb:true painting: true projectile:true item: true itemframe:false minecart: true primed-tnt:true arrow: true snowball: true fireball: true ender-signal:true item-filter:
mobs:
check: world-filter: - this_world boat: true falling-block: true experienceOrb:true painting: true projectile:true item: true itemframe:false minecart: true primed-tnt:true arrow: true snowball: true fireball: true ender-signal:true item-filter:
mobs: creature:true animals:true monster:true limit: enable-limit:false max: 1000 check-interval: 60 broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!' world-filter: - this_world broadcast-removal: true boat: true falling-block: true experienceOrb:true painting: true projectile:true item: true itemframe:false minecart: true primed-tnt:true arrow: true snowball: true fireball: true ender-signal:true item-filter:
|