Mobpression - Compressing mobs into a smaller problem


#1

This is a discussion topic for the Ore project, Mobpression. View the full project on Ore for downloads and more information.


Mobpression

Inspired by MergedMob for Spigot
Commissioned by MaxIsHot @ ArsenalNetwork

What is it?

Have you ever wanted to have a way of easily managing your mobs into one small area automatically? Or perhaps optimise the amount of entities on your server? Well now you can!

Mobpression makes the life of any server owner easy by compressing all of your like-mobs together. Compressed mobs can stack on top of each-other to create a larger compression and you can kill a compressed mob to decrement the amount of mobs left!

How do I use it?

  1. Drop the plugin jar file into your /mods or /plugins folder.
  2. Launch your server and that’s it!

What’s to come in the future?

Currently, the plugin is in a working state, but there are improvements that I plan to make in the future.

  • Allow you to blacklist the compression of certain mobs using a list in the config. (Done!)
  • Add a configurable layout for the name of the compressed mob shown. Default: [2x]
  • Optimise the way that compressed mobs compress with eachother.
  • Add a management system which will allow you to remove/spawn compressed mobs in the world.

Configuration

general {
    # Adding a mob into this list will prevent it from being compressed
    compression-blacklist=[
        "minecraft:ender_dragon",
        "minecraft:wither"
    ]
}

You can reload the configuration with /sponge plugins reload

Support

If you ever need support with regards to our plugin(s), please don’t hesitate to contact us directly on our community Discord server. You can find it here: https://discord.gg/tKKeTdc


#2

A new version has been released for Mobpression, it is available for download here.


Compressing mobs into a smaller problem.


#3

A new version has been released for Mobpression, it is available for download here.


This version marks the official release of Mobpression for 1.12.2.


#4

A new version has been released for Mobpression, it is available for download here.


Changelog for Version 1.0.1:
  • Invalid entities will be removed automatically to prevent a cache clog-up.
  • Updated the README.md on GitHub.

#5

A new version has been released for Mobpression, it is available for download here.


Changelog for Version 1.0.2-SNAPSHOT:

  • Added a configuration which allows you to blacklist mobs (by their ID) in the configuration (mobpression.conf)
  • You can reload the configuration by running /sponge plugins reload
  • Changed the version in Ore to match that of the JAR file from the download.

Configuration:

general {
    # Adding a mob into this list will prevent it from being compressed
    compression-blacklist=[
        "minecraft:ender_dragon",
        "minecraft:wither"
    ]
}

I realised that there was an issue where mobs could break after a restart if the chunks weren’t loaded and errors would be present (a lot of them). In this update, mobs will no longer break, but the cache will no longer be cleared at a certain interval. This will not cause any issues directly, but the database file may grow in size as time goes on depending on the size of your server.