|
| 1 | +### SingularityLib 2.2.0 |
| 2 | + |
| 3 | +#### Overview |
| 4 | +SingularityLib is a Minecraft plugin API that accelerates plugin development by offering refined abstractions for commands, configuration, GUIs, items, entities, automatic component registration, database integration, and Discord JDA bootstrap support. |
| 5 | + |
| 6 | +Although this is labeled 2.2.0, this marks the first formally published ("initial") public release tag in the current release cycle. Future releases will follow semantic versioning once APIs stabilize further. |
| 7 | + |
| 8 | +> Still under active development. Please report bugs or feature requests via Issues. |
| 9 | +
|
| 10 | +#### Key Feature Areas (Current Scope) |
| 11 | +- Command System: Cleaner registration and future-ready structure for subcommand expansion. |
| 12 | +- Configuration Utilities: Streamlined config creation & structured access patterns. |
| 13 | +- GUI Toolkit: Base GUI creation (pagination & animation planned). |
| 14 | +- Item Framework: Configurable item definitions, interaction hooks, unique item management, item locking. |
| 15 | +- Entity Utilities: Configuration + storage helpers. |
| 16 | +- Auto-Registration: Reduced boilerplate for services/components. |
| 17 | +- Database Layer: MySQL support groundwork. |
| 18 | +- Discord Integration: JDA bootstrap with Slash Command support. |
| 19 | + |
| 20 | +#### Roadmap / Planned Enhancements |
| 21 | +- Paginated & Animated GUIs |
| 22 | +- Item enchantment & attribute enrichment |
| 23 | +- Custom entities & expanded entity attribute APIs |
| 24 | +- Subcommand & alias DSL for commands |
| 25 | +- Custom crafting recipe registration |
| 26 | +- Discord Text Commands & Event Listeners |
| 27 | +- Additional database backends (SQLite, MongoDB) |
| 28 | + |
| 29 | +#### Installation (Maven) |
| 30 | +```xml |
| 31 | +<repository> |
| 32 | + <id>jitpack.io</id> |
| 33 | + <url>https://jitpack.io</url> |
| 34 | +</repository> |
| 35 | + |
| 36 | +<dependency> |
| 37 | + <groupId>io.github.pinont</groupId> |
| 38 | + <artifactId>SingularityLib</artifactId> |
| 39 | + <version>2.2.0</version> |
| 40 | +</dependency> |
| 41 | +``` |
| 42 | + |
| 43 | +#### Installation (Gradle – Groovy) |
| 44 | +```groovy |
| 45 | +repositories { |
| 46 | + maven { url 'https://jitpack.io' } |
| 47 | +} |
| 48 | +
|
| 49 | +dependencies { |
| 50 | + implementation 'io.github.pinont:SingularityLib:2.2.0' |
| 51 | +} |
| 52 | +``` |
| 53 | + |
| 54 | +#### Installation (Gradle – Kotlin DSL) |
| 55 | +```kotlin |
| 56 | +repositories { |
| 57 | + maven("https://jitpack.io") |
| 58 | +} |
| 59 | + |
| 60 | +dependencies { |
| 61 | + implementation("io.github.pinont:SingularityLib:2.2.0") |
| 62 | +} |
| 63 | +``` |
| 64 | + |
| 65 | +#### Basic Usage |
| 66 | +```java |
| 67 | +public class Main extends CorePlugin { |
| 68 | + @Override |
| 69 | + public void onPluginStart() { |
| 70 | + // initialization logic |
| 71 | + } |
| 72 | + @Override |
| 73 | + public void onPluginStop() { |
| 74 | + // cleanup logic |
| 75 | + } |
| 76 | +} |
| 77 | +``` |
| 78 | + |
| 79 | +#### Suggested Adoption Flow |
| 80 | +1. Add dependency & validate server startup. |
| 81 | +2. Migrate base commands into the library’s command system. |
| 82 | +3. Refactor configs to the standardized config creator. |
| 83 | +4. Introduce GUI abstractions incrementally (prepare for pagination in future release). |
| 84 | +5. Integrate item/unique item logic where duplication or locking matters. |
| 85 | +6. Provide feedback on pain points → open issues. |
| 86 | + |
| 87 | +#### Compatibility Notes |
| 88 | +- If you are upgrading from earlier untagged snapshots, verify any refactors in command or item APIs. |
| 89 | +- Future 2.x releases may adjust GUI and command internals before an API freeze (targeting a later 2.x or 3.0 milestone). |
| 90 | +- Database abstraction may shift when new backends are introduced. |
| 91 | + |
| 92 | +#### Forward-Looking (Potential Breaking Areas) |
| 93 | +- GUI API (pagination/animation hooks) |
| 94 | +- Item attribute/enchantment extension points |
| 95 | +- Entity abstraction layering |
| 96 | +- Command alias/subcommand registration semantics |
| 97 | +- Database interface shape for multi-backend support |
| 98 | + |
| 99 | +#### Changelog (Initial Tag) |
| 100 | +All features are new for this first public tagged release. |
| 101 | +- Core abstractions (commands, configs, GUI base, items, entities) |
| 102 | +- Unique item & locking handling |
| 103 | +- Auto-registration system |
| 104 | +- MySQL integration baseline |
| 105 | +- Discord JDA slash command bootstrap |
| 106 | + |
| 107 | +#### Contributing |
| 108 | +PRs and issues welcome. Focus areas needing feedback: |
| 109 | +- Command API ergonomics |
| 110 | +- Desired GUI patterns (animation, pagination UX) |
| 111 | +- Item metadata extension needs |
| 112 | +- Database extensibility expectations |
| 113 | + |
| 114 | +#### Looking Ahead (Short-Term Priorities) |
| 115 | +1. GUI pagination & animation |
| 116 | +2. Subcommand & alias DSL |
| 117 | +3. Item attribute/enchantment composability |
| 118 | +4. SQLite backend integration |
| 119 | +5. Discord listener/event pipeline |
| 120 | + |
| 121 | +--- |
| 122 | +Thank you for trying SingularityLib! Your feedback will directly shape upcoming releases. |
0 commit comments