✨ Regalor Elementals ✨ Grant Unique Elemental Powers to Your Players!
Introduction
Hey there, server admins! Welcome to
Regalor Elementals, a flexible plugin designed to spice up your Minecraft server by allowing you to create completely custom elemental powers. Imagine items that let players shoot fireballs , turn invisible , fly through the air ️, or even call down lightning ⚡️! This plugin provides the framework for you to define these powers through simple configuration files.
Players receive a random power when they first need one (using `/rsobtain`) and can use their unique item to unleash cool abilities, complete with cooldowns, costs, and effects!
Features
✨ Highly Customizable Powers: Define abilities via easy-to-understand YAML files. No coding needed!
Custom Items: Control the name, material, lore, and even CustomModelData of power items.
⏳ Cooldown System: Prevent ability spam with configurable cooldowns shown on a Boss Bar.
❤️ Resource Costs: Make abilities cost XP Levels or Player Health for balance.
Effects & Sounds: Add particle effects and sounds for ability activation feedback.
Random Assignment: Players get a random power using `/rsobtain` if they don't have one.
️ Item Protection: Power items are protected from dropping, being placed, moved into chests/armor slots, or lost on death (returns on respawn).
️ Admin Control: Reload configs and change player powers easily.
Installation
Download the RegalorElementals-X.X.X.jar file.
Stop your server.
Place the .jar file into your server's plugins/ directory.
Start your server.
The plugin will generate config.yml and an empty powers/ folder inside plugins/RegalorElementals/.
Start creating your awesome powers inside the powers/ folder!
⚙️ Configuration (config.yml)
This file is located in plugins/RegalorElementals/config.yml.
debug-mode
Set to `true` to see detailed logs in the console, useful for troubleshooting power loading or errors. Keep `false` for normal use.
Code (YAML):
debug-mode: false
registered-powers
A list of power filenames (without `.yml`) that the plugin should load from the `powers/` folder. The plugin will only recognize powers listed here.
Code (YAML):
registered-powers: -
"infernos" -
"aerol" -
"shield" -
"stormbringer" # Add more power file names here
received-powers
⚠️ Do not edit manually! The plugin stores player power assignments here.
Inventory Full Messages
Customize the title/subtitle shown when a player tries to obtain an item but their inventory is full.
Code (YAML):
messages:
inventory-full-title: "&cInventory Full!" inventory-full-subtitle: "&eClear space to receive item!"
Creating Custom Powers (`powers/` folder)
This is the core of the plugin! Each unique power is defined by its own `.yml` file inside `plugins/RegalorElementals/powers/`. For example, a power named "Infernos" would be configured in `plugins/RegalorElementals/powers/infernos.yml`, and you must add `"infernos"` to the `registered-powers` list in `config.yml`.
Let's break down the configuration options for a power file:
Defines how the power item looks.
display-name: The item's name. Use `&` for color codes.
activation-particle-color: Data for specific particles.
For `REDSTONE`: `"R,G,B"` (e.g., `"255,165,0"` for orange).
For `BLOCK_CRACK`, `ITEM_CRACK`: Material name (e.g., `"DIRT"`).
Leave empty `""` otherwise.
Code (YAML):
activation-particle-color: ""# Not needed for FLAME
`duration`: Duration of Haste effect in seconds (use a large number like 99999 for 'permanent' while holding/active).
`level`: Haste level (3+ usually needed for true instamine).
Code (YAML):
ability:
type: instamine
duration: 30
level: 3
Settings for type: lightning
`range`: Max distance in blocks to target the lightning strike.
`damage`: (Informational) Standard lightning damage is ~5. This isn't used directly by default strike.
Code (YAML):
ability:
type: lightning
range: 60
damage: 5.0
Settings for type: none
No additional settings needed. The item just triggers sounds/particles on right-click.
Customize player feedback text.
actionbar-message: Shown above hotbar when using.
cooldown-message: Shown when ability is on cooldown. Use `%seconds%`.
bossbar-title: Text on the cooldown Boss Bar. Use `%power%`.
ability-used-message: Shown when ability succeeds. Use `%power%`.
not-enough-xp-message: Shown if lacking XP. Use `%required%`.
not-enough-health-message: Shown if lacking health. Use `%required%` (shows hearts).
no-target-message: Shown for targeted abilities (like `lightning`) if no target is found.
flight-start-message: (For `flight` type) Shown when flight starts. Use `%duration%`.
flight-end-message: (For `flight` type) Shown when flight ends.
post-flight-cooldown-message: (For `flight` type) Shown if trying to fly during post-flight cooldown. Use `%seconds%`.
Code (YAML):
messages:
actionbar-message: "&eUsing &6&l%power%&e..." cooldown-message: "&c%power% Cooldown! &7(%seconds%s)" bossbar-title: "&6&l%power% &cCooldown" ability-used-message: "&aUsed %power%!" not-enough-xp-message: "&cNot enough XP Levels! Need %required%." not-enough-health-message: "&cNot enough Health! Need %required% hearts." no-target-message: "&cNo target in range!" flight-start-message: "&aFlight active for %duration% seconds!" flight-end-message: "&cFlight ended." post-flight-cooldown-message: "&cCannot fly yet! Wait %seconds%s."
Commands & Permissions
/rshelp - Displays the help message. (No permission)
/rsobtain - Gives you your assigned power item, or assigns a random one if you don't have one yet. Checks for inventory space. (No permission)
/rsrebirth <power_name> - [Admin] Changes your currently assigned power to the specified one. Clears old item.