• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“ClearLagg”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(初步修改)
1个标签mobile edit
(排版更新)
1个标签mobile edit
第61行: 第61行:
 
config文件在哪里呢? 路径☞plugins\ClearLag\config.yml
 
config文件在哪里呢? 路径☞plugins\ClearLag\config.yml
 
settings:
 
settings:
   auto-update:
+
   auto-update: true #是否自动更新插件.
true #是否自动更新插件.
+
   enable-signs: true #是否允许通过木牌使用这个插件
   enable-signs:
 
true #是否允许通过木牌使用这个插件
 
 
   config-version: 1 #配置版本,请勿修改
 
   config-version: 1 #配置版本,请勿修改
   disable-waterlife:
+
   disable-waterlife: true #鱿鱼是否可以生成
true #鱿鱼是否可以生成
 
 
   keep-spawn-in-memory: true #出生地区块是否一直加载(极度推荐!不然掉下虚空都有可能。)
 
   keep-spawn-in-memory: true #出生地区块是否一直加载(极度推荐!不然掉下虚空都有可能。)
   enable-api:
+
   enable-api:true #是否允许别的插件使用API
true #是否允许别的插件使用API
+
  area-filter: #什么样的实体不会被移除
area-filter: #什么样的实体不会被(不会!!!)移除在使用 /lagg area时?
 
 
     - Itemframe
 
     - Itemframe
 
     - Painting
 
     - Painting
     - Wolf    - Villager
+
     - Wolf    
 +
     - Villager
 
     - Horse
 
     - Horse
 
#Should clearlag reset the config (more stable), or attempt to add the new paths into your config?
 
#Should clearlag reset the config (more stable), or attempt to add the new paths into your config?
 
config-updater:
 
config-updater:
   force-update:
+
   force-update: false #Puting this as false wont reset your config, but may cause bugs.. Still in testing!
false #Puting this as false wont reset your config, but may cause bugs.. Still in testing!
 
 
#This limits the mob egg spawners so players cannot "overload" the server with them
 
#This limits the mob egg spawners so players cannot "overload" the server with them
 
# -- 'check-radius' stands for the radius clearlag will check for nearby entities
 
# -- 'check-radius' stands for the radius clearlag will check for nearby entities
第85行: 第81行:
 
mobegg-limiter:
 
mobegg-limiter:
 
   enabled: false
 
   enabled: false
   check-radius:
+
   check-radius:8
8
 
 
   max-mobs: 5
 
   max-mobs: 5
 
#Disable new chunk generation, or just put a cap on how many can load at once.
 
#Disable new chunk generation, or just put a cap on how many can load at once.
第108行: 第103行:
 
   interval: 10
 
   interval: 10
 
   mobtimer: true
 
   mobtimer: true
   itemtimer:
+
   itemtimer: true
true
+
   arrowtimer: true
   arrowtimer:
+
arrowkilltime:15
true
+
   moblivetime:600
arrowkilltime:
+
   itemlivetime:240
15
 
   moblivetime:
 
600
 
   itemlivetime:
 
240
 
 
#Let clearlag control the spawning in ALL worlds? (Supports all plugins!)
 
#Let clearlag control the spawning in ALL worlds? (Supports all plugins!)
 
# -- This will also respect cancelations, unlike minecraft's native code
 
# -- This will also respect cancelations, unlike minecraft's native code
第131行: 第121行:
 
   radius-from: 7
 
   radius-from: 7
 
#How far should mobs spawn from eachother (NOT in blocks!!) (1,010 = around 10-20 blocks)
 
#How far should mobs spawn from eachother (NOT in blocks!!) (1,010 = around 10-20 blocks)
   mob-radius:
+
   mob-radius:1010
1010
 
 
#Should we keep trying to spawn a mob if a clear location isn't found
 
#Should we keep trying to spawn a mob if a clear location isn't found
   forcespawn:
+
   forcespawn:false
false
 
 
#4 = nighttime, what light level should mobs spawn in
 
#4 = nighttime, what light level should mobs spawn in
 
   lightlevel: 4
 
   lightlevel: 4
 
#Chance mobs will have armor/sword, 1 being diamond every time
 
#Chance mobs will have armor/sword, 1 being diamond every time
   armor-chance:
+
   armor-chance:30  mobs: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
30  mobs: #More types of a mob, more likely it'll spawn(ONLY IN NORMAL WORLDS!)
 
 
     - zombie 5
 
     - zombie 5
 
     - skeleton 3
 
     - skeleton 3
第161行: 第148行:
 
#This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
 
#This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
 
tnt:
 
tnt:
   tnt-reducer:
+
   tnt-reducer:false
false
 
 
#This option reduces fire spread rate
 
#This option reduces fire spread rate
 
firespread-reducer:
 
firespread-reducer:
第179行: 第165行:
 
tps-meter:
 
tps-meter:
 
   enabled: false
 
   enabled: false
   interval: 15  tps-trigger:
+
   interval: 15  tps-trigger:14.0
14.0
 
 
   commands:
 
   commands:
 
     - 'lagg
 
     - 'lagg
第186行: 第171行:
 
     - 'lagg
 
     - 'lagg
 
clear'
 
clear'
#This is /lagg killmobs, put what you DON'T want removed!
+
#使用/lagg killmobs时,略过的生物列表
 
kill-mobs:
 
kill-mobs:
 
   disable-build-wither:
 
   disable-build-wither:
 
false    mob-filter:
 
false    mob-filter:
         -
+
         - Villager
Villager
 
 
         - Wolf
 
         - Wolf
 
         - Horse
 
         - Horse
第229行: 第213行:
 
   boat: true
 
   boat: true
 
   falling-block: true
 
   falling-block: true
experienceOrb:
+
experienceOrb:true
true
 
 
   painting: true
 
   painting: true
   projectile:
+
   projectile:true
true
 
 
   item: true
 
   item: true
   itemframe:
+
   itemframe:false
false
+
   minecart:true #What items SHOULD be removed during clearing~
   minecart:
+
   primed-tnt:true
true #What items SHOULD be removed during clearing~
 
   primed-tnt:
 
true
 
 
   arrow: true
 
   arrow: true
 
   snowball: true
 
   snowball: true
 
   fireball: true
 
   fireball: true
   ender-signal:
+
   ender-signal:true
true
 
 
   item-filter: #What items should NOT be removed during clearing~
 
   item-filter: #What items should NOT be removed during clearing~
 
   - 264
 
   - 264
第257行: 第235行:
 
   boat: true
 
   boat: true
 
   falling-block: true
 
   falling-block: true
experienceOrb:
+
experienceOrb:true
true
 
 
   painting: true
 
   painting: true
   projectile:
+
   projectile:true
true
 
 
   item: true
 
   item: true
   itemframe:
+
   itemframe:false
false
 
 
   minecart: true
 
   minecart: true
   primed-tnt:
+
   primed-tnt:true
true
 
 
   arrow: true
 
   arrow: true
 
   snowball: true
 
   snowball: true
 
   fireball: true
 
   fireball: true
   ender-signal:
+
   ender-signal:true
true
 
 
   item-filter:
 
   item-filter:
 
# - 264
 
# - 264
第286行: 第259行:
 
   boat: true
 
   boat: true
 
   falling-block: true
 
   falling-block: true
experienceOrb:
+
experienceOrb:true
true
 
 
   painting: true
 
   painting: true
   projectile:
+
   projectile:true
true
 
 
   item: true
 
   item: true
   itemframe:
+
   itemframe:false
false
 
 
   minecart: true
 
   minecart: true
   primed-tnt:
+
   primed-tnt:true
true
 
 
   arrow: true
 
   arrow: true
 
   snowball: true
 
   snowball: true
 
   fireball: true
 
   fireball: true
   ender-signal:
+
   ender-signal:true
true
 
 
   item-filter:
 
   item-filter:
 
# - 264
 
# - 264
第309行: 第277行:
 
# - 266
 
# - 266
 
mobs:
 
mobs:
creature:
+
creature:true
true
+
     animals:true
     animals:
+
     monster:true
true
 
     monster:
 
true
 
 
limit:
 
limit:
   enable-limit:
+
   enable-limit:false
false
 
 
   max: 1000
 
   max: 1000
 
   check-interval: 60
 
   check-interval: 60
第331行: 第295行:
 
   boat: true
 
   boat: true
 
   falling-block: true
 
   falling-block: true
experienceOrb:
+
experienceOrb:true
true
 
 
   painting: true
 
   painting: true
   projectile:
+
   projectile:true
true
 
 
   item: true
 
   item: true
   itemframe:
+
   itemframe:false
false
 
 
   minecart: true
 
   minecart: true
   primed-tnt:
+
   primed-tnt:true
true
 
 
   arrow: true
 
   arrow: true
 
   snowball: true
 
   snowball: true
 
   fireball: true
 
   fireball: true
   ender-signal:
+
   ender-signal:true
true
 
 
   item-filter:
 
   item-filter:
 
# - 264
 
# - 264

2015年7月17日 (五) 09:40的版本

ClearLagg
外文名ClearLagg
插件类型Spigot / CraftBukkit
最新版本v2.7.2
兼容服务端CraftBukkit 1.7.9-R0.2
源地址http://dev.bukkit.org/bukkit-plugins/ClearLagg

概况

This plugin is made for small servers to big servers, it's made to remove all entities to prevent/clear lag. Of course this plugin can't fix all lag, but it does clear most of it. If your using a larger server with 20+ players using the /lagg clear command will drastically decrease RAM usage, depending on the type of lag your servers experiencing. Permission support Entity limiter Reduces lag Decreasing RAM usage Can stop a TNT chain reaction One simple command Very lightweight Can be ran automatically by console Can adjust times when the server is cleared of lagg 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
  1. Should clearlag reset the config (more stable), or attempt to add the new paths into your config?

config-updater:

 force-update: false #Puting this as false wont reset your config, but may cause bugs.. Still in testing!
  1. This limits the mob egg spawners so players cannot "overload" the server with them
  2. -- 'check-radius' stands for the radius clearlag will check for nearby entities
  3. -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked

mobegg-limiter:

 enabled: false
 check-radius:8
 max-mobs: 5
  1. Disable new chunk generation, or just put a cap on how many can load at once.
  2. -- THIS DOES NOT WORK WITH 1.6.4!

chunk-limiter:

 enabled: false
 limit: 6000
 create-new-chunks: true #-Deprecated-
  1. This modifies not only the view of the mobs, but will also simplify how they spawn
  2. -- Lower it is, the better your entity tick will be
  3. -- If it's too high, expect bugs / lots of lag

mob-range:

 enabled: true
 zombie: 5
 skeleton: 30
 creeper: 20
  1. How long should items/Mobs be left on the ground
  2. -- Goes by seconds

live-time:

 enabled: false
 interval: 10
 mobtimer: true
 itemtimer: true
 arrowtimer: true

arrowkilltime:15

 moblivetime:600
 itemlivetime:240
  1. Let clearlag control the spawning in ALL worlds? (Supports all plugins!)
  2. -- This will also respect cancelations, unlike minecraft's native code

custom-mobspawner:

 enabled: false
  1. How many times should clearlag attempt to find a safe location for the mob to spawn
 max-tries: 50
  1. (In seconds) how often should clearlag try to spawn mobs?
 interval: 30
  1. This is the radius around the player
 radius: 30
  1. This is the radius FROM the player (in blocks!)
 radius-from: 7
  1. How far should mobs spawn from eachother (NOT in blocks!!) (1,010 = around 10-20 blocks)
 mob-radius:1010
  1. Should we keep trying to spawn a mob if a clear location isn't found
 forcespawn:false
  1. 4 = nighttime, what light level should mobs spawn in
 lightlevel: 4
  1. 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
  1. This option disallows the placement of too many tnt-minecarts

tnt-minecart:

 enabled: false
 max: 2
 radius: 6
  1. This option reduces global dispenser rate

dispenser-reducer:

 enabled: false
 time: 100
  1. This option reduces the explosions of mass amounts of tnt, and reduces tnt lag

tnt:

 tnt-reducer:false
  1. This option reduces fire spread rate

firespread-reducer:

 enabled: false
 time: 2000
  1. 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
  1. 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'

  1. 使用/lagg killmobs时,略过的生物列表

kill-mobs:

  disable-build-wither:

false mob-filter:

       - Villager
       - Wolf
       - Horse
  1. This takes care of mob spawners

mobspawner:

 enabled: false
 max-spawn: 4
  1. No longer bugged! -- Dont use if you have CB++ or Spigot!

item-merger:

 enabled: false
 radius: 6
  1. Auto-removal options
  2. -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  3. -- NOTE: The below 'remove' section applies to this remover!
  4. -- 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!

  1. What should be removed during an auto-removal

remove:

 world-filter:
  1. 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~
  1. - cow
  2. 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:
  1. - 264
  2. - 265
  3. - 311
  4. - 312
  5. - 266

mobs:

  1. - 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:
  1. - 264
  2. - 265
  3. - 311
  4. - 312
  5. - 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:
  1. - 264
  2. - 265
  3. - 311
  4. - 312
  5. - 266