StackMob - Enhance your servers performance icon

StackMob - Enhance your servers performance -----

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




  • Add temporary? fix for issue where mobs killed in one hit with fire aspect weapons would drop raw meats rather than cooked meats
  • Revert to Java 17 (should fix errors for people on 1.19.x etc)
----------, Jul 18, 2024

Support running on 1.21
----------, Jul 12, 2024

We were waiting for ProtocolLib and it has finally updated for 1.20.6.
  • Support for 1.20.6 (yes, I am aware 1.21 did just get released)
  • Support for Folia has been added (@yomamaeatstoes, @ItsYive)
  • Add ability to disable knockback
----------, Jun 13, 2024

The previous version caused an error due to adventure library changes which meant there was now a library component missing, this is now fixed.
----------, Jan 2, 2024

Supports 1.20.4. We now require ProtocolLib.
Also there is now a timeout for check-location to hopefully prevent situations where entities can stack but can't because they are stuck.

(yes it took a while for this update, I am very good at procrastination)
----------, Dec 31, 2023

Support for 1.20.2 and we are now using ProtocolLib for all versions.
----------, Oct 22, 2023

1.20 support has been added. And a few minor bugs fixed.
----------, Jun 11, 2023

  • Support 1.19.4. This is the native version so ProtocolLib is needed on all servers that aren't 1.19.4.
  • Fix kicks when ProtocolLib is needed on 1.19.x servers. You will need to make sure ProtocolLib is updated to the latest dev builds (5.0.0-SNAPSHOT)
  • Add ability to multiply rewards from Jobs Reborn plugin
  • Remove apache commons dependency (should fix 1.16.5 support)
  • Fix small memory leak when players disconnect (#270)
----------, Mar 19, 2023

Sorry for being a bit late with this one. Hopefully you guys have a good holiday season!
  • Support 1.19.3
  • Add ability to add a custom offset for entity fake armour stands. This might give you an error like this on first install of this update:
    Code (Text):
    [23:25:28 INFO]: [StackMob] The value at config path display-name.nearby.armorstand.enabled is null. Make sure your config is correctly formatted at this path.
    Which if you just restart the server will be fixed.
----------, Dec 20, 2022

Jar size has now increased since we are now shading our own adventure API for 1.16.5 support.
  • Fix 1.16.5 support
  • Add location options for '/sm remove' (all,world or chunk)
  • Add chunk option for '/sm forcestack'
----------, Aug 31, 2022

  • Add raytracing when stacking. Mobs will only stack if they can see each other. "stack.line-of-sight"
  • Nametag handling changes:
    • events.divide.nametag and events.remove-stack-data.nametag have been removed. They will have no effect.
    • Add nametag section to events where you can specify to slice (and remove stack status) or prevent stacking of named mobs.
    • Add "stack.nametag-mode". You can specify how to handle nametags on entities that will be removed when stacking.
      • DROP - drop a nametag
      • JOIN - add the nametag value to the name of the resulting entity
      • IGNORE - do nothing
  • Don't give stack data to entities that belong to custom mob plugins (such as MythicMobs)
  • Fix traits not being assigned for every applicable entity type (causes kids and adults to merge)
  • Add apache commons as spigot library
  • Fix plugin updater
----------, Aug 14, 2022

  • Add allay trait
  • Fix config path error on slime split
  • Fix mythicmobs hook config path error
  • Fix error from TagCheckTask when ray tracing
  • Fix custom section not working for certain config paths
  • The applicable trait checks for an entity are now precomputed when plugin loads rather than each time stacks are compared
----------, Jul 31, 2022

  • Remove shading of adventure and use the spigot library feature (reduces jar size) which fixes error when not using NEARBY tag mode
  • Fix error when using spigot (although this error didn't occur because the above error)
  • Fix support for legacy colour codes
----------, Jul 23, 2022

Unfortunately the jar size has increased substantially, due to the use of the adventure API which is not included in spigot. Adventure API is needed for the fake armour stands.
  • Tag visibility NEARBY improvements:
    • Use fake armour stands to display stack sizes.
    • Only send packets to player if the visibility state changes
  • Improve command handling
    • Performance improvements
    • Give command feedback when sub command arguments are incorrect
  • Configuration handling changes.
    • We now determine whether a section has been overridden when the plugin loads, rather than each time the config is accessed. This should improve performance
    • Copy comments when updating config
  • Commands additions
    • Add ability to spawn multiple stacks with '/sm spawn'
    • Add modes for '/sm stats'
  • Remove warning for console messages (made redundant from the use of armour stands)
  • Change lore (not item name) when tool mode is changed
----------, Jul 16, 2022

This update introduces 1.19 support. As 1.19 is the native version, ProtocolLib will be required if the display-name.visibility 'NEARBY' is used on 1.18.2 and older.
A frog variant trait and frog breeding support has been added. A two year old stacking bug has also been fixed...
Versions 1.16.5 and newer are still supported.
----------, Jun 8, 2022

  • Fix MythicMobs support (version 5.0.2 or greater is now needed)
  • Fix non-stacked entities becoming stacked on entity transform when blacklists are in use
----------, Apr 9, 2022

  • Prevent transformed entities from becoming a stack entity, when the original entity was not stacked (fixes #242)
  • Check if world has changed before checking if entity has moved
  • Print step damage error message once
  • Update for 1.18.2
----------, Apr 3, 2022

A bug in the detection of the Paper server software meant that stacked entity data would not be loaded and unloaded. Existing entity data is unharmed.
----------, Dec 6, 2021

StackMob turned 5 last month. Thanks for your continued support!
  • Add support for Minecraft 1.18 (for now I am still supporting 1.16 and 1.17, since there are no breaking changes in 1.18. Although you will need ProtocolLib if not using 1.18)
  • Copy stack size for all entity transformations
  • Add slice mode for entity explosion
  • Fix config bug
----------, Nov 30, 2021

Make sure to update to the latest Spigot version (if you use Spigot!)
  • Fix entity type blacklists not working
  • Remove temporary compatibility for Spigot 1.17
We are also using Java 11 instead of 16.
----------, Sep 8, 2021

  • Add ray tracing to tag NEARBY mode. The tag will only appear if there are no blocks in line of sight with the entity.
  • Add entity groups. This should make the configuration easier, rather than specifying each type you just need the name of the group. Group names are:
    • HOSTILE, ANIMALS, WATER, RAIDER, BOSS
  • Add stacking tool INFO mode.
  • Increase interval of spigot compatibility task (this will be remove in the near future)
  • Fix tag NEARBY only working on one entity.
  • Fix tag NEARBY not working on 1.16 servers.
  • Fix bucket listener and support picking up Axolotl .
  • Fix stacking not working while stack threshold is disabled.
----------, Sep 5, 2021

Fixes ConcurrentModificationException on Paper servers.
----------, Jun 21, 2021


This update introduces 1.17 support. As 1.17 is the native version, ProtocolLib will be required if the display-name.visibility 'NEARBY' is used. 1.15 support has been dropped, as at this point there's little reason to not use 1.16.5.

The plugin is also now compiled using Java 16, so you will need to be using Java 16 to use this plugin.
----------, Jun 15, 2021

  • Fix error when a dispenser shears a sheep, using shears with 1 durability.
  • Fix death warning in console.
----------, Jun 2, 2021

  • Add option to change if entity stacking should be done on spawn (disabled by default)
  • Fix ClearLag hook not working.
  • Remove player requirement for '/sm remove' command.
----------, May 29, 2021

  • Add MyPet hook. MyPets will no longer stack.
  • Add Villager Profession trait.
  • Add divide option on fish bucket fill.
  • Only drop items from block above when shearing.
  • Optimise death drops generation.
----------, Apr 25, 2021

Fixes stack data not being loaded (when using 5.5.1 or 5.5.2) on paper servers. No data has been lost if you have previously updated these versions, unless the mob was killed.
----------, Apr 1, 2021

I forgot to include the registration code for the Clearlagg hook in the previous update.
----------, Mar 31, 2021

  • Performance improvements.
  • Add support for ClearLagg. Stacked mobs are now removed.
----------, Mar 31, 2021

  • Stacking tool improvements! You can now use the tool on unstacked mobs. A new SLICE_ALL mode has also been added.
  • New (experimental) option to only stack entities when they move. https://github.com/Nathat23/StackMob-5/issues/198
  • Potion effect merging. When an entity with a potion effect is merged into a bigger stack, the stack also gains the same effect. The duration is multiplied by the old stack stack size divided by the combined stack size.
  • Add ability to prevent mythicmobs from stacking.
  • Turtle scute trait, prevents from stacking.
  • Change location of multiplied drops (#194)
----------, Mar 21, 2021

We hit over 1400 servers using the plugin the other day, thanks for your continued support!
  • Fixes stacking logic issue. (fixes bees disappearing, thanks @Aurelien30000)
  • Add missing Paper checks, fixes NoSuchMethodException on death.
  • Fix legacy material support from being enabled when shearing.
  • Remove hand items when spawning drowned with DROWNED spawn reason.
  • Fix parsing of int values when getting double values from config.
----------, Feb 15, 2021

  • Make sure that when merging two stacks with a combined size larger than the maximum size, the largest stack becomes full.
  • Fix stack threshold removing stacks with a size bigger than one. (#165)
  • Add spawn reason blacklist for death amount types.
  • Add spigot javadoc references to config
----------, Jan 6, 2021

  • Add limit for breed, dye and shear events when configured to use MULTIPLY ListenerMode
  • Add methods of handling picked up items by mobs (#134)
  • Add null check for damage cause (fixes #156)
  • Fix error when damage amount is extremely high, fixes parrot cookie bug.
  • Add spawn delay on mob death (#160)
  • Fix leads being dropped when stack is killed on a leash.(#147)
  • Fix mooshroom shearing NullPointerException
  • Multiply the correct mushroom type according to mooshroom variant.
----------, Dec 20, 2020

  • Supports 1.16.4 as native server version (thanks @Aurelien30000)
  • Add method to StackDeathEvent to change the death step.
  • Add null check for damage cause (fixes #153)
----------, Nov 7, 2020

  • Make sure to remove the stack data of single mobs when tamed. Fixes tamed mobs and untamed mobs merging.
  • Fix error when shearing a sheep with shears in offhand (#143)
  • Add StackSpawnEvent
  • Allow minimum kill-step and maximum kill-step to be the same.
  • Spawn experience orb if death event is cancelled. (#150)
----------, Oct 18, 2020

This update makes sure that the paper entity events are used on paper servers.

I also suggest making sure you have updated to the latest paper versions as there was a recent change fixing the events.
----------, Sep 22, 2020

Fixes '/sm remove' command and added back event listener which may help things.
----------, Sep 16, 2020

Fixes memory leak, hopefully performance issues should be fixed now.
----------, Sep 13, 2020

  • Fix '/sm forcestack'
  • Fix more NPEs
  • Improve performance, drastically in some circumstances.
----------, Sep 12, 2020

Add a bunch of missing null checks, should fix NPEs.
----------, Sep 9, 2020

  • Update for 1.16.2
  • Added option to disable the death animation of entities (only works on Paper)
  • Performance should be greatly improved as the NBT of mobs will be accessed less often.
  • Fix display-name NEARBY visibility option when more than one player is in range of an entity.
  • Add statistics subcommand
----------, Sep 8, 2020

[​IMG]
  • Fixes leash dupe when a leashed stack is killed.
  • Adds support for 1.16 RGB colour codes, these can be used by using the '&' character before the hex value.
----------, Jul 18, 2020

  • Fixes NoSuchMethodException on stack death when using a Spigot server
  • Fixes NullPointerException with the tag visibility task.
----------, Jun 30, 2020

Fixes IllegalStateException regarding leashes.
----------, Jun 29, 2020

You should consider joining the StackMob discord! At the moment there isn't much there, but you get to ping me!

This update is compatible with both 1.15 and 1.16 servers, but with the caveat that 1.15 servers will have to use ProtocolLib if they wish to use the 'NEARBY' visibility option for display tags.

New config options have been added and these will be automatically added to your config file. However as a side effect you will loose your comments. You can find a version with comments here.
  • 1.16.1 support, traits for hoglin and zoglin baby and support for hoglin breeding.
  • Various optimisations regarding config value reading and the tag task.
  • Bee stacking is now supported, when entering a hive the bee will be sliced (one removed from stack) while the rest remain outside.
  • Make sure that the newly spawned entity has the same spawn reason as the one that was killed (requires Paper) (fixes #105)
  • Partial fix for the java.lang.IllegalArgumentException exception that many have been facing, if the increased health was because it was a leader zombie (#26)
  • Remove stack data when animal gets tamed (fixes #99)
  • Various fixes regarding leads. (fixes #95)
    • When a leashed mob is removed when merging, a lead will be dropped.
    • Mobs sliced from a stack will now become unleashed while the bigger stack remains leashed.
    • Added leash trait check.
  • Allow entity type in spawn command to be lowercase (fixes #100)
  • Added StackMergeEvent and StackDeathEvent API
----------, Jun 29, 2020

  • Fix mob experience drops not being multiplied correctly. (#80)
  • Fix entity "no-targeting" option. (#55)
  • Fix spawner spawned stacks giving mcMMO experience
  • Add Jobs Reborn hook to prevent payments from stacked mobs.
  • Prevent named and tamed mobs from being stacked when the '/sm forcestack' subcommand is used.
----------, May 10, 2020

  • Temporary fix for IllegalArgumentException on mob death for MythicMobs users. (#26) If you experience this error without MythicMobs and can provide detailed reproduction steps it would be very helpful!
  • Fix NullPointerException caused by MythicMobs VanillaMobs when display name is updated (#72)
  • Fix for too many slimes being spawned when not using kill-all (#31)
----------, Apr 13, 2020

Sorry for the lack of updates. I had been busy with school preparing for my exams in May/June. Except they have now been cancelled. So it looks like I'm going to have a lot more free time to work on things.

Changes:
There also more fixes by kyle1elyk and Aurelien30000 that I may not have listed. Thanks for your contributions!
  • Add breeding experience multiplication.
  • Add zombie baby trait (#22)
  • Add bee traits
  • Replace stack value too big exception with message (#54)
  • Calculate which entity is the bigger so only the smaller one gets removed. (#21)
  • Fix chicken eggs not being multiplied (#33)
  • Add support for Bee breeding (#34)
  • Ignore leashes when multiplying drops (#36)
  • Removes tag on dead entities
  • Fix ClassCastException (#59)
----------, Mar 27, 2020

This update fixes the big issue of stacking not always working. This was a really simple mistake that I managed to overlook...
  • Stacker doesn't work (#12)
  • Prevent Armour Stands from stacking (#15)
  • Fix IllegalArgumentException when statistics are increased.
  • Prevent the death step from being bigger than the entity stack size, so more drops than should be are dropped.
  • Fixed the tagmode of stacks not being checked so the display tag would disappear regardless of the config option.
----------, Jan 12, 2020

This release addresses various reported issues:
  • Fix IllegalArgumentException when feeding an entity a single food item (#13)
  • Fix IIlegalArguementException when the MergeTask is ran.
  • Fix NullPointerException when the drop blacklists are used (#11)
  • Change stacking tool material to a bone to avoid interference with other plugins (#9)
  • Fix NullPointerException when right clicking entities with no item in hand, caused by stacking tool metadata checks (#10)
I am aware that some people are facing issues with stacking of spawned entities - this is under investigation at the moment so hopefully an update will be released soon.
----------, Jan 4, 2020

Well, it's finally here I guess. Some has been changed (since the plugin has been completely rewritten, once again) so I will detail this below.
  • Stack data is now stored using NBT rather than YAML files or a database. This means performance and ram usage is much improved.
  • New year, new config. You will have to reconfigure everything. Except this time like 90% of the config can be customised for each entity type, so hopefully it pays of.
  • Stack entity names are now updated when the stack value changes rather than with a task. So performance is much improved again.
  • Did I mention performance is improved?
As a result, support for 1.13 and 1.14 has now been dropped. 1.14 support could perhaps be re-added but that would mean project restructuring and I don't have the time for that at the moment. If you need a version for either of these versions ask nicely and I may compile a new version with the improvements from recent pull requests.
----------, Jan 3, 2020

Fixed:
  • java.nio.file.NoSuchFileException on new install (#249)
  • Plugin updater not working.
----------, Jun 23, 2019

Fixed:
  • NoSuchMethodError (#236) - This fix also means that the commons-io library is now removed.
----------, Jun 22, 2019

Thanks to @Stealth2800, @Justin42 and @jdkeke142 for the contribution(s)!
Paper is now required due to missing spigot api features.
Changes/Additions:
  • 1.14 support.
  • '/sm removetype (filter)' command - remove entities that only apply to the filter given.
  • MySQL performance improvements(see #231, there's loads)
  • The commons-io library is now temporarily included, that's why the jar has increased size.
Fixed:
  • Breeding MUSHROOM_COW doesn't produce offspring. #211
  • task-delay does not work #226
  • Baby animal dropping loot when kill #229
  • Fix colored wool drops
(reuploaded because it broke for some reason)
----------, Jun 3, 2019

Fixed:
  • Duplicate entry errors with mysql storage (#208)
----------, Apr 15, 2019

Fixed:
  • Stacked Mobs Losing their Stack Amounts (#207)
----------, Apr 13, 2019

Fixed:
  • Shears not breaking and provides an error message when not enough durability, still allowing to shear singularly however (#204)
  • Mythicmobs display name error (#202)
  • Garbage data in mysql tables, the table will now be emptied before writing new data.
----------, Apr 7, 2019

Fixed:
  • Junk entity data being kept from when entities are removed by other plugins/the server resulting in large cache file and maybe even errors (#184)
  • Drowned hand item not being checked on both entities. (#183)
You may need to delete 'cache.yml' and/or run '/sm cleanup' to help the problem.
----------, Mar 10, 2019

Fixed:
  • kill-step-damage error (#175)
  • "spawner" reason doesn't work? (#174)
If the stack-existing-entities option is enabled in the config, then entities that don't meet stacking criteria will now have a stack size of -2. They will not stack.
----------, Dec 27, 2018

Fixed:
  • Error when command is ran (#173)
----------, Dec 24, 2018

Now licensed under the GPL
Added:
  • Compress ingots/nuggets feature for mob drops.
  • Support for CustomDrops.
  • '/sm cleanup' command to remove single stacks from the cache.
  • New event, the StackDeathEvent.
Fixed:
  • Incorrect data being saved, data duplication, memory leaks. Single stacks are no longer saved, they will be restacked on chunk load.
https://github.com/Nathat23/StackMob-3/pull/170
----------, Dec 23, 2018

If you haven't seen already, we now have a discord server, https://discord.gg/TayWfga

The translation files have also been changed. These will be regenerated when the plugin is updated.
Added:
  • 'wait-to-stack' feature. When entities are spawned they have to wait before the first stack. Useful for mob grinders where damaged entities and fresh entities merge together making them inefficient.
  • New drops multiplication mechanics, 'multiply-drops.calculate-per-entity', which uses the loot table rather than just multiplying and hoping it is realistic.
  • Ability to use custom material for the stack stick.
  • Stack stick 'SPLIT_ONE' mode. Basically the same as when you feed an entity and it splits.
Fixed:
  • Drowned - Nautilus Shell Problem (#140)
  • Breeding mobs nametag bug (#142)
  • Entities stacks after chunk unload/load (#146)
Known issues:
  • /sm update error (#139)
----------, Dec 3, 2018

Added:
  • Stacking of pre existing mobs.
Fixed:
  • Extra entity being spawned when entities are split by being sheared.
----------, Nov 19, 2018

We now have a discord server, https://discord.gg/TayWfga
Added:
  • Jobs Reborn support for disabling player job rewards.
  • Fire ticks transferal to new entity.
  • Use craftbukkit event instead for zombies drowning.
  • Stacking stick DATA mode.
Fixed:
  • Fix no-ai whitelist error (#132)
  • Garbage data not being removed.
----------, Nov 17, 2018

Looks like the version uploaded last night was the wrong one - sorry about that!
----------, Nov 10, 2018

Added:
  • 'stack-reasons', 'stack-worlds' and 'stack-types' sections, should make config manipulation easier. @Agonia
  • 'remove-chunk-unload' config option to remove stacked entities when chunks unload rather than saving them. @ronc617
Fixed:
  • Infinite sheep splitting. (#133)
----------, Nov 9, 2018

This update adds back the ability to disable autosave by setting it to '0' in the config.

The latest WorldGuard builds are also now supported.

May fix errors experienced. If not please report them!
----------, Nov 4, 2018

StackMob 3.0 has now landed on SpigotMC, including many code improvements, performance enhancements and some (but big) features.
Added:
  • MySQL support for caching entity data.
  • Multiply-drops drops blacklist
  • Player statistics support.
  • Config auto-updater (finally) but it removes the comments - which is just how YAML is supposed to work.
  • New API additions, the EntityStackEvent and a custom 'traits' system.
Fixed:
  • After a zombie drowns, the drowned spawned does not have a stack value. (fixed for PaperSpigot users, a pull request is waiting for spigot.)
  • TagTask and StackTask being CPU intensive. The StackTask has been split into tasks for every world. The TagTask has been split into another task for the 'show-player-nearby' feature.
'multiply-drops.whitelist' has been removed. it was pointless and the problem it tried to fix wasn't even fixed properly.
----------, Nov 3, 2018

This update just fixes an NPE that occurs when killing a MythicMobs VanillaMob.
----------, Oct 26, 2018

The autosave feature can now be disabled if the 'autosave-delay' config value is set to 0.
----------, Oct 25, 2018

Fixed:
  • Lead duplication bug (#121).
  • MiniaturePets warning when not in use (#122).
  • Named mobs are being restacked on restart (#111)
----------, Oct 11, 2018

Fixes NPE in last release.
----------, Oct 7, 2018

Fixed:
  • Named mobs are stacking (#111)
  • Multiplied wool stacks have nbt tags (#116)
  • Villager career id (#109)
For the villager fix above you will need to add "
is-citizens-npc" in the 'check' section. Or you can reset your config.
----------, Oct 7, 2018

Fixes the SlimeSplitEvent error and the fact that destacked entities (using nametags) were restacked on the next restart.
----------, Sep 24, 2018

Fixed:
  • Infinite sheep dividing (#104)
  • NullPointerException when another plugin overrides drops (#101)
  • Possible fix for ConcurrentModificationException (#102)
A version checker for MiniaturePets has been added as the API has changed in the 2.0 releases.
----------, Sep 9, 2018

It's been a long time coming, but here it is! StackMob 2.4 for Spigot 1.13 exclusively.

Added:
  • 1.13 support! (support for older versions has been removed)
  • Stacking stick, which can be obtained with the command '/sm stick.' and has several modes to modify entities.
  • New death mode, 'kill-step-damage', which decreases the stack by the amount that the damage given could kill. Leftover damage is then taken from the new mob.
  • Caching autosave every 2 mins.
  • noAI option for spawned mobs.
  • Permissions for each of the death modes.
  • WorldGuard 7.0 support (WorldGuard 6.0 is no longer supported.)
  • MythicMobs 'ALL' option for the blacklist to prevent all stacking.
  • Improved performance.
Fixed:
  • Duplication bug with items in hands (#92)
  • Skeletons phasing (#75)
  • Guardian loot not added to multiply-drops whitelist (#91)
  • Updater not working.
An issue in spigot has been found with villagers careers so it is recommended that you update spigot if you haven't done so recently.

Add the following to config.yml:
Code (YAML):
# Enables the requirement for a permission for use of 'kill-all' or 'kill-step'.
death-type-permission
: false

# Add the leftover damage from the death of one entity onto another, and if the leftover damage could kill another entity the stack will decrease.
kill-step-damage
:
    enabled
: false
    # DeathEvent reasons that shouldn't trigger kill-step-damage.
    # List of bukkit names for death reasons can be found at https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
    reason-blacklist
:
       - ''
    # Entity types that shouldn't trigger kill-step-damage.
    type-blacklist
:
       - ''

# Disables the ai on entities.
no-ai
:
    enabled
: false
    use-whitelist
: false
    types-whitelist
:
       - ''
 
Add the following to lang.yml:
Code (YAML):
# The display information for the 'stick of stacking' which can be obtained with the command '/sm stick'.
stack-stick
:
    name
: '&6The Stick Of Stacking'
    lore
:
       - '&eRight-click an entity to perform selected mode.'
        - '&eShift + right-click an entity to change current mode.'
        - '&bAvailable modes:'
        - '&dSTACK_ONE &7-&a Stack one entity.'
        - '&dSTACK_NEARBY &7-&a Stack all entities in the chunk.'
        - '&dUNSTACK_ONE &7-&a Removes the stack meta from one entity'
        - '&dUNSTACK_NEARBY &7-&a Removes the stack meta from all entities in the chunk.'

It would be best to however delete both configs so that they regenerate as several changes have been made.
----------, Sep 1, 2018

This will be the last release that supports 1.8-1.12. Spigot 1.13 has many changes that would end up making the source more messy than it already is to support these versions!
Forgot to remove the food required with "multiply.breed"
----------, Jul 15, 2018

This will be the last release that supports 1.8-1.12. Spigot 1.13 has many changes that would end up making the source more messy than it already is to support these versions!

Fixed:
  • StackMob Task #25 Bug #71
  • Splitting when using unused nametag #82
  • Fix entity duplication bug with "multiply.breed"
----------, Jul 15, 2018


As the title states.
----------, Jun 23, 2018

Experience multiplication has been changed! See the below for what to add to your configuration file.

This also might be the last release that supports 1.8-1.12.

Added:
  • Drop lead when one leashed and one unleashed entity merge. #63
  • Ability to kill one from stack using api #44
Fixed:
  • Pigs only take carrots for breeding #52
  • Divide on-name:true doesn't work on villagers. #49
  • Cache file and server crash. #47
  • StackMobs incorrectly handling cancelled events. #54
  • Made villager differentiation more specific. #56
  • Zombie'ish entities glitching through walls on kill. #53
The multiply-exp options have been completely changed, remove the current ones and add the following:
Code (YAML):
# Multiplies the experience dropped on kill-all/kill-step.
multiply-exp
:
    enabled
: true
    # Algorithms that should be used for multiplying experience.
    # LEGACY - algorithm used in StackMob v2.2.9 and older
    # MINIMAL - only add a small amount of extra experience.
    # NORMAL - the default amount of extra experience.
    # GENEROUS - adds a significant amount of extra expierence.
    # CUSTOM - use a custom multiplier for the extra experience.
    # CUSTOM_RANDOM - same as CUSTOM but makes multiplier a bit random.
    algorithm
: NORMAL
    # Used when the CUSTOM or CUSTOM_RANDOM mode is used above.
    custom-multiplier
: 1.0
----------, Jun 23, 2018

Fixed:
  • MythicMobs blacklist not working.
  • MythicMobs tags not showing the name of the mob.
There may also be a small performance improvement as well.
----------, Apr 8, 2018

Fixed bug with the version checker.
----------, Apr 1, 2018

Added:
  • Multiplication limit for multiply-drops, see below for what to add.
Fixed:
  • Error with Spigot 1.8 servers.

Under the 'multiply-drops' section, add the following:
Code (YAML):
# The amount of entities that the loot should be dropped for in a stack.
    # Useful if there is a high max-stack value, to prevent lag.
    entity-limit
: 50
----------, Mar 30, 2018

This update addresses the above, however depending on your server the impact will vary.

A configuration option was added to change the interval of updates, add the following to your config.yml file under the 'tag' section.
Code (Text):
# The delay between updates of the name tag.
    interval: 5
----------, Feb 26, 2018


As title states, there may also be a small performance increase as well.
----------, Jan 24, 2018

There were several issues with the sql support, so for now, this is v2.2.3 but with the fixes found in newer versions.
----------, Jan 21, 2018

There were some issues with SQL being laggy and the worldguard version detection, this update aims to fix it.

StackMob may also work better with plugins that modify entity drops.
----------, Jan 7, 2018


This update fixes some issues with the SQL support.

There is also a new config option, 'database-name' to make the database name customizable, add this under the 'mysql' section.

The command '/sm fixall' can also be used if there were any issues in this update.
----------, Jan 3, 2018

Added:
  • MySQL support for caching entity sizes.
  • Auto-save task for caching regardless of what type used.
Fixed:
  • Error thrown when using out of date WorldGuard.
Add the following to the config:
Code (YAML):
# When the server is restarted, all the stack sizes are saved to disk.
caching
:
    # Stack data can be saved to disk every x minutes.
    # This is useful so that in the event of a server crash, not all stack data will be lost.
    autosave
:
        enabled
: true
        # The amount of time between saves, in seconds.
        interval
: 150
    # Instead of using flat files for storage, a mysql server can be used.
    mysql
:
        enabled
: false
        # Server details should be entered below, if enabled above.
        server-ip
: localhost
        server-port
: 3306
        username
: root
        password:
----------, Jan 2, 2018

There was a debug message accidentally left in the last update, this removes it.
----------, Dec 24, 2017

Fixed:
  • Issue with the server crashing sometimes when chickens laid eggs. (GitHub issue #9)
  • Extra mob drop algorithm would only drop stacks.
----------, Dec 21, 2017

Fixed:
  • Entities phasing though blocks (#13)
----------, Dec 19, 2017

Added:
  • WorldGuard support. You can disable the stacking of entities in regions by adding the 'entity-stacking' flag with the value 'DENY'.
  • 'show-player-nearby' option in the config so the name tag above entities only appear when in the range of the entity (requires ProtocolLib)
  • 'multiply.small-slimes' option to enable the multiplication of the small slimes when a big slime is killed.
  • Breed-all for animals.
Fixed:
  • Some bugs, please retest if you were experiencing them before.
Under 'multiply' add:
Code (Text):
     # Multiply the amount of small slimes spawned when a big slime is killed.
     small-slimes: true
     # When an entity is fed it's food, spawn a new stack with the correct number of children.
     breed: false
Add to the end:
Code (Text):
# If WorldGuard is installed, enable support for it.
worldguard-support: true
Add under 'tag':
Code (Text):
    # Only show the name tag if the player is near the entity.
    show-player-nearby:
        enabled: true
        # Only display the tag to the player if the player is in this area of the entity.
        x: 10
        y: 3
        z: 10
----------, Dec 16, 2017

The title is basically everything.
----------, Nov 19, 2017


Added:
  • Feature so entities only stack if there are more than a certain number of the same type in the stack check area set in the config.
  • Entity name translations file.
Fixed:
  • Some errors, tell me if you experience any more.
Make sure to add the below to use features in this update!
Code (YAML):
# Don't stack until there are more than the number specified of entities of the same type in the check area set above. Set to 0 to disable this feature.
dont-stack-until
: 5
StackMob is also now 1 year old, thanks for all the support!
----------, Oct 22, 2017

Yet Another Chicken Egg Fix
----------, Sep 10, 2017

Fixed:
  • Chicken egg multiplication causes StackOverFlow exception.
  • High ram usage.
Added:
  • Bigger stack priority when stacking.
  • List of items that only get droped once for every entity in the stack.
  • More default drop-whitelist items.
Add these to the config:
Code (Text):
# If bigger stacks should get priority when stacking on the task.
big-priority: true
Under the multiply-drops section:
Code (Text):
# Only drop one item per entity.
    drop-one-per:
        - EMERALD
        - NETHER_STAR
        - TOTEM
----------, Sep 7, 2017

Fixed:
  • Typo with no permission message.
  • Experience drops are not multiplied correctly.
  • Damage from players to mobs was not multiplied.
  • Minor error on startup if using old spigot versions.
Also, the 'special' options have been added back for max stack size and tags. Add the below to your config to use this.
Code (YAML):
  # Custom rules for specific entities.
custom
:
    # Example (remove hashtags to make this work):
    #PIG:
    #    stack-max: 25
    #    tag:
    #        format: '%size%x Piggy'
    #        always-visible: true
    #        remove-at: 1
 
----------, Aug 26, 2017

Fixed:
  • The amount of experience dropped with multiply experience.
  • Shears would not take damage with shear-all options.
  • Entities did too much damage to players and vice versa.
  • The '/sm reload' command.
Also a small API was added, see the main page for implementation.
----------, Aug 21, 2017

Again, hopefully this is the last time.
----------, Aug 17, 2017

Fixed:
  • Ocelot stacks would split even if they weren't tamed.
  • Sheep stacks would still divide even if the stack size was below two when shearing.
  • Modified multiply exp to drop slightly more experience.
Added:
  • When entities are tamed, they are de-stacked.
  • When entities are named, they are de-stacked.

Add these to config:
Code (Text):
    # When a player tames an entity.
    tame: true
    # When an entity it named using a nametag.
    name: true
 
----------, Aug 17, 2017

Fixed entities becoming unstacked if the entity was in spawn chunks.
----------, Aug 15, 2017

Fixed:
  • Error when players get attacked.
Added:
  • Multiplication of experience from earlier versions. Add the following to your config to enable this:
Code (Text):
# Multiplies the experience dropped on kill-all/kill-step.
multiply-exp-enabled: true
----------, Aug 15, 2017

Fixed:
  • Having kill-step and kill-all enabled at the same time.
Added:
  • '/sm stats' has been re-added.
----------, Aug 14, 2017

Fixed:
  • 'kill-all' sill spawning another entity.
  • StackOverflowException when chickens lay eggs.
  • The default multiply drops didn't include witch drops.
----------, Aug 13, 2017

Fixed:
  • Sheep wool wouldn't get duplicated.
  • Too many chicken eggs would get duplicated.
Configuration changes:
  • "multiply-damge-received" should be changed to "multiply-damage-received"
----------, Aug 12, 2017

A long due update, which while doesn't add many new features, it makes the plugin easier to understand and use, like a coating of fresh paint.

NOTICE: (if this is not a new installation.)
StackMob 2.0 is not an in-place update, it requires you to move your existing configuration file to a safe place, so a new config can be generated, so you can reconfigure using the new format. You will also need to install the conversion tool so you don't loose your stack amounts! ( https://www.spigotmc.org/resources/stackmob-2-conversion-tool.45495/)

Changes:

  • Better configuration.
  • Support for miniaturepets (when the API is fixed.)
  • Restyled commands.
  • Different stack format.
  • Added MythicMobs blacklist.
----------, Aug 12, 2017

Resource Information
Author:
----------
Total Downloads: 181,125
First Release: Oct 2, 2016
Last Update: Jul 18, 2024
Category: ---------------
All-Time Rating:
231 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings