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

ClearLagg

来自Minecraft插件百科
Iwar留言 | 贡献2014年10月25日 (六) 05:46的版本 (添加待翻译内容,补全模板)
跳转到导航 跳转到搜索
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

命令与权限

Command Description Permission /lagg clear (Clears entities) lagg.clear /lagg check (Counts all entities) lagg.check /lagg reload (Reloads schedulers/config) lagg.reload /lagg killmobs (Kills mobs) lagg.killmobs /lagg area <radius> (Removes entities within given radius) lagg.area /lagg unloadchunks (Unloads un-needed chunks) lagg.unloadchunks /lagg chunk (Locate possible laggy chunks) lagg.chunk /lagg tpchunk <x> <z> <world> (Teleport to chunks) lagg.tpchunk /lagg (Shows helpful page) lagg.help

拓展

SaveDeathDrops (Blocks removal of items dropped from death) 下载:http://dev.bukkit.org/bukkit-plugins/clearlag-savedeathdrops/

配置文件

分段1

Where is the config? plugins\ClearLag\config.yml settings:

 auto-update:

true #Should the plugin update when updates are available.

 enable-signs:

true #Should clearlag's signs be enabled

 config-version: 1 #Don't touch this
 disable-waterlife:

true #Should squids be disabled from spawning

 keep-spawn-in-memory: true #Should the spawn chunks be kept loaded (Highly recommended! Prevents falling into the void!)
 enable-api:

true #-Deprecated- Should plugins be able to hook into clearlag's API area-filter: #What type of entities SHOULD NOT be removed while doing /lagg area?

   - 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

分段2

  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

分段3