Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Function Elytra Enhance

Phoenix Nemo edited this page Nov 16, 2017 · 4 revisions

Elytra Enhance

Unlimited Elytra Gliding.

Command

/nu el

Toggle Elytra Power mode ON/OFF.

/nu el addfuel [durability]

Add item holding in hand as elytra fuel. There are 2 types of fuel:

  1. Simple one-time consumption fuel, just custom an item and use /nu el addfuel to save, this type of fuel can have only one in the configuration file, save another item will overwrite existing one.
  2. If [durability] presents, this item will be saved as durable fuel. This type of fuel can have multiple items and each of them have a unique id.
/nu el givefuel [player] [id] [amount]

Give [player] the fuel of [id] by [amount]. Every fuel item will be signed with random string in lore so this fuel item can not be stacked.

Permission

  • nu.elytratoggle To use /nu el command, defaults to all.
  • nu.addfuel To add item as fuel, defaults to op.
  • nu.givefuel To give fuel in specific id and amount to a player. Defaults to op.

Config

File fuel.yml

elytra_enhance_enabled: true
elytra_fuel:
  ==: org.bukkit.inventory.ItemStack
  type: SULPHUR
elytra_min_velocity: 1.2
elytra_max_velocity: 1.6
elytra_power_duration: 3
elytra_boost_max_height: 256
elytra_durability_notify: 10
elytra_fuel_notify: 10
disabled_world:
- world1
- world2
  • elytra_enhance_enabled - Trun ON/OFF this feature globally
  • elytra_fuel - To save fuel item data. Default is gun powder. DO NOT TOUCH - Use in-game command to change.
  • elytra_min_velocity - Elytra velocity value lower than this value can be boosted.
  • elytra_max_velocity - Elytra velocity boost value.
  • elytra_power_duration - On every fuel consume, set player velocity to elytra_max_velocity for elytra_power_duration seconds, so that player can climb up or fly in any direction or even make fly shows.
  • elytra_boost_max_height - Player Y position higher than this value will not be boosted.
  • elytra_durability_notify - When elytra durability less than this value, notifies player.
  • elytra_fuel_notify - When fuel item in player's pack less than this value, notifies player.
  • disabled_world - Disable this feature in specific worlds.

Usage

As op

  1. Make a customized item, or just any item.
  2. Hold this item and type /nu addfuel.

As player

  1. Wear on elytra.
  2. Store some 'fuel' in pack.
  3. Fly!