Supported Types 
List all supported @Context types for platforms:
| Platform/Extension | Types | 
|---|---|
| Bukkit | CommandSender,Player,World,Location | 
| Velocity | CommandSource,Player,ServerConnection,RegisteredServer,ServerInfo | 
| BungeeCord | CommandSender,ProxiedPlayer, | 
| Minestom | CommandSender,Player,Instance | 
| Adventure | Audience | 
| Sponge | CommandCause,ServerPlayer | 
| Fabric (client) | FabricClientCommandSource,ClientPlayerEntity, | 
| Fabric (server) | ServerCommandSource,ServerPlayerEntity, | 
| JDA | User,Guild,Member,MessageChannelUnion,MessageChannel,Channel,SlashCommandInteractionEvent | 
| TelegramBots | User,Update,Message | 
TIP
These types are supported by default and represent context information for the command execution. Also, you can create a custom context provider for your types! Check out the Custom Context.
How to use 
java
@Command(name = "balance")
public class BalanceCommand {
    @Execute(name = "world")
    void balance(@Context Player sender, @Context World world) {
        // ...
    }
    
    @Execute
    void balance(@Sender Player sender) { // You can also use @Sender alias
        // ...
    }
} Norbert Dejlich
 Norbert Dejlich