Tags
Creators
Details
Licensed ARR
Published 9 months ago
Updated 5 months ago
All versions
1.2.5
Release
NxCodex 1.2.55 months ago 13
Compatibility
Minecraft: Java Edition
26.1.x
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.5
Platforms
Paper
Purpur
Spigot
Changes
Version 1.2.5 - Latest Release
๐ New Features
๐ Modrinth Update Checker
- Modrinth API Integration: Now uses the official Modrinth API instead of Spigot
- Configurable Project ID: Set your Modrinth project ID in
config.yml - Customizable Messages: Update notification message is now fully customizable in
lang.yml - Smart Caching: Update messages are cached and shown to admins when they join
- Color Support: Full hex color and gradient support in update messages
Configuration:
update-notifier:
enabled: true
on-join: true
modrinth-id: "RuKNgtS0"
Customizable Message (lang.yml):
update-notifier: "&#ffc84dA new version of NxCodex is available! &#DDDDDD(&#FFFFFFcurrent: &#FF0D0D%current% &#DDDDDD| &#FFFFFFlatest: �FF00%latest%&#DDDDDD)"
๐๏ธ Configurable Discovery System
- Toggle Discovery Mode: Enable or disable the zone discovery system
- Flexible Gameplay: Choose between exploration-based or instant access gameplay
- Per-Server Configuration: Perfect for different server types (survival vs creative)
Configuration:
discovery:
# If true, zones must be discovered by entering the region
# If false, all zones are unlocked by default
enabled: true
Discovery Enabled (true) - Default:
- Players must enter WorldGuard regions to discover zones
- Discovery messages and rewards are given on first entry
- Zones appear locked in the menu until discovered
- Perfect for survival/adventure servers
Discovery Disabled (false):
- All zones are unlocked by default for all players
- No discovery messages or rewards
- Players can teleport to any zone immediately
- Perfect for creative/hub servers
๐ Bug Fixes
Region Detection Improvements
- Fixed: Region detection now properly checks if player is inside the specific region
- Fixed: Empty or
_global_regions are now properly ignored - Fixed: Discovery system respects the
discovery.enabledconfiguration - Optimized: Region checks only occur when player changes block position
Player Data Loading
- Fixed: Players now properly receive all unlocked zones when
discovery.enabled = false - Fixed: Zone unlocking works correctly for both new and existing players
- Improved: Player data caching for better performance
๐ง Technical Changes
Dependencies
- Added: Gson 2.10.1 for JSON parsing (Modrinth API)
- Relocated: Gson to
fr.noxuwt.nxcodex.libs.gsonto avoid conflicts
Code Improvements
- Refactored: UpdateChecker to use Modrinth API v2
- Improved: PlayerListener with cached update messages
- Enhanced: CodexManager with discovery mode support
- Optimized: Region detection logic for better performance
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:9bNTbbcw"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:RuKNgtS0:9bNTbbcw"
}

