Перейти к содержимому
Mineforgian

PotionPacker

Allows potions to stack using the Paper Data Component API.

Загрузки
808
Подписчики
6
Обновлён
8 апреля 2026 г.
Лицензия
MIT

Опубликован 30 декабря 2025 г.

PotionPacker

PotionPacker is a lightweight utility plugin that allows potions to stack using the Paper Data Component API (MAX_STACK_SIZE) — without NMS or reflection.


Features

  • Stack normal, splash, and lingering potions
  • Per-type stack size configuration
  • Optional profile-based system with permissions and priorities
  • Live config reload support

Profile system

PotionPacker supports an optional profile-based mode:

  • Profiles are enabled via a config toggle
  • Each profile is bound to a permission:
    potionpacker.profile.<profile_name>
    
  • If a player has multiple profile permissions, the profile with the highest priority is used
  • Profiles inherit missing values from the default profile

Commands

Command Description
/potionpacker reload Reload the configuration

Aliases are configurable (default: /pp)


Permissions

Permission Description
potionpacker.reload Allows reloading the config
potionpacker.profile.<name> Assigns a stack profile to a player

Ченджлог

1.2.2Релиз26.1.1, 26.1.2, 26.2 · 8 апреля 2026 г.
  • Added support for 26.1
1.2.1Релиз1.21.9, 1.21.10, 1.21.11 · 28 февраля 2026 г.
  • Fixed Creative mode overstack handling.
  • Internal package rename (pspacker → ppacker).
1.2.0Релиз1.21.9, 1.21.10, 1.21.11 · 13 января 2026 г.
  • Added configurable command aliases.
  • Fixed tab completion for command aliases.
1.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 12 января 2026 г.
  • Added optional stack profiles: different potion stack sizes per permission (potionpacker.profile.<name>), with priority-based selection.
  • Improved /pp reload: now clears profile cache and re-applies stack sizes for all online players immediately.
  • Fixed an edge case where dropping potions outside the inventory could delete extra items — extra potions are now dropped naturally instead.

Комментарии

Загружаем…