En:
Crate Mod
Key acquisition can be configured via the config file.
The `key_interval_minutes` setting (default: 120, i.e., 2 hours) controls how often keys are granted. Keys are added directly to the player's inventory; the mod uses a "Ominous Trial Key" with unique NBT data, which cannot be used in a Trial Vault—it is exclusively for opening these crates.
Includes support for key drops from the Warden and the Wither.
`boss_key_drop_chance` (default: 30%) is configurable.
Features a loot pool mechanic:
Common: 44.6%,
Rare: 29.7%,
Epic: 14.9%,
Legendary: 6.8%,
Mythic: 3.4%,
Relic: 0.7%
Items added to each pool are distributed based on a 100% total; for example, if there are 4 items in the "Relic" pool, each has a 25% chance of being selected.
Includes LuckPerms support for servers.
Items can be added by ID:
`"modname:itemid (rarity) (1-64)"`
You can also add a LuckPerms permission/rank:
`"luckperms:permission (rarity) (number of days)"`
Commands:
`/case menu` – Opens the crate menu (displays items and their respective pools).
`/case config reload` – Reloads the configuration file.
`/case give key (username)` – Grants a key to a player (requires operator status).
Credits:
WeCursed: Mod concept.
Vsp210: Implementation, coding, and file compilation.
Required on both the server side and the client side.
Ru:
Мод на кейсы
можно настроить получение ключей от него в конфиге
за него отвечает key_interval_minutes = по умолчанию 120, это 2 часа. Ключи выдаются в инвентарь, используется зловещий ключ испытаний с уникальным NBT, его нельзя потратить в хранилище, только открыть кейс
Есть поддержка дропов с вардена и визера
boss_key_drop_chance = по умолчанию 30%, можно настроить
имеет механику пулов
common 44.6%,
rare 29.7%,
epic 14.9%,
legendary 6.8%,
mythic 3.4%,
relic 0.7%
Предметы добавленные в каждый пул, распределяются от 100%
4 предмета из пула relic = 25% на один предмет.
Имеет Поддержу Luckperms для серверов
Предметы можно добавлять по айди
"modname:itemid (редкость) (1-64)",
Также можно добавить привелегию из Luckperms
"luckperms:Привелегия (Редкость) (Количество дней)",
Комманды
/case menu открывает меню кейса, сбоку написанны предметы и их пулы
/case config reload перезагружает конфиг
/case give key (ник) выдает ключ игроку (требуется оператор)
Благодарности
WeCursed: идея мода
Vsp210: реализация самого мода, вайбкоддинг и компиляция файлов
требуется на Серверной стороне и клиентской стороне