Velocity
This page describes how to integrate Lamp with Velocity 3+, as well as what to expect out of it.
Setting up
Adding Lamp dependency
<dependencies>
<!-- Required for all platforms -->
<dependency>
<groupId>io.github.revxrsal</groupId>
<artifactId>lamp.common</artifactId>
<version>[VERSION]</version>
</dependency>
<!-- Velocity module -->
<dependency>
<groupId>io.github.revxrsal</groupId>
<artifactId>lamp.velocity</artifactId>
<version>[VERSION]</version>
</dependency>
<!-- Optional: Brigadier module -->
<dependency>
<groupId>io.github.revxrsal</groupId>
<artifactId>lamp.brigadier</artifactId>
<version>[VERSION]</version>
</dependency>
</dependencies>Optional: Preserve parameter names
Velocity-specific annotations
@CommandPermission
@CommandPermissionSupported Velocity types
Example
Last updated
Was this helpful?