RenewableElytra

A Spigot/Paper plugin that turns the Elytra into a renewable, one-per-player reward.

12 downloads
1 followers

A Spigot/Paper plugin that turns the Elytra displayed in a newly generated End City item frame into a renewable, one-per-player reward.

Renewable Elytra frame

Behaviour

  • Watches only newly generated chunks in configured End worlds. Existing End Cities are left unchanged.
  • Replaces new Elytra item frame with a protected display and floating text.
  • Players can left- or right-click the frame to receive one Elytra.
  • Each player may claim each frame once; claims persist in plugins/RenewableElytra/claims.yml.
  • Keeps the frame, its hologram, its backing block, and the block occupied by the frame safe from breaking, placement, fluids, falling blocks, explosions, and pistons.
  • renewableelytra.admin grants only /renewableelytra reload and Shift+left-clicking a frame to remove it.

Installation

Download the plugin and copy it to the server's plugins/ directory and restart the server.

Configuration

plugins/RenewableElytra/config.yml contains the watched world identifiers, hologram text, messages, and claim save interval. A configured world can be specified by either its Bukkit name (for example world_the_end) or its namespaced dimension key (for example minecraft:the_end).

Default config.yml:

# World names in which newly generated End City Elytra frames become renewable.
worlds:
  - minecraft:the_end

hologram:
  # Add, remove, or reorder lines freely. MiniMessage formatting is supported.
  lines:
    - "<aqua>Renewable Elytra</aqua>"
    - "<gray>Click to receive</gray>"

messages:
  received: "<green>You received this End City's renewable Elytra!"
  already-claimed: "<yellow>You have already claimed this Elytra."
  inventory-full: "<red>Make room in your inventory before claiming this Elytra."

# Claims are flushed at this interval and also when the plugin disables.
save-interval-seconds: 60

Run /renewableelytra reload after changing the configuration. It updates the text of all currently loaded renewable-frame holograms.