Sueta

⭐PolyStacking⭐High-Performance Mob & Item Stacking [1.21-26.

1.4.1-RELEASE

The plugin which aiming High-performance mob & item stacking

·Plugin

Why PolyStacking?
Most stacking plugins choose between "Features" and "Performance.
⚡PolyStacking⚡ gives you both. Built for high-traffic servers, it utilizes optimized scanning and localized client-side translations to ensure your TPS stays at 20.0 while your players enjoy a beautiful, lag-free experience.

⭐ PolyStacking Plugin ⭐

⚡PolyStacking is the ultimate solution for reducing server lag (TPS) and improving FPS for players by efficiently stacking entities on the ground and mobs in the world. Built with a "Lazy Evaluation" logic, it delivers extreme performance without heavy background loops!

✨ Feature Highlights

  • Hybrid Server Technology: Automatic runtime detection.
    - On Paper: Uses native Adventure/JSON components for client-side translation! (e.g. Thai players see "เพชร", English players see "Diamond").
    - On Spigot: Falls back to optimized Legacy Strings to ensure 100% compatibility.
  • ⚡Extreme Performance: Uses a modern Lazy Evaluation logic. No heavy background tasks—calculations only happen when needed!
  • ⚡NBT Driven: No heavy databases or external files. All data is tied to the entity via PersistentDataContainer.
  • ⚡Smart Mob Stacking: Stack cows, pigs, sheep, and chickens with support for age (babies/adults) and sheep colors.
  • ⚡Intelligent Item Stacking: Automatically merges items on the ground within a customizable radius.
  • ⚙️Dynamic Gradients: Stack amounts change color dynamically (Lime → Red → Magenta ) based on quantity.
  • ⚙️HEX Color Support: Custom prefixes and display formats support &#RRGGBB hex codes.
  • ⚙️Total Customization: Every message, prefix, scan interval, and stack radius is now configurable, Even Show display names even for single (1x) items or mobs with a simple config toggle!.
  • Epic Stack Flair: Stacks exceeding 1,000 items get a special ★ symbol and a unique highlight.

⭐ [NEW!] Mob Stacking Support!

We have expanded PolyStacking from just items to now fully supporting the most common farm animals to keep your server running fast!

⚙️ [NEW!] Fully Configurable Mobs ⚙️
You can now add or remove ANY mob type directly in the configuration!

  • Default Support: Cows, Pigs, Chickens, Sheep.
  • Full support for Custom Wool Colors!
  • Customizable whitelist to fit your server's needs.

Currently Default Supported Mobs Stack:

  • Cows
  • Pigs
  • Chickens
  • Sheep (Full support for Custom Wool Colors!)

Smart Stacking Features:

  • Age-Aware: Adults only stack with adults, and babies only stack with babies.
  • Interaction Support: Works with Shearing, Milking, and Breeding.
  • Dynamic Splitting: When a stacked mob dies, its children are released one-by-one!
  • [NEW!] Vanilla Protection: Option to only stack Vanilla mobs, ignoring custom mobs from other plugins.

⚙️ Commands & Permissions


Command:

/polystacking reload - Reloads the configuration instantly.

Permission:

polystacking.reload - Access to reload the plugin.

⚙️ Configuration
Full control over intervals, radii, and every single message. Every color supports HEX Codes using &#RRGGBB format.

# Performance Tuning
performance:
  item-task-interval: 20    # 1 second
  mob-task-interval: 100    # 5 seconds
  item-stack-radius: 4.0
  mob-stack-radius: 5.0

# Stacking Behavior
stacking:
  max-item-stack: 1000
  max-mob-stack: 100
  mob-whitelist:
     - COW
    - PIG
    - CHICKEN
    - SHEEP
  only-vanilla-mobs: true

# Advanced Visuals
visuals:
  item-enchants-glowing: false
  item-display-name: true
  item-show-single-name: false
  pickup-animation: true
  item-display-format: "&e&l▶ %colorful_quantity% &7%name%"

⚙️ ️How to install ⚙️
1. Download the polystacking-release.jar.
2. If you are upgrading from 1.1-SNAPSHOT, it is recommended to delete your old config.yml.
3. Place the plugin in your plugins folder.
4. Restart your server.
5. Enjoy a lag-free experience!

⭐ Support & Reviews ⭐
If you have any issues, please don't use the review section for bug reports! Instead, contact me directly or post in the discussion thread.

If you love PolyStacking, please leave a ⭐⭐⭐⭐⭐ review to support future development!

Similar projects

Plugin →