Minecraft Data Packs / Simple

Restricted Rockets

  • check_circle Functions
  • 4,149 views, 4 today
  • 164 downloads, 0 today
  • 17
  • 10
  • 2
antD's Avatar antD
Level 29 : Expert Birb
6
GitHub | Modrinth | CurseForge

Restricted Rockets is a Minecraft datapack that restricts how many rockets players can use while flying with an elytra before having to land again. Once a player uses more than the maximum amount of rockets, their elytra will temporarily break. Once the player either lands or is still in water, the elytra will return to its previous state. Players can also land or be still in water before they reach the maximum rockets to reset their flight preemptively.

How this affects gameplay:
• Incentivizes more creative methods of transportation that require infrastructure
• Longer duration rockets become more valuable (if max rockets is set to one or more)

This pack has configurable options that can be set globally for all players or optionally overridden by players. Server operators have the ability to chose which of these settings can be overridden to either enforce a specific ruleset or to allow players to match their preferences. See the configuration section below for details.

Notes:
• Temporarily broken elytra that end up in the player's inventory can be restored by being equipped
• Elytra with customized lore will have that lore removed when temporarily broken



Configuration

Server-wide rules can be modified by operators using:/function restricted_rockets:op/config
Player-specific rules can be modified by anyone using:/trigger restricted_rockets_config
Clicking on values in aqua will suggest a command to modify that value. The change will be made after sending the command. For the menu to reflect the change, it must be reopened using the config menu command.

Operators can also remove all scoreboard objectives and scheduled functions using:/function restricted_rockets:op/uninstallThe next time the datapack is reloaded, the datapack will run like it did the first time.

Server-Wide Configuration

Max rockets (default: 2)
• The number of rockets players are permitted to use before having to land/be still in water.
Allow client override (default: false)
• Whether players are allowed to configure their own "max rockets" setting. Players are forced to use the server-wide "max rockets" value otherwise.

Slow fall on elytra break (default: true)
• Whether slow falling is activated on players whose elytra was temporarily broken after using more than the max number of rockets.
Allow client override (default: true)
• Whether players are allowed to configure their own "slow fall on elytra break" setting. Players are forced to use the server-wide "slow fall on elytra break" value otherwise.

Rockets tip (default: true)
• Whether the "remaining rockets" actionbar text is displayed on initial flight, rocket use, and rocket reset.

Zero rockets tip persists (default: true)
• Whether the "remaining rockets" actionbar text is always displayed when there are no more rockets left to use.

Note that the rocket tip options can always be overridden through player-specific configuration.

Player-Specific Configuration

Max rockets
Client value (default: server)
Whether to use the server "max rockets" value or the custom one.
This option will only appear if "allow client override" is enabled on the server.
Custom value (default: 0)
The number of rockets this player is permitted to use before having to land/be still in water.
Only used if "client value" is set to custom.

Slow fall on elytra break

Client value (default: server)
Whether slow falling is activated on this player when the elytra is temporarily broken after using more than the max number of rockets.
This option will only appear if "allow client override" is enabled on the server.

Rockets tip

Client value (default: server)
Whether the "remaining rockets" actionbar text is displayed on initial flight, rocket use, and rocket reset.

Zero rockets tip persists

• Client value (default: server)
Whether the "remaining rockets" actionbar text is always displayed when there are no more rockets left to use.


Copyright 2022-2023 © antD
Licensed under the MIT License
CompatibilityMinecraft 1.18
toMinecraft 1.20
Tags

3 Update Logs

v1.2.0 : by antD 12/05/2023 6:41:35 pmDec 5th, 2023

Updating from a previous version will require re-configuring the max rockets value using the new /function restricted_rockets:op/config menu.

• Added slow falling on temporary elytra break
• Added remaining rockets actionbar text
• Added server-wide and player-specific configuration options for max rockets, slow falling, and the remaining rockets text
• Updated pack format for 1.20.3
LOAD MORE LOGS

Create an account or sign in to comment.

Mummel
08/22/2023 2:16 pm
Level 1 : New Miner
Mummel's Avatar
Hail antD, Savior of Minecraft.
2
Nebulabs Studios
08/21/2022 6:08 pm
Level 20 : Expert Explorer
Nebulabs Studios's Avatar
Very good! Thank you
3
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome