π
pasted-code-1791045319539.txt
txt
519 lines
βΆ
Create a complete, production-ready Minecraft **Paper 1.21.11 plugin** called **Dust**.
The plugin should be a polished elemental-power system based around collectible items called **Dust**. It must work on a normal Paper 1.21.11 server without requiring Fabric or Forge.
## CORE SYSTEM
Players obtain a Dust item that gives them an elemental ability.
Each Dust represents an element. When a player obtains/uses a Dust, they receive that element and can use its abilities.
Players should be able to:
* Obtain Dust
* Equip/use Dust
* View their current element
* Reroll their element
* Use normal abilities
* Use an ultimate ability
* Have their abilities affected by how much Dust they possess
## DUST POWER SYSTEM
Add a Dust quantity/power system.
The basic rule is:
**More Dust = stronger abilities.**
**Less Dust = weaker abilities.**
The amount of Dust a player has should affect things such as:
* Ability damage
* Ability duration
* Ability range
* Ability strength
* Ultimate strength
Do not make abilities completely overpowered at low Dust amounts.
The plugin should store each player's Dust amount and element persistently so it survives server restarts.
## REROLL
Add a `/dust reroll` command.
Rerolling gives the player a new random non-legendary element.
Add a configurable reroll cost.
Example:
`/dust reroll`
The player should receive a confirmation message before losing their current element.
## ELEMENTS
Create these elements:
1. Flame
2. Water
3. Ice
4. Nature
5. Light
6. Darkness
7. Metal
8. Electric
9. Sound
10. Gravity
11. Earth
12. Air
Each element must have:
* A unique Dust item
* A normal ability
* A secondary ability where appropriate
* An ultimate ability
* Cooldowns
* Particles
* Sounds
* Proper visual effects
Abilities should feel powerful and Minecraft-like rather than looking like generic commands.
## ELEMENT ABILITIES
### FLAME
Fire-based elemental attacks.
Create abilities involving:
* Fire
* Fireballs/projectiles
* Burning enemies
* Fire particles
Ultimate:
A powerful large-scale flame attack.
### WATER
Theme: **Ocean**
Create abilities involving:
* Water
* Waves
* Knockback
* Water particles
Ultimate:
Create a large ocean/wave attack that damages and knocks back nearby enemies.
### ICE
Create this as a new element.
Abilities should involve:
* Freezing
* Slowness
* Ice projectiles
* Ice particles
Ultimate:
A powerful freezing attack that affects nearby enemies.
### NATURE
Nature abilities should involve plants/vines/green particles.
Special ability:
Give the player:
* Saturation
* 3 absorption hearts
Ultimate:
A powerful nature attack involving vines/roots and healing or defensive effects.
### LIGHT
Theme: **Sun**
Abilities should involve:
* Bright light
* Solar energy
* Light particles
* Fire/heat effects where appropriate
Ultimate:
A powerful **Sun** attack that creates a large area of light and damages enemies.
### DARKNESS
Abilities should involve:
* Darkness
* Blindness
* Black particles
Main special ability:
Apply blindness to enemies.
Ultimate:
**Black Hole**
Create a black-hole-like visual effect that pulls nearby enemies toward the center and damages them.
### METAL
Create this as a new element.
Abilities should involve:
* Metal particles
* Defensive effects
* Knockback resistance
Special ability:
Give the player:
**Resistance II for 3 seconds**
Ultimate:
A powerful metal-based defensive/offensive ability.
### ELECTRIC
Theme: **Lightning**
Abilities should involve:
* Lightning
* Electric particles
* Thunder sounds
Ultimate:
Call down multiple lightning strikes around enemies.
Make sure lightning abilities do not unnecessarily destroy the player's entire world.
### SOUND
Create this as a new element.
Main ability:
**Shockwave**
The shockwave should affect nearby enemies.
Special effect:
* Enemies lose 2 hearts over 3 seconds.
* Player gains **Speed III for 7 seconds**.
Ultimate:
Create a much larger sound shockwave with strong knockback and visual effects.
### GRAVITY
Create this as a new element.
Main ability:
Allow the user to control an opponent's movement for approximately **2 seconds**.
The affected opponent should have their movement restricted/controlled.
Secondary effect:
Opponent cannot jump for approximately **3 seconds**.
Ultimate:
Create a powerful gravity field that pulls nearby enemies toward a central point.
Make sure this does not permanently freeze players or make them unable to play.
### EARTH
Earth-based abilities involving:
* Blocks/earth
* Knockback
* Ground attacks
* Rock/stone particles
Ultimate:
A powerful ground-shattering attack.
Do not permanently destroy the world unless specifically configured to allow it.
### AIR
Air/wind-based abilities involving:
* Wind
* Knockback
* Speed
* Levitation
* Wind particles
Ultimate:
A large tornado/wind attack that pushes enemies away.
## LEGENDARY DUST
Create two extremely rare legendary Dust types:
### COSMIC MANIPULATION
This should be a legendary element with extremely powerful abilities involving:
* Stars
* Space
* Cosmic particles
* Gravity
* Teleportation
Create a unique ultimate ability.
### LIGHT MANIPULATION
This is different from the normal **Light/Sun** element.
It should be a legendary element involving:
* Advanced light manipulation
* Extremely bright particles
* Solar/light attacks
* Powerful movement abilities
Create a unique ultimate.
## LEGENDARY CRAFTING
Create special crafting recipes for the legendary Dust.
The recipes should be extremely expensive and difficult.
Do not make legendary Dust obtainable through normal rerolling.
Example concept:
Normal Dust β cannot become Legendary through reroll.
Legendary Dust must be crafted using rare materials.
Make the recipe configurable in a config file.
## CUSTOM ITEMS
Every Dust should be represented by a unique Minecraft item.
Give each Dust:
* Custom name
* Custom lore
* Unique item material
* Unique custom model data
* Element-specific description
Example:
`π₯ FLAME DUST`
Lore:
`Element: Flame`
`Rarity: Common`
`Power: Depends on Dust amount`
Make the items compatible with a custom resource pack.
## RESOURCE PACK
Create the resource-pack structure needed for custom Dust textures.
Every Dust should have a unique Minecraft-style texture.
The visual style should look like it belongs naturally in Minecraft rather than looking photorealistic or AI-generated.
Use custom model data so each Dust can have its own appearance.
Provide the required resource-pack files/folder structure.
## GUI
Create a `/dust` command that opens a GUI.
The GUI should display:
* Current element
* Dust amount
* Element abilities
* Ultimate ability
* Cooldowns
* Reroll option
* Legendary status
Use attractive Minecraft inventory GUI design.
## COMMANDS
Add commands such as:
`/dust`
`/dust give `
`/dust give `
`/dust set `
`/dust add `
`/dust remove `
`/dust reroll`
`/dust abilities`
`/dust reload`
Add proper permissions.
Example permissions:
`dust.admin`
`dust.use`
`dust.reroll`
## COOLDOWNS
Every ability and ultimate needs a configurable cooldown.
Display cooldowns to players using:
* Action bar
* Boss bar where appropriate
* Messages
Do not allow players to spam abilities.
## DEATH SYSTEM
When a player dies, make their Dust system interact with death.
Make this configurable.
Config options should allow the server owner to choose whether:
* Players lose Dust
* Players keep Dust
* Players lose a percentage of Dust
* Players drop Dust on death
Default behavior:
**Players lose some Dust when they die.**
Make the amount configurable.
## CONFIGURATION
Create a clean `config.yml`.
Allow the server owner to configure:
* Ability damage
* Ability cooldowns
* Ultimate cooldowns
* Dust loss on death
* Reroll cost
* Dust power scaling
* Legendary crafting
* World destruction
* Ability permissions
* Messages
* Resource-pack settings
## SAFETY / PERFORMANCE
The plugin must:
* Work correctly on Paper 1.21.11
* Avoid excessive server lag
* Avoid memory leaks
* Avoid infinite tasks
* Properly cancel scheduled tasks
* Avoid unnecessary world destruction
* Handle players disconnecting during abilities
* Handle server restarts safely
* Store player data reliably
Use modern Paper API methods compatible with **1.21.11**.
Do not use outdated Minecraft APIs if a modern Paper API equivalent exists.
## MESSAGES
Make all messages configurable.
Use a clean elemental theme.
Examples:
`You received Flame Dust!`
`Your Dust power increased!`
`You don't have enough Dust.`
`Your ultimate is on cooldown.`
`You rerolled your Dust!`
## ADMIN FEATURES
Admins should be able to easily test everything.
Add:
`/dust give `
and:
`/dust set `
Also allow admins to reset a player's Dust data.
## IMPORTANT
Generate the **complete plugin**, not just an example.
Include:
* Complete Java source code
* `plugin.yml`
* `config.yml`
* All required classes
* Commands
* Listeners
* Abilities
* GUI
* Persistent player data
* Cooldowns
* Dust scaling
* Legendary Dust
* Crafting recipes
* Resource-pack structure
* Permissions
Make the code organized into sensible packages/classes and make it easy to modify later.
Before finishing, check the entire project for:
* Compilation errors
* Missing imports
* Missing classes
* Invalid Paper 1.21.11 API calls
* Command registration errors
* Configuration errors
* Ability bugs
* Player-data bugs
The final result should be something I can compile into a `.jar`, put into my Paper 1.21.11 server's `/plugins` folder, restart the server, and use immediately.
Set up the Paper plugin, persistent Dust profiles, configuration, commands, and crafting.
Add element items, GUI, scalable abilities, cooldowns, and death handling.
Include resource-pack model files for all 14 elements.
Created Dust with persistent player profiles, all 14 elements, configurable power scaling and cooldowns, abilities and ultimates, rerolls with confirmation, legendary crafting, a GUI, admin commands, and configurable death loss. Element items use unique materials and custom model data.
The resource-pack folder contains model mappings for all Dust types and uses existing Minecraft textures; it does not include custom PNG artwork. I havenβt confirmed a successful build.
REROLL ITEM
Do NOT make rerolling a command.
Instead, create a special craftable item called:
π REROLL DUST
The Reroll Dust is a physical Minecraft item that players can obtain by crafting it.
Crafting
Create a configurable crafting recipe for Reroll Dust.
The recipe should be difficult enough that rerolling has value.
Example recipe:
* 4x normal Dust * 4x rare materials * 1x Nether Star
The exact ingredients must be configurable in config.yml.
Using Reroll Dust
When a player has a Reroll Dust item, they can right-click it to activate it.
When activated:
- Check that the player currently has an element.
- Consume exactly 1 Reroll Dust.
- Randomly select a new element.
- Do NOT give the player a legendary element from a normal reroll.
- Change the player's current element to the new element.
- Display a clear message showing their new element.
- Play particles and a sound effect when the reroll happens.
Example:
You used a Reroll Dust!
Your new element is: β‘ ELECTRIC
Important
Reroll Dust must NOT be usable if the player does not currently have an element.
It should not be possible to accidentally consume the item.
Make the item have:
* Custom name * Custom lore * Custom model data * Unique texture in the resource pack * Configurable material
Example lore:
Β§7Right-click to reroll your element Β§8Consumes 1 Reroll Dust
The item should be stackable unless configured otherwise.
Commands
Remove /dust reroll.
Rerolling should ONLY happen by using the physical Reroll Dust item.
Admins may still have:
/dust give <player> reroll
to give a player a Reroll Dust item for testing.
Also add:
/dust give <player> reroll <amount>
for giving multiple Reroll Dust items.
π
pasted-code-1791047818786.txt
txt
519 lines
βΆ
Create a complete, production-ready Minecraft **Paper 1.21.11 plugin** called **Dust**.
The plugin should be a polished elemental-power system based around collectible items called **Dust**. It must work on a normal Paper 1.21.11 server without requiring Fabric or Forge.
## CORE SYSTEM
Players obtain a Dust item that gives them an elemental ability.
Each Dust represents an element. When a player obtains/uses a Dust, they receive that element and can use its abilities.
Players should be able to:
* Obtain Dust
* Equip/use Dust
* View their current element
* Reroll their element
* Use normal abilities
* Use an ultimate ability
* Have their abilities affected by how much Dust they possess
## DUST POWER SYSTEM
Add a Dust quantity/power system.
The basic rule is:
**More Dust = stronger abilities.**
**Less Dust = weaker abilities.**
The amount of Dust a player has should affect things such as:
* Ability damage
* Ability duration
* Ability range
* Ability strength
* Ultimate strength
Do not make abilities completely overpowered at low Dust amounts.
The plugin should store each player's Dust amount and element persistently so it survives server restarts.
## REROLL
Add a `/dust reroll` command.
Rerolling gives the player a new random non-legendary element.
Add a configurable reroll cost.
Example:
`/dust reroll`
The player should receive a confirmation message before losing their current element.
## ELEMENTS
Create these elements:
1. Flame
2. Water
3. Ice
4. Nature
5. Light
6. Darkness
7. Metal
8. Electric
9. Sound
10. Gravity
11. Earth
12. Air
Each element must have:
* A unique Dust item
* A normal ability
* A secondary ability where appropriate
* An ultimate ability
* Cooldowns
* Particles
* Sounds
* Proper visual effects
Abilities should feel powerful and Minecraft-like rather than looking like generic commands.
## ELEMENT ABILITIES
### FLAME
Fire-based elemental attacks.
Create abilities involving:
* Fire
* Fireballs/projectiles
* Burning enemies
* Fire particles
Ultimate:
A powerful large-scale flame attack.
### WATER
Theme: **Ocean**
Create abilities involving:
* Water
* Waves
* Knockback
* Water particles
Ultimate:
Create a large ocean/wave attack that damages and knocks back nearby enemies.
### ICE
Create this as a new element.
Abilities should involve:
* Freezing
* Slowness
* Ice projectiles
* Ice particles
Ultimate:
A powerful freezing attack that affects nearby enemies.
### NATURE
Nature abilities should involve plants/vines/green particles.
Special ability:
Give the player:
* Saturation
* 3 absorption hearts
Ultimate:
A powerful nature attack involving vines/roots and healing or defensive effects.
### LIGHT
Theme: **Sun**
Abilities should involve:
* Bright light
* Solar energy
* Light particles
* Fire/heat effects where appropriate
Ultimate:
A powerful **Sun** attack that creates a large area of light and damages enemies.
### DARKNESS
Abilities should involve:
* Darkness
* Blindness
* Black particles
Main special ability:
Apply blindness to enemies.
Ultimate:
**Black Hole**
Create a black-hole-like visual effect that pulls nearby enemies toward the center and damages them.
### METAL
Create this as a new element.
Abilities should involve:
* Metal particles
* Defensive effects
* Knockback resistance
Special ability:
Give the player:
**Resistance II for 3 seconds**
Ultimate:
A powerful metal-based defensive/offensive ability.
### ELECTRIC
Theme: **Lightning**
Abilities should involve:
* Lightning
* Electric particles
* Thunder sounds
Ultimate:
Call down multiple lightning strikes around enemies.
Make sure lightning abilities do not unnecessarily destroy the player's entire world.
### SOUND
Create this as a new element.
Main ability:
**Shockwave**
The shockwave should affect nearby enemies.
Special effect:
* Enemies lose 2 hearts over 3 seconds.
* Player gains **Speed III for 7 seconds**.
Ultimate:
Create a much larger sound shockwave with strong knockback and visual effects.
### GRAVITY
Create this as a new element.
Main ability:
Allow the user to control an opponent's movement for approximately **2 seconds**.
The affected opponent should have their movement restricted/controlled.
Secondary effect:
Opponent cannot jump for approximately **3 seconds**.
Ultimate:
Create a powerful gravity field that pulls nearby enemies toward a central point.
Make sure this does not permanently freeze players or make them unable to play.
### EARTH
Earth-based abilities involving:
* Blocks/earth
* Knockback
* Ground attacks
* Rock/stone particles
Ultimate:
A powerful ground-shattering attack.
Do not permanently destroy the world unless specifically configured to allow it.
### AIR
Air/wind-based abilities involving:
* Wind
* Knockback
* Speed
* Levitation
* Wind particles
Ultimate:
A large tornado/wind attack that pushes enemies away.
## LEGENDARY DUST
Create two extremely rare legendary Dust types:
### COSMIC MANIPULATION
This should be a legendary element with extremely powerful abilities involving:
* Stars
* Space
* Cosmic particles
* Gravity
* Teleportation
Create a unique ultimate ability.
### LIGHT MANIPULATION
This is different from the normal **Light/Sun** element.
It should be a legendary element involving:
* Advanced light manipulation
* Extremely bright particles
* Solar/light attacks
* Powerful movement abilities
Create a unique ultimate.
## LEGENDARY CRAFTING
Create special crafting recipes for the legendary Dust.
The recipes should be extremely expensive and difficult.
Do not make legendary Dust obtainable through normal rerolling.
Example concept:
Normal Dust β cannot become Legendary through reroll.
Legendary Dust must be crafted using rare materials.
Make the recipe configurable in a config file.
## CUSTOM ITEMS
Every Dust should be represented by a unique Minecraft item.
Give each Dust:
* Custom name
* Custom lore
* Unique item material
* Unique custom model data
* Element-specific description
Example:
`π₯ FLAME DUST`
Lore:
`Element: Flame`
`Rarity: Common`
`Power: Depends on Dust amount`
Make the items compatible with a custom resource pack.
## RESOURCE PACK
Create the resource-pack structure needed for custom Dust textures.
Every Dust should have a unique Minecraft-style texture.
The visual style should look like it belongs naturally in Minecraft rather than looking photorealistic or AI-generated.
Use custom model data so each Dust can have its own appearance.
Provide the required resource-pack files/folder structure.
## GUI
Create a `/dust` command that opens a GUI.
The GUI should display:
* Current element
* Dust amount
* Element abilities
* Ultimate ability
* Cooldowns
* Reroll option
* Legendary status
Use attractive Minecraft inventory GUI design.
## COMMANDS
Add commands such as:
`/dust`
`/dust give `
`/dust give `
`/dust set `
`/dust add `
`/dust remove `
`/dust reroll`
`/dust abilities`
`/dust reload`
Add proper permissions.
Example permissions:
`dust.admin`
`dust.use`
`dust.reroll`
## COOLDOWNS
Every ability and ultimate needs a configurable cooldown.
Display cooldowns to players using:
* Action bar
* Boss bar where appropriate
* Messages
Do not allow players to spam abilities.
## DEATH SYSTEM
When a player dies, make their Dust system interact with death.
Make this configurable.
Config options should allow the server owner to choose whether:
* Players lose Dust
* Players keep Dust
* Players lose a percentage of Dust
* Players drop Dust on death
Default behavior:
**Players lose some Dust when they die.**
Make the amount configurable.
## CONFIGURATION
Create a clean `config.yml`.
Allow the server owner to configure:
* Ability damage
* Ability cooldowns
* Ultimate cooldowns
* Dust loss on death
* Reroll cost
* Dust power scaling
* Legendary crafting
* World destruction
* Ability permissions
* Messages
* Resource-pack settings
## SAFETY / PERFORMANCE
The plugin must:
* Work correctly on Paper 1.21.11
* Avoid excessive server lag
* Avoid memory leaks
* Avoid infinite tasks
* Properly cancel scheduled tasks
* Avoid unnecessary world destruction
* Handle players disconnecting during abilities
* Handle server restarts safely
* Store player data reliably
Use modern Paper API methods compatible with **1.21.11**.
Do not use outdated Minecraft APIs if a modern Paper API equivalent exists.
## MESSAGES
Make all messages configurable.
Use a clean elemental theme.
Examples:
`You received Flame Dust!`
`Your Dust power increased!`
`You don't have enough Dust.`
`Your ultimate is on cooldown.`
`You rerolled your Dust!`
## ADMIN FEATURES
Admins should be able to easily test everything.
Add:
`/dust give `
and:
`/dust set `
Also allow admins to reset a player's Dust data.
## IMPORTANT
Generate the **complete plugin**, not just an example.
Include:
* Complete Java source code
* `plugin.yml`
* `config.yml`
* All required classes
* Commands
* Listeners
* Abilities
* GUI
* Persistent player data
* Cooldowns
* Dust scaling
* Legendary Dust
* Crafting recipes
* Resource-pack structure
* Permissions
Make the code organized into sensible packages/classes and make it easy to modify later.
Before finishing, check the entire project for:
* Compilation errors
* Missing imports
* Missing classes
* Invalid Paper 1.21.11 API calls
* Command registration errors
* Configuration errors
* Ability bugs
* Player-data bugs
The final result should be something I can compile into a `.jar`, put into my Paper 1.21.11 server's `/plugins` folder, restart the server, and use immediately.
Add a configurable, marked Reroll Dust item and a shaped recipe using normal Dust, rare ingredients, and a Nether Star.
Make right-click reroll only when the player already has an element; consume one item, exclude legendary results, and show feedback effects.
Remove command/GUI reroll paths while adding
/dust give <player> reroll [amount].Add item configuration and a resource-pack model override.
Implemented physical Reroll Dust. Players can craft it from four normal elemental Dust, four configurable rare ingredients, and a Nether Star, then right-click it to reroll. It wonβt consume the item if they donβt have an element, and rerolls exclude legendary elements.
Removed /dust reroll and the GUI command shortcut. Admins can use /dust give <player> reroll [amount]. Added configurable item properties and a resource-pack model override.
π
pasted-code-1791048959240.txt
txt
97 lines
βΆ
π₯ Flame Dust
Ability 1 β Fireball: Launch a fireball that burns enemies.
Ability 2 β Flame Dash: Dash forward while leaving a trail of fire.
Ultimate β Inferno: Create a huge ring of fire around you that damages and knocks back enemies.
π Water Dust
Ability 1 β Water Blast: Shoot a high-pressure water projectile that knocks enemies back.
Ability 2 β Wave: Send a wave forward that pushes enemies away.
Ultimate β Tsunami: Create a massive wave that travels forward and sweeps enemies away.
βοΈ Ice Dust
Ability 1 β Ice Spike: Shoot ice spikes at an enemy and apply Slowness.
Ability 2 β Freeze: Temporarily freeze an enemy in place.
Ultimate β Absolute Zero: Freeze nearby enemies and cover the area in ice particles.
πΏ Nature Dust
Ability 1 β Vine Grab: Vines trap an enemy and slow them.
Ability 2 β Nature's Blessing: Give yourself Saturation + 3 absorption hearts.
Ultimate β Overgrowth: Summon vines around an area that damage and slow enemies.
βοΈ Light Dust
Ability 1 β Solar Beam: Fire a concentrated beam of light at an enemy.
Ability 2 β Flash: Create a flash that gives nearby enemies Blindness briefly.
Ultimate β SUN: Call down a massive beam of sunlight that damages enemies in an area.
π Darkness Dust
Ability 1 β Blind: Give enemies Blindness.
Ability 2 β Shadow Step: Teleport a short distance while leaving behind dark particles.
Ultimate β Black Hole: Create a black hole that pulls nearby players toward it and damages them.
βοΈ Metal Dust
Ability 1 β Metal Armor: Gain Resistance II for 3 seconds.
Ability 2 β Metal Throw: Launch a metal projectile that deals heavy knockback.
Ultimate β Iron Fortress: Become heavily protected for a short period while nearby enemies are knocked back.
β‘ Electric Dust
Ability 1 β Lightning Bolt: Strike an enemy with lightning.
Ability 2 β Chain Lightning: Lightning jumps between several nearby enemies.
Ultimate β Thunderstorm: Create multiple lightning strikes across a large area.
π Sound Dust
Ability 1 β Shockwave: Release a cone-shaped blast that knocks enemies back.
Ability 2 β Sonic Boost: Gain Speed III for 7 seconds.
Ultimate β Sonic Boom: Massive shockwave with huge knockback and damage.
πͺ Gravity Dust
Ability 1 β Gravity Grip: Control/restrict an opponent's movement for 2 seconds.
Ability 2 β Heavy Gravity: Stop an opponent from jumping for 3 seconds and slow them.
Ultimate β Gravity Well: Create a gravity field that pulls nearby players toward its centre.
πͺ¨ Earth Dust
Ability 1 β Rock Throw: Launch a block of rock at an enemy.
Ability 2 β Earthquake: Shake the ground and knock nearby enemies upward.
Ultimate β Meteor: Call down a massive chunk of rock that causes a powerful impact.
πͺοΈ Air Dust
Ability 1 β Wind Blast: Blast enemies backward.
Ability 2 β Wind Step: Launch yourself forward/upward using wind.
Ultimate β Tornado: Create a large tornado that pulls and throws enemies around.
π Legendary Dust
π Cosmic Manipulation
This should feel completely different from normal Dust.
Ability 1 β Cosmic Rift: Open a small portal and teleport.
Ability 2 β Meteor Shower: Call down several cosmic meteors.
Ultimate β Cosmic Collapse: Create a huge gravitational/cosmic explosion that pulls enemies inward before launching them away.
β¨ Light Manipulation
Much stronger and more advanced than normal Light Dust.
Ability 1 β Light Spear: Fire a very fast beam that pierces enemies.
Ability 2 β Photon Dash: Turn into a burst of light and instantly dash a long distance.
Ultimate β Divine Light: Create a gigantic beam of light that damages enemies while giving the user powerful buffs.
β My recommended progression
Common: Flame, Water, Earth, Air
Rare: Ice, Nature, Metal, Electric
Epic: Sound, Gravity, Darkness
Legendary: Light Manipulation, Cosmic Manipulation
And I'd make the Dust amount directly scale these powers β so someone with 5 Dust has noticeably weaker abilities than someone with 100 Dust.
Do you want me to implement this Dust ability and progression system in the current plugin? If so, Iβll use the attached abilities and make their strength scale with the playerβs Dust amount.
yes
Locate the existing Dust data, item, and ability flow.
Implement the Dust abilities and rarity progression, scaling effects by Dust amount.
Register the system with the pluginβs existing commands/listeners and verify references.
Implemented the Dust ability roster with the attached controls: right-click uses Ability 1, sneak-right-click uses Ability 2, and /dust ultimate activates the ultimate. Dust amount scales damage, range, movement, knockback, and effect duration.
Added Common, Rare, Epic, and Legendary tiers to Dust items and the GUI. Normal Light Dust is Rare because it wasnβt assigned a tier in the suggested progression.
okay the dust is still consumable
Keep Dust items when right-clicking to equip or use abilities.
Preserve consumption only for sneak-right-click absorption, which converts an item into stored Dust.
Right-clicking Dust to equip an element no longer consumes the item. Sneak-right-clicking the equipped element still consumes one to add stored Dust.
package com.kodari.dust;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
public final class DustPlugin extends JavaPlugin {
private DataManager dataManager;
private DustItems dustItems;
private AbilityManager abilityManager;
@Override
public void onEnable() {
saveDefaultConfig();
dataManager = new DataManager(this);
dustItems = new DustItems(this);
abilityManager = new AbilityManager(this, dataManager);
DustListener listener = new DustListener(this, dataManager, dustItems, abilityManager);
Bukkit.getPluginManager().registerEvents(listener, this);
DustCommand command = new DustCommand(this, dataManager, dustItems, abilityManager);
getCommand("dust").setExecutor(command);
getCommand("dust").setTabCompleter(command);
new RecipeManager(this, dustItems).registerRecipes();
getLogger().info("Dust elemental powers are ready.");
}
@Override
public void onDisable() {
if (abilityManager != null) abilityManager.shutdown();
if (dataManager != null) dataManager.save();
}
public DataManager data() { return dataManager; }
public DustItems items() { return dustItems; }
public AbilityManager abilities() { return abilityManager; }
}