A Minecraft plugin for Paper/Spigot 1.21.1 that implements a special Elytra system with radius-based restrictions.
This plugin creates a "OneWay Elytra" system where certain Elytras can only be used within a configurable radius around a spawn point. Normal Elytras work as usual and are not affected.
- Radius-based Elytra usage: OneWay Elytras can only be worn within a defined radius around the spawn point
- Automatic Elytra management:
- Players automatically receive a OneWay Elytra when entering the radius
- The Elytra is automatically removed when players leave the radius (only when not gliding)
- Action bar warning when chestplate slot is occupied: "Remove your chestplate first to receive the OneWay Elytra!"
- Abuse prevention:
- New gliding cannot be started outside the radius
- Players already flying can continue their flight until landing
- Landing detection: When a player lands outside the radius, the Elytra is automatically removed
- Flexible removal modes:
MOVE_TO_INVENTORY: Elytra is moved to inventory (or dropped if full)DROP: Elytra is immediately deleted (cannot be picked up)
- Multilingual support:
- German (de) and English (en) language files included
- All messages can be customized in
lang/de.ymlorlang/en.yml - Config option
lang: deorlang: ento switch languages
- Download the
OneWayElytra-1.0.0.jarfile - Place it in your server's
pluginsfolder - Restart your server
- Configure the spawn point and radius (see below)
The configuration file is located at plugins/OneWayElytra/config.yml:
# OneWay Elytra Plugin configuration
# Language: de = German, en = English (message files in plugin folder: lang/de.yml, lang/en.yml)
lang: en
# Spawn point (world + coordinates)
spawn:
world: "world"
x: 0.0
y: 64.0
z: 0.0
# Radius in blocks
radius: 100
# Remove mode when leaving zone: MOVE_TO_INVENTORY or DROP
removeMode: "MOVE_TO_INVENTORY"
# Debug mode (extra console output)
debug: falseAll player-facing messages are stored in language files:
plugins/OneWayElytra/lang/de.yml- German messages (default)plugins/OneWayElytra/lang/en.yml- English messages
These files are created automatically on first start and can be edited to customize messages. Use & for color codes (e.g., &c for red, &a for green).
Sets the spawn point to your current position.
Sets the radius in blocks (e.g., /oe setradius 50).
Changes the removal mode:
MOVE_TO_INVENTORY: Elytra is moved to inventoryDROP: Elytra is deleted
Shows the current configuration (spawn point, radius, removal mode).
Reloads the configuration file and language files.
Gives a player one or multiple OneWay Elytras.
Marks the Elytra in your hand as a OneWay Elytra.
Removes the mark from the Elytra in your hand.
Checks if the Elytra in your hand is a OneWay Elytra.
Aliases: /onewayelytra, /oneway
onewayelytra.admin- Allows all admin commands (default: OP)onewayelytra.bypass- Ignores all OneWay Elytra rules (default: OP)
- Elytra marking: OneWay Elytras are marked via PersistentDataContainer (PDC) with a special tag
- Automatic distribution: When a player enters the defined radius without a OneWay Elytra, they automatically receive one
- Glide protection: When starting a glide, the plugin checks if the player is within the radius. Outside the radius, the start is blocked
- Landing detection: A task checks every 2 ticks if players have landed and removes the Elytra if they're outside the radius
- API Version: 1.21.1
- Dependencies: None (Paper API only)
- Java Version: 21
- Marking: PersistentDataContainer with NamespacedKey
onewayelytra:oneway
Problem: Elytra is not automatically given/removed
- Check if the spawn point is correctly set (
/oe info) - Check if you're within the correct radius
- Enable debug mode in the config (
debug: true) and check the console
Problem: Special characters are displayed incorrectly
- Make sure the config file is saved as UTF-8
- The build file is already configured for UTF-8
Copyright (c) 2026 JOTIBI
Permission is hereby granted to use this software on any Minecraft server (private or public) and within modpacks.
The following conditions apply:
- This software may NOT be sold, sublicensed, or monetized in any way, either alone or as part of a bundle.
- Modification of the software is permitted for own server operation, including public servers.
- Modified versions may NOT be published, distributed, uploaded, or shared in any form.
- Redistribution of the original software is NOT permitted.
- When this software is used in modpacks, visible credit to the original author must be provided (e.g. in the modpack listing, description, or a README file).
- This copyright and license notice must not be removed or altered.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.