StackMob - Enhance your servers performance without the sacrifice 5.0.2

Enhance your server performance by 'stacking' or 'merging' entities, without breaking grinders.

  1. antiPerson
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.15
    Source Code:
    https://github.com/Nathat23/StackMob-5
    Languages Supported:
    All with entity-translations.yml
    Supercharge your servers' performance, without breaking grinders.
    [​IMG]
    Many people (rightly so) advise against using mob stackers because of their impact on gameplay for a minuscule performance gain. StackMob offers the flexibility your server needs so you can target the worst lag offenders, without ruining the fun for everyone else.
    Features:
    • Ability to blacklist certain spawn reasons, entity types or worlds to prevent stacking
    • Hidable nametag - nametag only appears when the player is in close proximity.
    • Support for all entity traits (sheep colours, age, love mode etc)
    • Ability to disable stacks from targeting players.
    • Multiple death methods - different ways to decrease entity stack size. Chose from single die, all entities die, random amount die or an amount dependent on damage caused get removed.
    • Multiplication of drops, experience points and player stats on stack death.
    • 'Wait to stack' feature. Allows a brief period of time after initial spawn before stacking is enabled. This means that mob grinders do not get broken as entities don't merge in mid-air.
    • Support for plugins such as MythicMobs, Citizens, McMMO and WorldGuard (a custom 'entity-stacking' flag to be used in regions)
    • Most configuration options can be customised for specific entity types.
    (also looking for someone to make a video on the new version of stackmob since the others are really old at this point)

    Code (YAML):
    # StackMob 5.0 Configuration file - by antiPerson and contributors.

    # Most options can be customised for specific entity types, for details about this, see the end of this file.
    # Asterisk meaning:
    # (*) This option cannot be overridden in the 'custom' section at the end of this file.
    # (**) The following option requires the use of Paper (https://papermc.io) because the API needed is not in Spigot.

    stack
    :
     # The maximum size that a stack can have.
      max-size
    : 30
      # How often entities should be checked for stacking (in ticks. 20 ticks = 1 second) (*)
      interval
    : 100
      # The area around an entity for which applicable stacks should be found.
      # Format: [(x cord),(y cord),(z cord)]
      merge-range
    : [10,10,10]
      # Only begin to stack entities when this amount of entities are nearby.
      threshold
    :
        enabled
    : true
        amount
    : 5

    # Names of worlds where there should be no stacking
    worlds-blacklist
    : []
    worlds-blacklist-invert
    : false
    # Types of entity which should not stack
    types-blacklist
    : []
    types-blacklist-invert
    : false
    # If the entity's spawns reason is listed below, do not stack.
    reason-blacklist
    : []
    reason-blacklist-invert
    : false

    display-name
    :
     # The formatting of the name tag which is shown when the stack size is above the threshold.
      # Placeholders:
      # %type% - the entity's type
      # %size% - the size of the stack
      format
    : '&a%type% &d(%size%)'
      # Whether the display tag can only be seen when the player targets the entity.
      # Mode:
      # ALWAYS - The tag will always be visible as long as the entity is loaded.
      # HOVER - The tag will only be visible when the player hovers their crosshair on the entity.
      # NEARBY - The tag will only be visible when the player is in range of the entity. (more resource intensive)
      visibility
    : NEARBY
      # Options for when 'NEARBY' is used above. (*)
      nearby
    :
       # The range from which the tag should be visible.
        # Format: [(x cord),(y cord),(z cord)]
        range
    : [12,6,12]
        # How often (in ticks) the tag visibility status of an entity should be updated. (20 ticks = 1 second)
        interval
    : 20
      # Don't show the tag if the stack size of this entity if it is equal to or below the value specified.
      threshold
    : 1

    # Whether entity specific traits (eg. profession, colour) should be segregated (*)
    traits
    :
      sheep-color
    : true
      sheep-sheared
    : true
      slime-size
    : true
      horse-color
    : true
      llama-color
    : true
      parrot-variant
    : true
      drowned-hand-item
    : true
      age
    : true
      breed-mode
    : true
      love-mode
    : true
      cat-type
    : true
      mooshroom-variant
    : true
      fox-type
    : true

    # Prevent stacked mobs from targeting players.
    # Similar to no-ai, but allows for movement of entities.
    disable-targeting
    :
      enabled
    : false
      # If the entity's type is listed below, do not disable targeting.
      type-blacklist
    : []
      type-blacklist-invert
    : false
      # If the entity's spawns reason is listed below, do not disable targeting (**)
      reason-blacklist
    : []
      reason-blacklist-invert
    : false

    # What should be done when these entity actions occur. (*)
    events
    :
     # When an entity is feed its food.
      breed
    :
        enabled
    : true
        # MULTIPLY - spawn as many baby entities possible providing there is enough food fed.
        # SPLIT - slice off an entity to that it can be bred normally.
        mode
    : MULTIPLY
      # When an entity is dyed.
      dye
    :
        enabled
    : true
        # MULTIPLY - dye as many entities possible providing there is enough dye.
        # SPLIT - slice off an entity to that it can be dyed normally.
        mode
    : MULTIPLY
      # When an entity is sheared.
      shear
    :
        enabled
    : true
        # MULTIPLY - shear as many entities possible providing the shears have enough durability.
        # SPLIT - slice off an entity to that it can be sheared normally.
        mode
    : MULTIPLY
      multiply
    :
       # Chicken eggs and turtle scutes.
        drops
    : true
        explosion
    : true
        slime-split
    : true
      divide
    :
        nametag
    : true
        tame
    : true

    # How entities should die
    death
    :
     # Death options:
      # SINGLE - Only one entity dies.
      # ALL - Every entity dies.
      # STEP - A random amount dies.
      # STEP_DAMAGE - An amount that depends on the damage done dies.
      #
      # The priority 1 is highest and 4 is lowest.
      # If the killed entity is blacklisted, either by type or death reasons, by the highest priority method,
      # then it will attempt to use the next highest priority death method.
      SINGLE
    :
        priority
    : 4
        reason-blacklist
    : []
        reason-blacklist-invert
    : false
        type-blacklist
    : []
        type-blacklist-invert
    : false
      ALL
    :
        priority
    : 3
        reason-blacklist
    : []
        reason-blacklist-invert
    : false
        type-blacklist
    : []
        type-blacklist-invert
    : false
      STEP
    :
        priority
    : 2
        reason-blacklist
    : []
        reason-blacklist-invert
    : false
        type-blacklist
    : []
        type-blacklist-invert
    : false
        max-step
    : 5
        min-step
    : 1
      STEP_DAMAGE
    :
        priority
    : 1
        reason-blacklist
    : []
        reason-blacklist-invert
    : false
        type-blacklist
    : []
        type-blacklist-invert
    : false

    # Multiply entity drops on entity death.
    drops
    :
      enabled
    : true
      use-loot-tables
    : true
      # If each mob should only drop one of the items in the list.
      one-per-stack
    : []
      one-per-stack-invert
    : false
      # Items that should not be dropped.
      item-blacklist
    : []
      item-blacklist-invert
    : false
      # Death reasons that should not mean that drops are multiplied.
      reason-blacklist
    : []
      reason-blacklist-invert
    : false
      # Types of entity for which drops should not be dropped for.
      type-blacklist
    : []
      type-blacklist-invert
    : false

    # Multiply entity experience on entity death.
    experience
    :
      enabled
    : true
      # The bounds that should be used for the random multiplier.
      multiplier-min
    : 0.5
      multiplier-max
    : 0.8
      # Types of entity for which exp should not be dropped for.
      type-blacklist
    : []
      type-blacklist-invert
    : false

    # If specific entities should have a waiting time before their first stack.
    # Designed for monster grinders etc.
    wait-to-stack
    :
      enabled
    : true
      # For (x) times the stack task fires after spawn, don't stack this entity.
      wait-time
    : 5
      # Entity types that this should work for.
      types-whitelist
    :
       - ZOMBIE
        - SKELETON
        - PIG_ZOMBIE
        - CREEPER
        - ENDERMAN
      types-whitelist-invert
    : false
      # Spawn reasons that this should work for.
      reasons-whitelist
    :
       - SPAWNER
      reasons-whitelist-invert
    : false

    # Enable/disable integration with other plugins. (*)
    hooks
    :
     # Allows the custom 'entity-stacking' flag to be used in worldguard regions.
      worldguard
    : true
      mythicmobs
    :
        enabled
    : true
        blacklist
    : []
        blacklist-invert
    : false
      # Prevent citizens npcs from stacking.
      citizens
    : true
      # Prevent stacked entities from giving mcmmo experience.
      mcmmo
    : true

    ## Some options can be modified for specific entity types. An example is shown below. Remove comments to see this in action.
    ## Options and sections with a (*) in the comment preceding cannot be overridden.
    #custom:
    #  # The entity type
    #  CREEPER:
    #    # The option to override. This should be the same as it appears above.
    #    stack:
    #      max-size: 30
    #  SKELETON:
    #    # Entities can also inherit options from other entities, using the 'clone' option preceded by the entity type to clone.
    #    clone: CREEPER
    #    # The cloned custom options can still be overridden.
    #    stack:
    #      max-size: 5
    bStats:
    If you don't want that your server sends data to bStats you can disable it by setting enabled to false in the bStats config file. The config can be found in the /plugins/bStats/config.yml file. bStats has nearly no effect on your server's performance and the sent data is completely anonymous so please consider twice if you really want to disable it.

    Seeing that lot's of servers are using their plugin can keep plugin authors motivated and some of the data can also be used to improve their plugins.

    Do you like this plugin? Please leave a review below - it helps a lot. Found a bug or have a suggestion? Post it on the Issue Tracker
    Want to send a donation my way to help support the development of this plugin? Click here.

Recent Updates

  1. More fixes
  2. bugs
  3. It's been six months since the last update...

Recent Reviews

  1. andrewkm
    andrewkm
    5/5,
    Version: 5.0.2
    Amazing plugin, very active developer, and flawless functionality. No idea what’s up with the bad reviews but this thing is a beast. :)
  2. mr_coffee
    mr_coffee
    3/5,
    Version: v4.0.2
    Was a great plugin while it worked. Has had some issues as minecraft has updated. It is probably the most effective stacking plugin for lag reduction of every other one available and does not gratuitiously modify the drops or capabilities of every mob to accomplish this task. That much, I like very much. Unfortunately, support seems to have ceased entirely. Several mobs don't drop the appropriate items without updates being made to the plugin. There is no ability to unstack mobs. There is a tool for it... but all it does is eliminate the stack... and you don't need a tool to do that, one could just kill the stack if they just want to be rid of the stack. Anyway, if support every resumes this would still be the best plugin for the job.
  3. yigityetkin
    yigityetkin
    2/5,
    Version: v4.0.2
    wait-to-stack not working in 1.14.4 please fix it. Players can't using water and drop systems.
  4. kemal895
    kemal895
    1/5,
    Version: v4.0.2
    When i add this plugin to my server i get 13-14 TPS :( very bad optimization i cant use
  5. Bombasts
    Bombasts
    1/5,
    Version: v4.0.2
    Villagers stacked and all trades are gone. Terrible plugin! Do not download it!!
  6. Zipur
    Zipur
    1/5,
    Version: v4.0.2
    This completely breaks mob grinders, mob crushers sometimes instantly kills all of them when kill-all is enabled, and when it's not you only get the exp from one mob when you kill all of them with a sword swipe.
  7. EchoRapidz
    EchoRapidz
    1/5,
    Version: v4.0.2
    Set in config for villagers not to stack and they still did. Players lost trades
  8. X0M
    X0M
    1/5,
    Version: v4.0.2
    no mobs stack lol kind of breaks the point of the plugin if you install it and it doesn't do anything
  9. Venandi22
    Venandi22
    1/5,
    Version: v4.0.2
    I run a fairly small server, lets say about 5-7 people a day. With this plugin installed and tweaked as best I could to reduce lag, it would drop my servers TPS down about .75 for every player that was near animals. This means at any time my server was running between 15-18tps which is really not ideal. Once removed it brought the tps back up and it would never drop below 19.80 even with large farms of animals. I simply cannot recommend until this plugin gets a hot fix or something to make it less demanding oh a relatively large resource server.
  10. therev
    therev
    1/5,
    Version: v4.0.2
    Terrible plugin that is not only full of bugs but lacking in features compared to other FREE alternatives. The plugin is simply not competitive at all and shouldn't be used by anyone looking to make a serious server.