Tags
Creators
Details
Licensed ARR
Published 9 months ago
Updated 5 months ago
All versions
1.1.0
Release
NxCodex 1.1.07 months ago 25
Compatibility
Minecraft: Java Edition
26.1
1.21
1.20
1.19
1.18
1.17
1.16.5
Platforms
Paper
Purpur
Spigot
Changes
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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:RuKNgtS0:oFV0EsrH"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:RuKNgtS0:oFV0EsrH"
}

