Introduction
Server Owner Usage
1.
Installation for server owners
2.
Configuration for server owners
3.
Command conversion
❱
3.1.
Single command conversion
3.2.
Single command conversion (with arguments)
3.3.
Entity selectors
4.
Skipping proxy senders
CommandAPI Setup
5.
Setting up your development environment
6.
Shading the CommandAPI in your plugins
7.
Using the annotation system
Creating Commands
8.
Command registration
9.
Command executors
❱
9.1.
Normal command executors
9.2.
Proxied commandsenders
9.3.
Native commandsenders
9.4.
Resulting command executors
9.5.
Handling command failures
10.
Arguments (in general)
❱
10.1.
Argument suggestions
10.2.
Safely typed argument suggestions
10.3.
Argument suggestions with tooltips
10.4.
Listed arguments
11.
Argument types
❱
11.1.
Primitive arguments
11.2.
Ranged arguments
11.3.
String arguments
11.4.
Positional arguments
❱
11.4.1.
Location arguments
11.4.2.
Rotation arguments
11.4.3.
AxisArguments
11.5.
Chat arguments
❱
11.5.1.
Spigot chat arguments
11.5.2.
Adventure chat arguments
11.6.
Entity & player arguments
11.7.
Scoreboard arguments
❱
11.7.1.
Scoreboard arguments
11.7.2.
Objective arguments
11.7.3.
Team arguments
11.8.
Miscellaneous arguments
❱
11.8.1.
Angle arguments
11.8.2.
Advancement arguments
11.8.3.
Biome arguments
11.8.4.
BlockState arguments
11.8.5.
Enchantment arguments
11.8.6.
Environment arguments
11.8.7.
Itemstack arguments
11.8.8.
LootTable argument
11.8.9.
MathOperation arguments
11.8.10.
Particle arguments
11.8.11.
Potion effect arguments
11.8.12.
Recipe arguments
11.8.13.
Sound arguments
11.8.14.
Time arguments
11.8.15.
UUID arguments
11.9.
Predicate arguments
❱
11.9.1.
Block predicate arguments
11.9.2.
ItemStack predicate arguments
11.10.
NBT arguments
11.11.
Literal arguments
❱
11.11.1.
Literal arguments
11.11.2.
Multi literal arguments
11.12.
Custom arguments
12.
Functions & Tags
❱
12.1.
Setting up functions & tags
12.2.
The SimpleFunctionWrapper class
12.3.
The FunctionWrapper class
12.4.
Function arguments
13.
Permissions
14.
Requirements
15.
Aliases
16.
Subcommands
Annotation-based Commands
17.
Annotation-based commands
18.
Annotations
19.
Registering annotation-based commands
CommandAPI Utilities
20.
Command conversion
Internal CommandAPI
21.
Internal CommandAPI
22.
Brigadier + CommandAPI
Java Tips
23.
Predicate tips
CommandAPI Contribution
24.
Introduction
25.
Project Structure
Upgrading guide
FAQ
Incompatible version information
Troubleshooting
Afterword
Light
Rust (default)
Coal
Navy
Ayu
Skepter Likes Purple
CommandAPI Documentation v6.0.0
Position-based arguments