https://github.com/jailgens/enchanted
A lightweight, annotation-driven command library.
https://github.com/jailgens/enchanted
annotation-command-framework command-framework paper spigot-commands
Last synced: 6 months ago
JSON representation
A lightweight, annotation-driven command library.
- Host: GitHub
- URL: https://github.com/jailgens/enchanted
- Owner: JailGens
- License: mit
- Created: 2022-11-05T23:16:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-06-06T19:22:28.000Z (7 months ago)
- Last Synced: 2025-06-06T20:27:35.117Z (7 months ago)
- Topics: annotation-command-framework, command-framework, paper, spigot-commands
- Language: Java
- Homepage: https://dev.jailgens.net/enchanted
- Size: 379 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Enchanted
Enchanted is a lightweight, annotation-driven command library.
## Quick Links
- [User Guide](https://dev.jailgens.net/docs/enchanted/getting-started)
- [JavaDocs](https://repo.jailgens.net/javadoc/snapshots/net/jailgens/enchanted-api/0.1.0-SNAPSHOT)
## Motivation
Many other command frameworks are too complex and support features that aren't really their job such
as complete internationalisation APIs, dependency injection, and configuration.
Another issue with almost all other command frameworks is that they delay command validation (verify
overloads, command names, etc.) until runtime. Enchanted can (*soon*) validate all of this at compile-time
thanks to its annotation processor.
## Features
| Feature | Enchanted |
|----------------------|-----------|
| Internationalisation | ❌ |
| Annotation Processor | ❌ |
| Command Overloading | ❌ |
| Suggestions | ✔ |
| Aliases | ✔ |
| Validation | ❌ |
| Service Loader | ❌ |
| Usage Generation | ❌ |
| Paper | ✔ |
| Discord4J | ❌ |
## Credit
- This project was inspired by [ACF](https://github.com/aikar/commands) and
[triumph-cmds](https://triumphteam.dev/library/triumph-cmds/introduction)