CommandsAPI - Enhanced Commands Creation
5.0.2CommandsAPI is a framework designed to enhance and simplify command management on Spigot servers.
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
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.Traqueur-dev.CommandsAPI:platform-spigot:VERSION'
}
Maven
<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:
- Installation & Setup
- Command & Subcommand Creation
- Using Arguments & Completions
- Using Requirements
- Custom Message Handlers
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!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta