MatrixGliders is a Minecraft plugin that enhances gameplay by introducing customizable gliders for players. It features an intuitive GUI for managing and equipping gliders, seamless PlaceholderAPI integration for displaying player statistics, and robust permissions for command management. The plugin also supports custom model data, and integrates with ItemsAdder and Oraxen for even more customization options. Perfect for adding a new dimension of fun and functionality to your Minecraft server!
JavaDocs: https://matrixcreations.github.io/MatrixGliders-API
Documentation: https://github.com/MatrixCreations/MatrixGliders-API/wiki
Caution
You need to have the latest version of the MatrixGliders JAR file for it to work properly.
To use MatrixGliders in your project implement MatrixGliders dependency into your Maven/Gradle project.
- Add this in your dependency section
Caution
Replace "VERSION" with latest release version given up.
<dependency>
<groupId>org.itsharshxd</groupId>
<artifactId>matrixgliders</artifactId>
<version>VERSION</version>
<scope>system</scope>
<systemPath>PATH_TO_THE_PLUGIN_JAR_WITHOUT_SPACE</systemPath>
</dependency>
- Add this in your dependency section
Caution
Replace "VERSION" with latest release version given up. (Don't include "v")
dependencies {
compileOnly files('PATH_TO_THE_PLUGIN_JAR_WITHOUT_SPACE')
}
- PlayerGlideEvent - Triggers when any player is in gliding state.
@EventHandler
public void whilePlayerGlide(PlayerGlideEvent event) {
List<Player> players = event.getPlayers();
// Do something
}
- GlidingStartEvent - Triggers when any player starts gliding.
@EventHandler
public void glidingStartEvent(GlidingStartEvent event) {
Player player = event.getPlayer();
// Do something
}
- GlidingEndEvent - Triggers when any player stops gliding.
@EventHandler
public void glidingEndEvent(GlidingEndEvent event) {
Player player = event.getPlayer();
// Get the cause, which led the player to stop gliding! It can be either "LANDING" or "DISCONNECT".
Cause cause = event.getCause();
if(cause.equals(Cause.DISCONNECT)) {
// Do something
}
}
void startGlide(Player player) //Starts gliding for the specified player
void stopGlide(Player player, Cause cause) //Stops gliding for the specified player
boolean isGliding(Player player) //Checks if the player is currently gliding
void addGliderToPlayer(Player player, String gliderID) //Adds a glider to the specified player
void removeGliderFromPlayer(Player player, String gliderID) //Removes a glider from the specified player
boolean hasGliderEquipped(Player player) //Checks if the specified player has a glider equipped
void wearEquippedGlider(Player player) //Equips the glider for the specified player
void equipGliderToConfig(Player player, String gliderID) //Equips a glider to the config for the specified player
void disrobeEquippedGlider(Player player) //Disrobes the equipped glider for the specified player
void unequipGliderFromConfig(Player player) //Unequips a glider from the config for the specified player
boolean isValidGliderID(String gliderID) //Checks if the specified glider ID is valid
List<String> getTotalGliders() //Gets the list of all gliders
List<String> getPlayerGliders(Player player) //Gets the list of gliders for the specified player
Sound getGliderSound(String gliderID) //Gets sound string for the specified glider
void playSound(Player player) //Plays the sound which is associated with the glider if any