promotional bannermobile promotional banner
premium banner
Rule-based elytra control for Fabric servers. Disable flight by dimension or weather. Fully server-side, lightweight, no client required.

Description

No Elytra Mod

No Elytra Mod is a lightweight server-side Fabric mod that gives you full control over elytra flight using a flexible rule-based system.

The mod does not remove or unequip elytra and does not affect Creative mode.
It simply enforces server rules and prevents flight when conditions are not met.

“You can wear it. You just can’t fly.”


✨ Features

  • Disable elytra flight based on rules:
    • 📍 Dimensions (minecraft:overworld, minecraft:the_end, modded worlds)
    • 🌧 Weather conditions (rain, thunder)
  • Modular rule-based architecture (easy to extend)
  • Elytra flight remains enabled:
    • in Creative mode
    • when no restriction rules apply
  • Fully server-side (no client installation required)
  • Command-based configuration
  • Automatic config saving
  • No datapacks required

🧠 How It Works

The mod uses a rule system:

  • each rule checks a specific condition (dimension, weather, etc.)
  • if any rule blocks flight, elytra gliding is disabled
  • players receive a contextual message explaining why

No teleportation, no damage, no hacks — just clean control.


⚙️ Requirements

  • Minecraft 1.21.7
  • Fabric Loader
  • Fabric API (latest for 1.21.7)
  • Java 21

📦 Installation

  1. Install Fabric Loader
  2. Place the mod .jar into the mods folder
  3. Start the server

A config file will be generated:

config/noelytra.json

🛠 Commands

📍 Dimension Rules

Disable flight in a dimension:

/noelytra dimension deny minecraft:the_end

Allow flight:

/noelytra dimension allow minecraft:the_end

List blocked dimensions:

/noelytra dimension list

🌧 Weather Rules

Disable flight in rain:

/noelytra weather deny rain

Disable flight in thunderstorms:

/noelytra weather deny thunder

Allow flight:

/noelytra weather allow rain

List blocked weather conditions:

/noelytra weather list

`

Tab-completion is supported.


🗂 Configuration

Current format:

{
  "rules": {
    "dimension": {
      "blocked": [
        "minecraft:the_end"
      ]
    },
    "weather": {
      "blocked": [
        "RAIN",
        "THUNDER"
      ]
    }
  }
}

`

Legacy format (auto-migrated):

{
  "blockedDimensions": [
    "minecraft:the_end"
  ],
  "blockedWeather": [
    "RAIN",
    "THUNDER"
  ]
}

All changes made via commands are saved automatically.


🔌 Extending the Mod

The mod uses Java's ServiceLoader to automatically load rules.

This makes it easy to add new restriction types such as:

  • time of day
  • biomes
  • player-specific rules

🤝 Compatibility

  • Designed for server environments
  • Works with modded dimensions (if properly registered)
  • Compatible with most Fabric-based server setups

📜 License

This project is licensed under the MIT License.