This repository was archived by the owner on Aug 9, 2025. It is now read-only.
🎮 NDCore v2.2.2
🎯 Release Overview
Version 2.2.2 introduces a new menu handling system, updates the package name, and improves plugin instance retrieval.
Additionally, text handling has been refactored to use Adventure API components.
🚀 Key Changes
-
Package Rename:
- Renamed package from
spigottominecraft. - Updated all package declarations and imports.
- Adjusted the project group in
gradle.propertiesand the main class path inplugin.yml.
- Renamed package from
-
Improved Plugin Instance Retrieval:
- Replaced
NDCore.instance()withJavaPlugin.getPlugin(NDCore::class.java)for improved reliability and
consistency. - Added utility conversion methods for
PlayertoNDPlayer,NDEconomyPlayer, andNDSecurityPlayer.
- Replaced
-
Menu Handling System:
- Introduced a
Menusystem with theMenuInterfacefor custom menu management. - Implemented
MenuClickEventandMenuClickListenerto handle menu interactions, enabling custom actions per slot. - Updated
NDCoreto register the new listener and integrate menu functionalities.
- Introduced a
-
Adventure API Text Handling:
- Refactored text handling to use Adventure API components for better text formatting and serialization.
- Replaced
String-based text handling with Adventure'sComponent. - Removed deprecated methods and updated APIs to align with the new component-based approach.
📦 Installation
- Download NDCore-Paper.jar
- Place the JAR file in your server's
pluginsfolder - Restart your server
- The plugin will load automatically as a dependency
💻 For Developers
Developers interested in utilizing NDCore's functionality should look into:
- The Lumina project for logging capabilities
Key components:
PersistentPropertyfor managing persistent dataPersistentListPropertyandPersistentMutableListPropertyfor managing persistent list dataTextBuilderfor Adventure API-based text formattingLocalizedMessagefor translation managementNDPlayerfor extensive player data management with conversion methods:economy()for economic functionalitysecurity()for secure player management
To use NDCore as a dependency, add the following to your plugin.yml:
depend: [NDCore]and import it via maven central:
Gradle
implementation 'dev.nelmin.minecraft:core:2.2.2'Gradle (Kotlin)
implementation("dev.nelmin.minecraft:core:2.2.2")Maven
<dependency>
<groupId>dev.nelmin.minecraft</groupId>
<artifactId>core</artifactId>
<version>2.2.2</version>
</dependency>📌 System Requirements
- Java 21 or higher
- Compatible with PaperMC 1.21.4 or higher
Full Changelog: 2.2.1...2.2.2