Restricted Rockets
A datapack that limits how many firework rockets a player can use during a single elytra flight before landing.

Core Flight Mechanics
Created by antD, Restricted Rockets is a data pack that caps how many firework boosts you can trigger during an elytra glide before touching down. Exceeding this permitted rocket count causes your wings to enter a temporarily disabled state. Normal flight capability is restored the moment you touch solid ground or stop moving while in water. Flyers can also preemptively refresh their rocket allowance prior to reaching the cap by landing or pausing in water.
By preventing infinite mid-air boosting, the pack promotes constructing travel infrastructure and increases the utility of rockets crafted for longer durations (assuming the limit allows at least one rocket). Note that if a temporarily disabled elytra is moved into your inventory, placing it back into your equipment slot will immediately fix it. Be aware that any custom lore written on an elytra gets permanently wiped if the item temporarily breaks.
Commands and Configuration Menus
Rules can be enforced across the entire server by administrators or tailored per person if client overrides are permitted. Inside the chat configuration interface, clicking any value highlighted in aqua automatically populates the chat bar with a command to adjust that option. Once you execute the command, you need to run the menu command again to view the refreshed settings.
- Administrators can manage global rules by executing /function restricted_rockets:op/config
- Regular players can access their individual settings via /trigger restricted_rockets_config
- Administrators can wipe all scoreboard data and scheduled tasks with /function restricted_rockets:op/uninstall (reloading afterward treats the pack as a brand new installation)
Server and Player Settings
Out of the box, the global limit is set to 2 rockets per flight, and personal overrides for this cap are disabled. The default setup also grants a slow falling effect whenever a player breaks their wings by going over the rocket cap, and individuals are allowed to toggle this safety effect off or on in their own menu. When an operator unlocks the personal rocket cap option, a player's custom limit starts at 0 until they specify a new number.
On-screen actionbar notifications are turned on by default to keep flyers informed of their remaining boosts. An indicator appears on the actionbar when initiating flight, firing a firework, and refreshing the counter. Furthermore, a continuous warning stays on screen while zero rockets remain available, though every player can freely adjust both notification behaviors in their personal preferences.
Questions
How do I repair my elytra after it temporarily breaks from using too many rockets?
Land on the ground or remain motionless in water. If the disabled wings were placed in your inventory, putting them back on will also fix them.
How many rockets can I use per flight by default?
The standard server setting allows 2 rockets before requiring you to land or pause in water.
Will my elytra keep its custom lore if I exceed the rocket limit?
No, custom lore is stripped from the elytra whenever it undergoes a temporary break.
What command opens the player configuration menu?
Run /trigger restricted_rockets_config in chat to modify your personal preferences.
Related

A library mod and API that exposes vanilla elytra flight mechanics as an entity attribute for developers.

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

Adds craftable hang gliders with wind mechanics and upgradeable speed for gliding through the skies.

Adds a craftable hang glider with wind physics as an early-game scenic flight alternative to the elytra.

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

A client-side camera mod that adds smooth perspective transitions and camera roll during elytra flight.

Allows firework rockets with colors, effects, and shapes to boost elytra flight and create visual displays.

Adds cape-like movement physics to the elytra while worn on a player's back.