![[IMG]](//proxy.spigotmc.org/caf885544bda7d371b62186ea47df1420cf6d2c6/68747470733a2f2f6170692e636f64656c6c612e61692f6170692f696d616765732f63396135383662376366633930386430363862306536636565343534303935632e706e67)
DISCLAIMER: THIS PLUGIN WAS MADE USING CODELLA IN 10 MINUTES. IT'S AN ADVANCED AI FOR MINECRAFT PLUGINS.
https://codella.ai
CodellaStacker is a lightweight and powerful Spigot/Paper plugin designed to significantly improve server performance by stacking nearby mobs into a single entity. It's perfect for servers with large mob farms or high entity counts, reducing lag while keeping gameplay balanced and configurable.
Features
Automatic Mob Stacking: Automatically detects and stacks mobs of the same type within a configurable radius.
Performance Boost: Drastically reduces the number of entities on your server, leading to lower CPU usage and a smoother experience for players.
Stacking Threshold: Set a minimum number of mobs required to create a stack, preventing small groups from being merged unnecessarily.
Configurable Blacklist: Easily prevent specific mobs (like Villagers, Golems, or any mob you choose) from ever being stacked.
Custom Stack Names: Customize the nameplate of stacked mobs using placeholders for the mob type and stack count (e.g., "Zombie x15").
Simple Commands: In-game commands to view stacking statistics and reload the configuration without a server restart.
Highly Configurable: Every major feature, from stacking radius to name formats, can be easily adjusted in the config.yml file.
![[IMG]](//proxy.spigotmc.org/18ed4e5e4785c2764eb091d3849556679c38d88c/68747470733a2f2f692e696d6775722e636f6d2f4165517a71656e2e706e67)
Commands & Permissions
|
/cstacker | Shows statistics about active mob stacks. | codellastacker.usage |
|
/cstacker reload | Reloads the configuration file. | codellastacker.reload |
*The main command also has the alias `/codellastacker`.*
Configuration
CodellaStacker is configured through a single, easy-to-understand file.
config.yml
This file controls all the core features of the plugin.
Code (YAML):
# CodellaStacker v1.0.0 - Configuration File
# For support, contact Codella.
# The minimum number of mobs of the same type in the specified radius required to form a stack.
# For example, if set to 3, mobs will only be stacked if there are 3 or more of the same type nearby.
stack-threshold
: 3
# The radius (in blocks) to check for nearby entities to stack.
# A smaller radius is better for performance but may stack less often.
stack-radius
: 8
# Mobs in this list will NOT be stacked.
# Use official EntityType names: https://papermc.io/javadocs/paper/1.20/org/bukkit/entity/EntityType.html
blacklist
:
-
"VILLAGER"
-
"WANDERING_TRADER"
-
"IRON_GOLEM"
-
"PLAYER"
-
"ARMOR_STAND"
-
"ITEM_FRAME"
# The format for the display name of a stacked mob.
# Use %type% for the mob type and %amount% for the stack size.
# You can use standard Minecraft color codes with '&'.
stack-name-format
:
"&e%type% &fx&a%amount%"
Dependencies
CodellaStacker has
no dependencies. It is a standalone plugin.
Installation
1. Download the latest version of CodellaStacker.
2. Place the `CodellaStacker.jar` file into your server's `plugins` folder.
3. Restart your server.
4. Configure the `config.yml` file in the `plugins/CodellaStacker` directory to your liking.
5. Run `/cstacker reload` to apply any configuration changes.
![[IMG]](//proxy.spigotmc.org/938118ac38955cb3236b1ec70ec016352bc0fbbb/68747470733a2f2f63736c2e6f72672f7465656e63616d702f77702d636f6e74656e742f75706c6f6164732f73697465732f31322f323032322f30312f646973636f72642e706e67)