
NxCodex
Codex is a Minecraft plugin offering an interactive menu of areas to discover, with timed teleportations based on the player's rank. 🔗 Dependency: HeadDatabase ⭐ Recommended: LuckPerms 🧩 Compatibility: Minecraft 1.16.5 → 1.21.x
9
2
Список изменений
Fixes to Codex plugin code
Configuration files
- config.yml: Updated to match the content provided (teleport delays, headdb, menu, areas with itemsadder).
- messages.yml: Updated to match the content provided (messages in French, removing obsolete messages for delete and no_selection).
Java code changes
CodexZone.java
- Added
itemsadderfield to read the value from the config. - Changed
getIcon()to prioritize ItemsAdder > HeadDatabase > Material by default.
HeadUtil.java
Added support for the "itemsadder:" prefix in getHead().
- Added internal class
IAHelperto manage ItemsAdder items viadev.lone.itemsadder.api.CustomStack.
ZoneManager.java
- The attached file shows the
saveZone()method which sets default values, includingskull: "headdb:1234", but notitemsadder. If necessary, addsec.set("itemsadder", null);for consistency.
Features added
- Full support for ItemsAdder: zones can now use custom items via the
itemsadderfield in the config. - Other features (HeadDatabase, teleportation with delays, menu) were already implemented. ##Notes
- The compilation errors shown are due to the absence of the external dependencies (Bukkit API, HeadDatabase, ItemsAdder) in the IDE, but the code will work correctly at runtime with the correct dependencies.
- Make sure to add the ItemsAdder dependencies in the plugin.yml or pom.xml if necessary.
Файлы
NxCodex.jar(37.81 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.1.0
Загрузчики
PaperPurpurSpigot
Версии игры
1.16.5–1.21
Загрузок
2
Дата публикации
4 дн. назад
