Home›Java›Mods›⭐ hPotionStack ⭐ [1.16.X-26.X] | PAPI, Vault, and more support!
⭐ hPotionStack ⭐ [1.16.X-26.X] | PAPI, Vault, and more support!
ModsJava

⭐ hPotionStack ⭐ [1.16.X-26.X] | PAPI, Vault, and more support!

Java mod listed for Minecraft 1.16–26.x. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
выфв (1).png

hPotionStack
Potion Stacking for Inventories and Ground Items
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━​
hPotionStack is a lightweight plugin that allows potions to stack in inventories and as dropped items on the ground.
The plugin supports normal potions, splash potions and lingering potions. Each potion type can have separate stack settings for inventory stacking and ground item stacking, including different maximum stack sizes and item-spawn delays.
hPotionStack also includes configurable inventory type protection, reload command, inventory type debug command, messages, actions and permission-based inventory stacking access.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━​
Main Features
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━​
How It Works
hPotionStack works with three potion item types:
Code (Text):
POTION
SPLASH_POTION
LINGERING_POTION
When inventory stacking is enabled, the plugin checks potion clicks inside allowed inventory types and combines similar potions up to the configured limit.
When ground stacking is enabled, the plugin checks spawned potion items after a configurable delay and merges similar nearby potion items up to the configured limit.
────────────────────────────────────────​
Inventory Stacking
Inventory stacking can be enabled or disabled globally and separately for each potion type.
Players need the permission hpotionstack.stack to stack potions inside inventories.
If a player does not have permission, the plugin can run configured actions from:
Code (Text):
actions.noPermsInventory
The plugin also supports a configurable list of allowed inventory types to prevent unwanted behavior in specific inventories.
Default allowed inventories:
Code (Text):
CRAFTING
ENDER_CHEST
BARREL
SHULKER_BOX
CHEST
────────────────────────────────────────​
Ground Item Stacking
Ground stacking can be enabled or disabled globally and separately for each potion type.
When a potion item spawns on the ground, the plugin waits for the configured delay and then tries to merge it with similar nearby potion items.
Each potion type has its own ground stack limit and delay.
This behavior is controlled through:
Code (Text):
settings.enable.itemSpawn
settings.stackSettings.<type>.itemSpawn.enable
settings.stackSettings.<type>.itemSpawn.maxStack
settings.stackSettings.<type>.itemSpawn.delay
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━​
Configuration
Default configuration example:
Code (Text):
settings:
  prefix: "&7[#FDBE00Server&7]"
  debug: true
  enable:
    inventory: true
    itemSpawn: true
  stackSettings:
    potion:
      inventory:
        enable: true
        maxStack: 3
      itemSpawn:
        enable: true
        maxStack: 5
        delay: 4
    splashPotion:
      inventory:
        enable: true
        maxStack: 64
      itemSpawn:
        enable: true
        maxStack: 64
        delay: 4
    lingeringPotion:
      inventory:
        enable: true
        maxStack: 48
      itemSpawn:
        enable: true
        maxStack: 48
        delay: 4
  inventories:
    - "CRAFTING"
    - "ENDER_CHEST"
    - "BARREL"
    - "SHULKER_BOX"
    - "CHEST"
────────────────────────────────────────​
Potion Settings
Each potion type has its own settings.
Code (Text):
inventory.enable
Enables or disables stacking inside inventories for this potion type.
inventory.maxStack
Maximum stack size inside inventories for this potion type.
itemSpawn.enable
Enables or disables ground item stacking for this potion type.
itemSpawn.maxStack
Maximum stack size for dropped items of this potion type.
itemSpawn.delay
Delay before the plugin tries to stack a dropped potion item. 20 ticks = 1 second.
────────────────────────────────────────​
Actions
The plugin includes action sections for inventory stacking feedback.
Code (Text):
actions:
  noPermsInventory:
    - "[Message] {prefix} You do not have permission to stack potions in inventories!"
  onStackInventory:
    - "[Sound] ENTITY_VILLAGER_YES"
    - "[Message] {prefix} Potions have been stacked!"
These actions can be used to notify players when stacking succeeds or when they do not have permission.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━​
Commands
Code (Text):
/hpotionstack
/hpotionstack reload
/hpotionstack inventory <player>
Command Description:
Code (Text):
/hpotionstack                    - shows the help message
/hpotionstack reload             - reloads the configuration
/hpotionstack inventory <player> - shows the open inventory type of a player
The inventory command is useful when configuring the allowed inventory type list.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━​
Permissions
Code (Text):
hpotionstack.admin  - access to administrative commands
hpotionstack.stack  - allows potion stacking inside inventories
Ground item stacking works automatically according to the configuration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━​
Requirements
Optional soft dependencies:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━​
Installation
  1. Place hPotionStack.jar into your server's plugins folder.
  2. Restart the server.
  3. Open the generated configuration file.
  4. Configure potion stack limits and enabled modules.
  5. Give players hpotionstack.stack if they should be able to stack potions in inventories.
  6. Use /hpotionstack reload after editing the configuration.
Configuration file:
Code (Text):
plugins/hPotionStack/config.yml
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━​
Notes

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.

⭐ hPotionStack ⭐ [1.16.X-26.X] | PAPI, Vault, and more support! is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18, 1.19 and newer. Downloaded 77 times (via Spigot). Download it and open it directly in the game.

Explore more