This directory contains comprehensive documentation for the NDCore library, a powerful toolkit for Minecraft plugin development on the Paper/Spigot platform. The documentation is organized to help you quickly find the information you need to leverage NDCore in your projects.
The /usage directory serves as the central hub for all NDCore documentation. Here you'll find:
- Detailed guides for each component of the library
- Usage examples for all classes and interfaces
- Best practices for implementing NDCore features
- Code snippets that demonstrate common patterns
The documentation includes standalone files for core components:
- Integration.md - Guide for integrating NDCore into your projects
- NDCore.md - Documentation for the main NDCore class
- NDPlugin.md - Documentation for the NDPlugin base class
Additionally, the documentation is organized into subdirectories that mirror the package structure of the NDCore library:
- builders/ - Documentation for fluent builders (ItemBuilder, TextBuilder, etc.)
- commands/ - Documentation for command registration and implementation
- configurations/ - Documentation for configuration management
- events/ - Documentation for custom events (PlayerFreezeEvent, etc.)
- exceptions/ - Documentation for specialized exceptions
- listener/ - Documentation for event listeners
- logger/ - Documentation for the logging system
- strategy/ - Documentation for logging strategies
- menu/ - Documentation for the menu framework
- objects/ - Documentation for utility objects
- other/ - Documentation for general utility classes
- persistence/ - Documentation for data persistence
- players/ - Documentation for player management
-
Start with Integration: If you're new to NDCore, begin with the Integration Guide to learn how to add NDCore to your project.
-
Explore by Package: Each package has an Introduction.md file that explains the purpose and components of that package. Start with these introductions to understand the capabilities of each package.
-
Dive into Classes: Once you understand a package, explore the individual class documentation files to learn about specific implementations and usage patterns.
-
Follow Examples: Each documentation file includes code examples that demonstrate how to use the components effectively.
- If you need to create rich text with colors and formatting, check the TextBuilder documentation
- If you want to create custom menus, explore the menu package documentation
- If you need to store persistent player data, see the persistence package documentation
- If you want to use JSON for configuration files, check the JSONConfiguration documentation
- If you need to register commands without plugin.yml, see the commands package documentation
- If you're using NDCore in your own plugin, refer to the NDPlugin documentation
If you find any issues or have suggestions for improving this documentation, please submit an issue or pull request to the NDCore repository.