CommandsAPI – The Ultimate Command Framework for Bukkit/Spigot & More
CommandsAPI is a powerful, type-safe and flexible Java command framework designed to simplify command development for
Spigot,
Paper, and other platforms.
Whether you're building a simple utility plugin or a complex command system, CommandsAPI gives you full control with clean, modern Java.
✨ Features
- Customizable Command Classes – Add descriptions, permissions, usage, aliases, etc.
- Subcommand Support – Organize command trees with true nested subcommands
- Advanced Argument System – Parse and validate strings, numbers, players, or your own objects
- Tab Completion – Built-in support for permissions-aware, dynamic suggestions
- Requirements System – Limit command execution to certain worlds, roles, or contexts
- Sender Awareness – Easily restrict execution to players or the console
- Runtime Unregistration – Dynamically add/remove commands if needed
⚙️ Installation
CommandsAPI is available via
JitPack.
Gradle
Code (Java):
repositories
{
maven
{ url
'https://jitpack.io'
}
}
dependencies
{
implementation
'com.github.Traqueur-dev.CommandsAPI:platform-spigot:VERSION'
}
Maven
Code (YAML):
<repositories
>
<repository
>
<id>jitpack.io</id
>
<url>https://jitpack.io</url
>
</repository
>
</repositories
>
<dependencies
>
<dependency
>
<groupId>com.github.Traqueur-dev.CommandsAPI</groupId
>
<artifactId>platform-spigot</artifactId
>
<version>VERSION</version
>
</dependency
>
</dependencies>
Be sure to
relocate the library when shading it, to avoid classpath conflicts.
Documentation
The full documentation is available on the
GitHub Wiki.
It includes guides for:
Prerequisites
- Java 21+ (for v4+)
- Paper/Spigot API
- Optional: Velocity or other platforms via platform modules
Contributing
We welcome community contributions! To get started:
- Fork the repository
- Create a feature branch
- Make your changes with clear commits
- Submit a pull request
Need Help?
- Found a bug? Open an issue on github
- Join the discussion on the repository
- ⭐ Don't forget to star the project if you like it!
Build modern commands in minutes — with CommandsAPI!