Requirements
- Java 17 or higher (required by Velocity)
- Velocity proxy server
Installation
- Maven
- Gradle (Groovy)
- Gradle (Kotlin)
VERSION with the latest version available on Maven Central.
Setup
Initialize Blade in your plugin’s initialization method usingBladeVelocityPlatform. You’ll need to inject both the PluginContainer and ProxyServer:
Features
Built-in Argument Types
The Velocity platform includes a built-in argument provider for:Player- Connected player lookupConsoleCommandSource- Console sender type
Adventure Components
Velocity uses Kyori Adventure’sComponent system for all text and messages. Configure permission messages and other text using Components:
Example Command
Next Steps
- Learn about creating commands
- Explore argument providers
- Understand permissions
- Read about Adventure Components