Sueta
VO

VoidBounce | Simple, Lightweight & Configurable

1.0

Simple Void Bounce plugin that suits your needs!

·Plugin

VOIDBOUNCE

By 8ML

FEATURES:
Integrated API
Lightweight
Customizable

COMMANDS:
/bouncetoggle <player> - Toggle the bounce for a player

API:

API
//Set Bounce Enabled/Disabled for a player
    public static void setBounce(Player player, Boolean value) {
        Config.bounce.put(player, value);
    }
    //Set Bounce Disabled/Enabled for the whole server
    public static void setEnabled(Boolean value) {
        Config.enabled = value;
    }
    //Change Configuration Value: "yvalue"
    public static void setYConfigValue(int value) {
        Config.conf.set("options.yvalue", value);
        Config.save();
    }
    //Change Configuration Value: "blocklaunch"
    public static void setBlockConfigValue(int value) {
        Config.conf.set("options.blocklaunch", value);
        Config.save();
    }
    //Change Configuration Value: "permissions"
    public static void setPermissions(Boolean value) {
        Config.conf.set("options.permissions", value);
    }
    //Change Configuration Value: "cmdpermission"
    public static void setPermissionCMD(String value) {
        Config.conf.set("options.cmdpermission", value);
    }
    //Change Configuration Value: "permission"
    public static void setPermissionMAIN(String value) {
        Config.conf.set("options.permission", value);
    }

CONFIG:

Config File
options:
 
  Set to true if you want to use permissions
  permissions: disabled

  If permissions is set to true, you can edit the permission
  here
  permission: 'voidbounce.main'

  Permission to use the /bouncetoggle <player> command
  cmdpermission: 'voidbounce.cmd'

  The bouncepower
  blockslaunch: 1

  How low do you have to be for the bounce to work
  (Usually 0)
  yvalue: 0

Similar projects

Plugin →