An open API service indexing awesome lists of open source software.

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.

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)