HomeJavaModsMobStacker
MobStacker
IMPORTANT: This plugin is no longer receiving updates and is known to be a bit buggy. MobStacker2 is a complete, premium, rebuild. It is up to date with the latest Spigot releases, works with PaperSpigot 1.8 - 1.10 and has mcMMO and WorldGuard integration. Please consider supporting my efforts and getting a really useful plugin out of it :D

Now 1.7, 1.8 AND 1.9 compatible!

NOTE: If you are using world guard on your server it MUST be the latest version or this plugin will break. If the plugin isn't working at all, check your world guard version.

[​IMG]

What is MobStacker?


FEATURES:
Keep up to date with development progress and help decide the new features! - https://trello.com/b/5X70oiSL/mobstacker

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


[​IMG]


Do you use MobStacker on your server and consider it quite popular? Flick me the IP address and I'll list it here as a server using this plugin! (Wooo for free advertising)

Please keep feature requests and bug reports to the discussion page, NOT the reviews. The reviews section is solely for reviewing the plugin that is currently available, not for giving poor reviews to get my attention so I add a feature.


Spoiler: Default Name Layout
[​IMG]

Commands
/mobstacker reload (mobstacker.reload) - Reloads the config
/mobstacker toggle (mobstacker.toggle) - Toggles server wide whether mobs stack
/mobstacker region <regionID> <true || false> (mobstacker.setregions) - Sets whether mobs stack in a world guard region.
/mobstacker killall (mobstacker.killall) - Removes all stacks

Update notice - mobstacker.update

Default Config
Code (YAML):

# 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/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.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
 
Videos:

Thanks to maxmar628 (@Maximiliano) for this video covering the plugin in spanish!


If you have any questions or feature requests, don't be afraid to ask.

If you guys like the plugin, a review and rating is always appreciated!

SOURCE

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

MobStacker is a free Minecraft Java mod. Downloaded 110,602 times (via Spigot). Download it and open it directly in the game.

Explore more