最MC论坛

标题: [管理][优化][综合]MobStacker —— 优化实体,使服务器性能释放[1.7-1.9] [打印本页]

作者: Stay_adorable    时间: 2016-10-14 17:50
标题: [管理][优化][综合]MobStacker —— 优化实体,使服务器性能释放[1.7-1.9]
本帖最后由 Stay_adorable 于 2016-11-17 13:15 编辑

注意:因为一些缺陷,该插件已经停止更新了,但是!新出了另外一个版本——MobStacker2。你需要5 USD才能购买获得MobStacker2MobStacker2现在已经是个完整无缺陷、重置版、付费版插件,他支持最新的Spigot和PaperSpigot 1.8-1.10,目前支持mcMMO和WorldGuard。

本插件现在完全嫌容1.7-1.9的服务器!
如果本插件不会正常运行的话请检查你的WorldGuard插件是否是最新版本!
本插件必须要有WorldGuard插件才能正常运行

什么是MobStacker?

  • MobStacker是超级简单和有用的插件,他可以为减少服务器和玩家客户端的滞后内存。
  • 它工作的原理是:检测实体的数量,通过叠加在一起,就会减少服务器内存,并叠加实体的数量显示在实体的名字上。
  • 这个插件可以让服务器性能释放。这让更多的玩家不会再卡,经验球不会再卡服!
  • MobStacker的概念非常的简单,这个插件的使用效率也是第一名的。

特点:
  • 可以使用{QTY}和{TAPY}的变量进行配置,以及颜色代码(&)来进行配置
  • 生物叠加数量可以在生物的名称上显示出来。
  • 杀死生物后,生物的数量将在生物的名字上减1,并掉落相应的经验球。
  • 如果剩下1个生物时,生物名称上的数量就会消失,就像正常的一样。
  • 设置被铨绳绑住的生物是否进行生物叠加功能(可以保护玩家的马)。
  • 设置某生物已有个自定义的名字是否进行生物叠加功能(可以保护玩家的狗、猫)。
  • 可以设置驯服的宠物(狼、猫、马)是否进行生物叠加功能。
  • 可以设置羊(彩色羊)是否进行生物叠加功能。
  • 可以设置某个世界不进行生物叠加功能。
  • 服务器重启或关闭会使叠加效果消失。
  • 还有更多哦!

捐款:
[作者原话]
This plugin is currently free despite the amount of time and effort I put in to it. I have put hundreds of hours in to this, so if you think it's worth a few dollars and have some spare cash, a small donation would be hugely appreciated <3




效果:

指令:

/mobstacker reload (mobstacker.reload) - 重载配置
/mobstacker toggle (mobstacker.toggle) - 开启/关闭服务器生物进行叠加功能
/mobstacker region <regionID> <true || false> (mobstacker.setregions) - 设置某个世界是否开启/关闭生物进行叠加功能
/mobstacker killall (mobstacker.killall) - 删除所有的已经叠加的生物

默认配置:
[未翻译]
# The naming layout for stacked mobs. Use the {QTY} and {TYPE} tags, along with normal colour codes to customise the in game display.
stack-naming: '&e&l{QTY}X &6&l{TYPE}'

# How far around the mob should the plugin check for mobs to stack to?
stack-range:
    x: 5
    y: 2
    z: 5

# How many seconds after a mob spawns should the plugin check for mobs to stack to?
# The higher the number, the more work for the server to do. Keep this rather low. In SECONDS NOT TICKS.
# Set to 0 to only try stack on spawn. Set to -1 to never stop trying to stack (Possibly lag inducive for larger number of mobs (1000+).
seconds-to-try-stack: 5

# If false, named mobs will not stack, meaning pets are protected.
stack-custom-named-mobs: false

# If false mobs will stack regardless of age (Baby or adult)
stack-by-age: true

# False means that animals on a leash will not stack.
stack-leashed-aminals: false

# Protect tamed animals from being stacked on?
protect-tamed: true

# If a stack of mobs fall off should the full stack die, or just one mob in the stack?
# All damage causes can be found at https://hub.spigotmc.org/javadoc ... nt.DamageCause.html
kill-whole-stack-on-death:
    enable: true
    multiply-loot: true
    reasons:
     - FALL

# If a creeper stack explodes, should the whole stack die?
exploding-creeper-kills-stack: false

# Should a creepers explosion be made larger if the full stack explodes? exploding-creeper-kills-stack: must be true for this to work.
magnify-stack-explosion:
    enable: true
    max-creeper-explosion-size: 10

# Should mobs always stack towards the ground? Useful for flying mobs, like blazes and ghasts.
stack-mobs-down:
    enable: true
    mob-types:
       - BLAZE
        - GHAST

# Should coloured mobs, like sheep, be stacked separately?
separate-stacks-by-color: true

# Upon leashing an entity, should the full stack be leashed, or just one?
leash-whole-stack: false

# Should sheep be separated based on whether they are shorn or not?
separate-by-sheared: true

# If a burning stack dies, should the remaining burn time for the previous mob be carried on to the next?
carry-over-fire:
  enabled: true
  # If star-new-burn is true, it will be as if the next mob in the stack has been set on fire again, otherwise it will only burn for the remaining
  # time of the previous mob.
  start-new-burn: false

# What should the max stack size be for certain mobs? If a mob isn't listed, the stack size isn't limied. Add Mobs as shown below to create a stack limit.
max-stack-sizes:
    IRON_GOLEM: 10

# List worlds that no mobs will ever stack in. Write ALL world names in ONLY lower case.
blacklist-world:
   - example-world

# For which spawn methods should mobs be nerfed?
mob-nerfing:
   - SPAWNER

# Mobs marked with true WILL attempt to stack. Mobs spawned by building (Golems and Wither) are a bit buggy, so it is suggested to leave them false.
stack-mob-type:
    BAT: true
    BLAZE: true
    CAVE_SPIDER: true
    CHICKEN: true
    COW: true
    CREEPER: true
    ENDERMAN: true
    ENDERMITE: true
    GHAST: true
    GIANT: true
    GUARDIAN: true
    HORSE: true
    IRON_GOLEM: false
    MAGMA_CUBE: true
    MUSHROOM_COW: true
    OCELOT: true
    PIG: true
    PIG_ZOMBIE: true
    RABBIT: true
    SHEEP: true
    SILVERFISH: true
    SKELETON: true
    SLIME: true
    SNOWMAN: false
    SPIDER: true
    SQUID: true
    VILLAGER: true
    WITCH: true
    WITHER: false
    WOLF: true
    ZOMBIE: true

# Spawn methods marked with true WILL attempt to stack. CUSTOM is mobs spawned by plugins - Including this one. Certain features require CUSTOM to be left true.
# Plugin will still work if CUSTOM is set to false, jut not collecting stacks when another stack is killed nearby.
# It is suggested to leave SLIME_SPLIT false due to duplication issues.
stack-spawn-method:
    SPAWNER_EGG: true
    SPAWNER: true
    BREEDING: false
    BUILD_IRONGOLEM: false
    BUILD_SNOWMAN: false
    BUILD_WITHER: false
    CHUNK_GEN: false
    CURED: false
    CUSTOM: true
    DISPENSE_EGG: true
    EGG: true
    INFECTION: false
    JOCKEY: false
    LIGHTNING: false
    MOUNT: false
    NATURAL: false
    OCELOT_BABY: false
    SLIME_SPLIT: false




[groupid=508][PBY-插件搬运组][/groupid]
作者: Stay_adorable    时间: 2016-10-23 09:39
申请高亮@勉强面倒臭 @happyvalley_lmx  
作者: w2200219297    时间: 2020-1-9 15:12
很好的插件




欢迎光临 最MC论坛 (http://www.zuimc.com/) Powered by Discuz! X3.2