StackMob - Enhance your servers performance without the sacrifice 5.3.7

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

  1. antiPerson
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.15
    • 1.16
    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. Update for 1.16.4
  2. Fixes
  3. Use paper events on paper servers.

Recent Reviews

  1. taner12xx
    taner12xx
    5/5,
    Version: 5.3.7
    I tried most of the stack plugins on the site, but I could not find another plugin that works as optimized and smoothly as this one. I wish you a great plugin success.
  2. LordLucas_
    LordLucas_
    5/5,
    Version: 5.3.6
    The plugin is good, very useful and really delivers what it promises, but I've noticed that the players have kind of discovered a "bug", I think...


    - Mobs go through walls when taking damage with repulsion...if you can fix it for sure it will be perfect for me!
  3. wysohn
    wysohn
    5/5,
    Version: 5.3.4
    Best plugin is drag and drop plugin. Which means it works without effort when I just throw it into the plugins folder. Great job!
  4. NayZion
    NayZion
    5/5,
    Version: 5.3.4
    Nice plugin, Works perfectly in 1.16.1, normaly i have 17 tps for mobs farm but now i have 19.4 to 20 TPS with this plugin <3 Maybe in futuro Stack droped items? <3
  5. ToppyS2
    ToppyS2
    5/5,
    Version: 5.2.3
    Good plugin, just a quick question..
    Is there a way to Stack natural spawning Enderman? It's for a farm we built but I can't make the enderman stack cus they are spawning naturally.
  6. KyoKalreyn
    KyoKalreyn
    5/5,
    Version: 5.2.3
    Excellent Plugin. Makes my potato pc live some more, recommended. Need to extend the review.
  7. wellimlookingfor
    wellimlookingfor
    5/5,
    Version: 5.2.3
    Exactly what i need! Can you make this for 1.8.8? sadasdasdasdasdasdasdsadsadsad
  8. Sshawarma
    Sshawarma
    5/5,
    Version: 5.2.3
    Excellent plugin. Fixed the issue and requires little configuration. Recommend for any medium/large server having farm lag.
  9. Marian666
    Marian666
    5/5,
    Version: 5.2.3
  10. Loggarific
    Loggarific
    5/5,
    Version: 5.2.2
    A fantastic plugin with an amazing developer. I had a few issues and reported them to the github and they were fixed very quickly. Keep up the great work!