Elytraswap Serverside
A server-side Fabric mod that automatically swaps between a player's best chestplate and elytra upon taking off or landing.

What Elytraswap Serverside Changes
Elytraswap Serverside by MagicJinn automatically switches between a chestplate and an elytra when taking off or landing. While walking on the ground, a player stays protected by their chestplate, and upon launching into the air, the mod equips an elytra from the inventory. Once the flight ends and the player touches down, the armor is placed back into the chest slot.
The mod uses scoring and trigger rules ported from JJElytraSwap to pick the best gear in your inventory. When choosing a chestplate, it prioritizes higher defense values, armor toughness, custom item names, and the Protection, Mending, and Unbreaking enchantments. For elytras, it evaluates and chooses the best wings based on Mending and Unbreaking.
Built-in safety checks prevent unwanted equipment changes in specific situations. The system will never remove any chestplate or elytra that has the Curse of Binding enchantment, nor will it put on a broken elytra. It also ignores players who have an empty chest slot or those who are currently playing in Creative or Spectator mode.
How Flight Detection Works & Commands
Takeoff is detected by sending a temporary glider component on your equipped chestplate while you are airborne. By modifying equipment packets sent to your client, the game allows you to start gliding while still wearing chest armor. The actual server-side item swap only happens once you genuinely begin flying or land, meaning other nearby players continue to see and interact with your character as if you are wearing your chestplate until flight starts.
Individual players can check or change their personal swapping preferences using in-game commands. If a player prefers to manage their chest armor and wings manually, they can disable the feature for themselves at any time without affecting anyone else on the server.
- Run /elytraswap to check whether automatic swapping is currently active for your player.
- Run /elytraswap toggle to turn off automatic swapping for yourself, or run it again to turn it back on.
Server, Singleplayer & Mode Compatibility
This mod operates entirely on the server side and also functions in singleplayer worlds. When installed on a multiplayer server, joining players do not need to install the mod on their own clients to get automatic elytra swapping. However, installing it only on your client while connecting to a server without the mod will do nothing.
Creative mode is unsupported to prevent inventory synchronization problems. Because players in Creative mode have complete control over their inventories, the mod remains inactive in that mode so items are not accidentally duplicated or erased.
Questions
Do players need to install Elytraswap Serverside on their own game clients?
No, as long as it is installed on the server, every player gets the feature without needing a client mod. It also works in singleplayer worlds.
How does the mod decide which elytra or chestplate to equip?
It scores elytras using Mending and Unbreaking, while chestplates are chosen based on armor value, toughness, Protection, Mending, Unbreaking, and whether the item has a custom name.
Can I turn off automatic elytra swapping for my own character?
Yes, you can run the /elytraswap toggle command to opt out or back in, and use /elytraswap to view your current status.
Why does the swap not trigger when I am in Creative mode?
The mod stays inactive in Creative and Spectator modes to avoid inventory sync conflicts that could duplicate or delete items.
Related

Overhauls elytra flight controls and camera movement with full pitch, yaw, and roll mechanics.

Allows players to take off with an elytra from the ground using a firework rocket without jumping.

Lets players brake and slow down during elytra flight by pressing the sneak key, reducing landing damage.

A Create addon that adds rotation-powered flight anchors, an elytra-crafted Angel Ring, and upgraded elytra takeoff and boosting mechanics.

Overhauls elytra flight by allowing wing flapping, flaring, easy takeoff, and flight stamina using hunger.

Adds new enchantments including nine specifically for elytra gliding, takeoff, flapping, speed, and armor defense.

Rebalances and overhauls elytra flight with campfire updrafts, camera tilt, new enchantments, and altered firework boosts.

Client-side utility mod adding keybinds to toggle elytra flight, trigger flight, and perform one-button firework takeoffs.