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
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.
Potion Stacking for Inventories and Ground Items
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
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
- Stacks regular POTION items.
- Stacks SPLASH_POTION items.
- Stacks LINGERING_POTION items.
- Inventory potion stacking.
- Ground item potion stacking.
- Separate settings for every potion type.
- Separate max stack limits for inventory and ground items.
- Configurable delay before ground item stacking.
- Configurable list of allowed inventory types.
- Permission check for inventory stacking.
- Custom messages.
- Custom actions when stacking succeeds or permission is missing.
- Reload command.
- Inventory type debug command.
- Hex color support in messages.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
How It Works
hPotionStack works with three potion item types:
Code (Text):
POTION
SPLASH_POTION
LINGERING_POTION
SPLASH_POTION
LINGERING_POTION
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
Default allowed inventories:
Code (Text):
CRAFTING
ENDER_CHEST
BARREL
SHULKER_BOX
CHEST
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
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"
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.
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!"
noPermsInventory:
- "[Message] {prefix} You do not have permission to stack potions in inventories!"
onStackInventory:
- "[Sound] ENTITY_VILLAGER_YES"
- "[Message] {prefix} Potions have been stacked!"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Commands
Code (Text):
/hpotionstack
/hpotionstack reload
/hpotionstack inventory <player>
/hpotionstack reload
/hpotionstack inventory <player>
Code (Text):
/hpotionstack - shows the help message
/hpotionstack reload - reloads the configuration
/hpotionstack inventory <player> - shows the open inventory type of a player
/hpotionstack reload - reloads the configuration
/hpotionstack inventory <player> - shows the open inventory type of a player
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Permissions
Code (Text):
hpotionstack.admin - access to administrative commands
hpotionstack.stack - allows potion stacking inside inventories
hpotionstack.stack - allows potion stacking inside inventories
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Requirements
- Minecraft 1.16 or newer.
- Spigot, Paper or a compatible server fork.
- Vault
- PlaceholderAPI
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Installation
- Place hPotionStack.jar into your server's plugins folder.
- Restart the server.
- Open the generated configuration file.
- Configure potion stack limits and enabled modules.
- Give players hpotionstack.stack if they should be able to stack potions in inventories.
- Use /hpotionstack reload after editing the configuration.
Code (Text):
plugins/hPotionStack/config.yml
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Notes
- Only similar potions are stacked together.
- Inventory stacking requires hpotionstack.stack.
- Ground item stacking is controlled by the configuration.
- Every potion type can have its own inventory and ground stack limit.
- Allowed inventory types can be configured to prevent unwanted stacking behavior.
- Use /hpotionstack inventory <player> to check the type of the inventory a player currently has open.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.16, 1.17, 1.18
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.