lukeeey / JellyLegs

A Nukkit Plugin to bypass fall damage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JellyLegs

JellyLegs Discord

A Nukkit plugin allows you to disable taking fall damage! Great for a donator perk.

Permissions

Permission Default
jellyllegs.* false
jellylegs.toggle op
jellylegs.toggle.others op

For Developers

Events

There is a single JellyLegsToggleEvent that is fired when a player toggles their JellyLegs status. The event is cancellable.

API

In JellyLegsPlugin there are 2 methods for accessing or changing a players JellyLegs status.

Here is a full example:

JellyLegsPlugin jellyLegs = getServer().getPluginManager().getPlugin("JellyLegs");

jellyLegs.setJellyLegs(player, true);

if (jellyLegs.hasJellyLegs(player)) {
    player.sendMessage("You have Jelly Legs!");
}

About

A Nukkit Plugin to bypass fall damage

License:MIT License


Languages

Language:Java 100.0%