- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
ClearLagg
外文名 | ClearLagg |
插件类型 | Spigot / CraftBukkit |
最新版本 | v2.7.2 |
兼容服务端 | 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/
配置文件
config文件在哪里呢? 路径☞plugins\ClearLag\config.yml 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出现.. 本功能仍在测试中!
- 此项用于限制刷怪蛋,因此玩家将无法利用刷怪蛋使服务器过载
- -- 'check-radius' ,插件检测附近实体时,检测的半径范围
- -- 'max-mobs' ,停止生成怪物时,一定加载半径范围内(加载区块中以玩家为中心的加载范围)实体的最大数量
mobegg-limiter:
enabled: false check-radius:8 max-mobs: 5
- 停用形成新区块,或是限制一次加载时区块的最大加载数量
- -- 本功能不适用于 1.6.4!
chunk-limiter:
enabled: false limit: 6000 create-new-chunks: true
- -Deprecated-
- This modifies not only the view of the mobs, but will also simplify how they spawn
- -- Lower it is, the better your entity tick will be
- -- If it's too high, expect bugs / lots of lag
mob-range:
enabled: true zombie: 5 skeleton: 30 creeper: 20
- 物品/怪物在地面的保存时间
- -- 单位为秒(s)
live-time:
enabled: false interval: 10 mobtimer: true itemtimer: true arrowtimer: true
arrowkilltime:15
moblivetime:600 itemlivetime:240
- 允许clearlag控制所有世界的生成? (支持所有插件!)
- -- This will also respect cancelations, unlike minecraft's native code
custom-mobspawner:
enabled: false
- clearlag寻找安全地点生成怪物时的最大尝试次数
max-tries: 50
- (单位-s) clearlag尝试生成怪物的间隔时间?
interval: 30
- 生成怪物时,以玩家为中心的半径大小范围
radius: 30
- 距离玩家的半径范围 (单位-方块数!)
radius-from: 7
- How far should mobs spawn from eachother (NOT in blocks!!) (1,010 = around 10-20 blocks)
mob-radius:1010
- Should we keep trying to spawn a mob if a clear location isn't found
forcespawn:false
- 4 = nighttime, what light level should mobs spawn in
lightlevel: 4
- Chance mobs will have armor/sword, 1 being diamond every time
armor-chance:30 mobs: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!) - zombie 5 - skeleton 3 - creeper - enderman animals: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!) - pig 4 - sheep 1 - cow 6 - chicken 2
- This option disallows the placement of too many tnt-minecarts
tnt-minecart:
enabled: false max: 2 radius: 6
- This option reduces global dispenser rate
dispenser-reducer:
enabled: false time: 100
- This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
tnt:
tnt-reducer:false
- This option reduces fire spread rate
firespread-reducer:
enabled: false time: 2000
- How many entities should one chunk be allowed to hold?
chunk-entity-limiter:
enabled: true limit: 3
spawn-limiter:
enabled: false interval: 15 monsters: 300 animals: 300
- Meters your TPS, if it goes to low, run the commands you wrote below!
tps-meter:
enabled: false interval: 15 tps-trigger:14.0 commands: - 'lagg
killmobs'
- 'lagg
clear'
- 使用/lagg killmobs时,略过的生物列表
kill-mobs:
disable-build-wither:
false mob-filter:
- Villager - Wolf - Horse
- This takes care of mob spawners
mobspawner:
enabled: false max-spawn: 4
- No longer bugged! -- Dont use if you have CB++ or Spigot!
item-merger:
enabled: false radius: 6
- Auto-removal options
- -- warnings works like this; time = the time warning should be given, msg = warning message at that time
- -- NOTE: The below 'remove' section applies to this remover!
- -- NOTE: Putting the interval to low will cause issues!
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!
- What should be removed during an auto-removal
remove:
world-filter:
- What worlds should NOT be iterated through during clearing~
- 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: #What mobs should NOT be removed during clearing~
- - cow
- What should be removed during /lagg clear
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:
- - 264
- - 265
- - 311
- - 312
- - 266
mobs:
- - cow
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:
- - 264
- - 265
- - 311
- - 312
- - 266
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:
- - 264
- - 265
- - 311
- - 312
- - 266