Skip to content

Flock-YT/ElytraFly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElytraFly

License: MIT

English | 中文

ElytraFly is a lightweight and balanced Spigot plugin for Minecraft 1.21+ that enhances the Elytra experience. It allows players to toggle creative-like flight with a simple command, while preserving vanilla-style durability mechanics.

✨ Features

  • Creative Flight: Toggle flight mode with /fly while wearing an Elytra.
  • Vanilla-Friendly Durability:
    • Durability is consumed only when the player is actually flying.
    • Perfectly mimics the vanilla Unbreaking enchantment formula (1 / (level + 1) chance).
  • Smart & Safe:
    • Flight is automatically disabled if the Elytra is unequipped or breaks mid-air.
    • Handles server restarts, player deaths, and world changes gracefully to prevent exploits.
  • Permission-Ready: A simple permission node (elytrafly.use) to control access.

📋 Requirements

  • Server: Spigot / Paper 1.21 or higher.
  • Java: Version 21 or newer.

🚀 Installation

  1. Download the latest .jar from the Releases page.
  2. Place it into your server's plugins folder.
  3. Restart the server.
  4. (Optional) Edit plugins/ElytraFly/config.yml to customize settings.

⚙️ Configuration

The plugin generates a config.yml file where you can customize:

  • Messages: Translate flight, error, and status messages.
  • Settings:
    • check-interval: Frequency of flight checks (default: 20 ticks).
    • Durability: Toggle durability consumption, use vanilla mechanics, or set a custom breakage chance.
    • World Management: Whitelist or Blacklist specific worlds for Elytra flight.

🎮 Commands & Permissions

Command Permission Description Default
/fly elytrafly.use Toggles creative Elytra flight. OP

About

鞘翅飞行插件

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages