Shayan Chowdhury
📎 1 file 15,392 chars
📄
pasted-code-1792148348959.txt
txt 205 lines
▶
# PROJECT: AETHER RNG — Minecraft 1.21.11 Plugin

Create a complete, polished Minecraft Java **Paper 1.21.11 plugin** inspired by Sol's RNG, anime power systems, and legendary SMP abilities. The plugin revolves around crafting extremely expensive roll tokens, rolling for incredibly rare supernatural auras, and unlocking unique combat abilities that make every aura feel like an entirely different playstyle.

This should feel like a professionally developed Minecraft server experience, NOT a basic plugin that hands out particles and damage effects.

## 1. THE ROLLING SYSTEM — MAKE EVERY ROLL CINEMATIC

Players craft special tokens using valuable survival materials and consume them to roll for permanent aura unlocks.

Implement three token tiers:

- **Aether Token:** Can roll every aura, including the rarest secrets.
- **Radiant Token:** More expensive, with significantly better odds of obtaining powerful auras.
- **Singularity Token:** An endgame crafting achievement with a heavily restricted pool of the strongest auras.

Use expensive, balanced recipes involving appropriate materials such as Nether Stars, Echo Shards, Netherite, Amethyst Blocks, Dragon's Breath, and other rare resources. Make every token feel valuable, especially the highest tier. All recipes must be discoverable and work correctly in survival.

Use these base odds for the Aether Token:

| Aura | Rarity | Base chance |
|---|---|---:|
| Cinderling | Common | 50% |
| Thornweaver | Uncommon | 25% |
| Tempest Crown | Rare | 14% |
| Rift Dancer | Epic | 7% |
| Abyssal Leviathan | Legendary | 3% |
| Starforged Archon | Mythic | 0.8% |
| Chrono Seraph | Celestial | 0.18% |
| NULL EMPEROR | SECRET | 0.02% |

Make the odds for the other token tiers configurable and ensure every probability table totals exactly 100%.

### CINEMATIC ROLL ANIMATION

Every roll must have a custom, polished, multi-stage reveal using Minecraft-compatible particles, sounds, titles, action bars, bossbars, and visual effects.

1. The token activates with a distinctive sound and an expanding magical circle around the player.
2. Particles begin orbiting the player as the atmosphere builds.
3. Rapidly cycle through aura names and rarity indicators, with the animation accelerating before slowing down.
4. The environment reacts to the potential rarity: stronger effects, different particle formations, dramatic sound cues, and increasingly intense visual sequences.
5. Reveal the final aura with a rarity-specific animation, title, sound, and a satisfying finishing effect.
6. For extremely rare auras, create a special server-wide spectacle. Broadcast the player's name and the aura they obtained, accompanied by unique global effects and a dramatic announcement.

A Secret roll must feel like witnessing a once-in-a-lifetime event.

Do NOT make every animation identical with differently colored particles. Each rarity tier should have its own identity. Keep animations smooth, well-timed, optimized, and readable in multiplayer.

The player must not be unnecessarily frozen during the animation. Prevent duplicate roll processing, token duplication, and item loss from interrupted rolls or reconnects.

## 2. AURA COLLECTION AND PROGRESSION

- Successfully rolling an aura permanently unlocks it for that player.
- Players can equip any aura they have already unlocked without losing their collection.
- Duplicate rolls award rarity-scaled **Aura Essence**, giving duplicates a meaningful purpose.
- Add a clean collection menu showing discovered auras, rarity, abilities, passive effects, and undiscovered entries.
- Undiscovered auras should display mysterious silhouettes and their rarity.
- Include a way to inspect aura odds, token crafting recipes, cooldowns, and ability descriptions.
- Implement a pity system with configurable thresholds. For example, guarantee an Epic-or-higher reward after 50 unsuccessful standard rolls and a Mythic-or-higher reward after 250 rolls without one. Higher-tier successful rolls should reset the appropriate counter.
- Persist collections, pity counters, equipped auras, and progression after restarts.

## 3. THE AURAS — EVERY ONE MUST FEEL UNIQUE

Every aura has **three distinct active abilities and one unique passive**. Give each aura its own visual identity, sounds, particle language, animation timings, and combat playstyle.

Balance the abilities for survival multiplayer PvP and PvE. Avoid unavoidable instant kills, infinite stun locks, permanent flight, and abilities that make lower-rarity players completely helpless.

### AURA 1: CINDERLING — COMMON
*The first spark of something dangerous.*

**Passive — Burning Heart:** Gain modest resistance to fire and reduced damage from fire-based attacks. Hitting an enemy has a small chance to ignite them briefly.

**Ability 1 — Ember Shot:** Launch a fast projectile of compressed flame that deals modest damage and briefly burns its target.

**Ability 2 — Ashen Step:** Dash a short distance, leaving a trail of embers that briefly damages enemies pursuing you.

**Ability 3 — Inferno Ring:** Release a circular wave of fire around yourself, damaging nearby enemies and pushing them back slightly.

### AURA 2: THORNWEAVER — UNCOMMON
*Nature does not forgive those who trespass.*

**Passive — Verdant Recovery:** Gain a small healing benefit after defeating hostile mobs or successfully landing repeated attacks, subject to a cooldown.

**Ability 1 — Grasping Roots:** Roots erupt beneath a targeted enemy, briefly slowing them and dealing damage.

**Ability 2 — Briar Wall:** Summon a temporary curved wall of thorny particles that provides tactical cover and punishes enemies who push through it.

**Ability 3 — Bloom Burst:** Release a burst of magical pollen that heals nearby allies slightly while damaging nearby enemies. Allies must be identified correctly.

### AURA 3: TEMPEST CROWN — RARE
*The sky has chosen its champion.*

**Passive — Static Charge:** Successful hits build Static Charge. At maximum charge, the next eligible attack releases a small lightning burst. Charge must have a clear limit and decay mechanic.

**Ability 1 — Thunderclap:** Instantly dash toward the targeted direction with a thunderous shockwave at the destination.

**Ability 2 — Chain Lightning:** Strike an enemy with lightning that can jump to a limited number of nearby enemies, with reduced damage on subsequent jumps.

**Ability 3 — Storm Prison:** Create a temporary storm zone that periodically strikes designated areas, forcing enemies to keep moving.

### AURA 4: RIFT DANCER — EPIC
*Space is just another thing to cut through.*

**Passive — Spatial Instinct:** Dodging an incoming attack with a well-timed dash briefly reduces the next instance of damage received. Apply a cooldown to prevent abuse.

**Ability 1 — Rift Slash:** Open a narrow spatial tear that sends a damaging slash toward enemies in a straight line.

**Ability 2 — Blink Exchange:** Teleport a short distance to a safe, visible location. Never teleport players inside blocks or exploit unloaded chunks.

**Ability 3 — Fracture Field:** Create a distortion field that slows enemy movement and briefly disrupts their ability timing without removing player control.

### AURA 5: ABYSSAL LEVIATHAN — LEGENDARY
*The ocean remembers everything it has swallowed.*

**Passive — Deep-Sea Pressure:** Deal a small bonus to enemies who are already slowed or weakened. Gain minor defensive benefits while below a configurable health threshold.

**Ability 1 — Abyssal Maw:** Summon a spectral sea creature that surges forward, damaging and pulling enemies slightly toward its path.

**Ability 2 — Undertow:** Generate a dark-water vortex that drags nearby enemies toward its center before erupting.

**Ability 3 — Leviathan's Judgment:** Mark a target with an abyssal sigil. After a visible delay, spectral tidal energy strikes the marked area. The target must have a fair opportunity to dodge.

### AURA 6: STARFORGED ARCHON — MYTHIC
*Forged where dying stars become weapons.*

**Passive — Stellar Momentum:** Landing abilities builds Stellar Momentum. At full charge, the next ability gains enhanced visual effects and a moderate bonus effect. Prevent infinite charge loops.

**Ability 1 — Comet Breaker:** Launch yourself or a focused projectile forward, ending in a meteor-like impact against the ground or target.

**Ability 2 — Orbiting Stars:** Summon several stars that orbit you temporarily, intercepting a limited amount of incoming damage before firing at nearby hostile targets.

**Ability 3 — Supernova Decree:** Charge a radiant sphere before releasing an expanding cosmic explosion. The charge-up must be visually obvious so opponents can react.

### AURA 7: CHRONO SERAPH — CELESTIAL
*You are not faster than time. Time simply disagrees with you.*

**Passive — Borrowed Seconds:** Landing abilities reduces a small amount of the remaining cooldown on another ability, within strict limits.

**Ability 1 — Secondhand:** Briefly accelerate your own movement and attack cadence. Do not alter the actual server tick rate or grant unlimited attack speed.

**Ability 2 — Temporal Anchor:** Place a visible anchor and reactivate the ability within a short window to return to that safe position, subject to distance limits and teleport validation. Do not rewind inventory, health, or other players' states.

**Ability 3 — Moment Zero:** Create a temporal pulse that briefly slows enemies caught in its radius. Apply diminishing effectiveness to repeated control effects and never pause the entire server.

### AURA 8: NULL EMPEROR — SECRET
*Reality is a rulebook. You are the exception.*

Its roll chance should be extraordinarily low, and its appearance must trigger the most elaborate reveal in the entire plugin.

**Passive — Authority of Nothing:** Every successful ability hit applies a short-lived Null Mark. At a limited number of marks, the next ability hit consumes them for a bonus effect. Marks must expire and cannot stack infinitely.

**Ability 1 — Void Rift:** Tear open a dark rift in front of the player. It expands with warning particles, then erupts in a damaging wave that pierces a limited number of enemies. The hit detection and damage MUST actually work; particles and sounds alone are not acceptable.

**Ability 2 — Erasure Step:** Blink through a short void corridor, leaving decoy afterimages behind. Enemies near the exit are struck by a spatial burst. Decoys must be visual effects only, not fake player entities that interfere with combat.

**Ability 3 — ZERO PROTOCOL:** Initiate a dramatic charging sequence featuring black-and-purple distortion effects, warning rings, escalating sounds, and a short, readable wind-up. Release a devastating controlled area attack that deals substantial damage, applies a brief debuff, and consumes the user's Null Marks.

This ultimate should feel terrifying without becoming an unavoidable one-shot. It needs clear range limits, counterplay, a long cooldown, and strong performance safeguards.

## 4. ABILITY ACTIVATION AND COMBAT

Provide an intuitive, configurable activation system for all three abilities. Use a dedicated custom Aura Catalyst item with clearly communicated controls, such as right-click for Ability 1, sneak + right-click for Ability 2, and the swap-hands key while holding the catalyst for Ability 3.

- Each ability gets an individual cooldown and a clear visual cooldown indicator.
- Use attractive bossbars displaying the ability name, remaining cooldown, and progress. Hide them when no longer needed.
- Add action-bar feedback for ability activation, unavailable abilities, resource requirements, and cooldowns.
- Every ability must have real, reliable damage, targeting, collision checks, and functional effects where applicable.
- Prevent abilities from repeatedly triggering due to event spam.
- Validate safe locations for dashes and teleports.
- Prevent accidental activation from consuming or interfering with normal Minecraft items.
- Include configurable PvP and PvE damage scaling, ability ranges, durations, knockback, cooldowns, and friendly-fire rules.

Abilities should be useful in both combat against players and battles against mobs. Give attacks distinctive sound design and particle trails, impact effects, charge-up signals, and finishing effects. All particle effects should be optimized for servers with multiple players using abilities simultaneously.

## 5. PRESENTATION AND QUALITY

The entire experience should look polished even without a custom resource pack or client-side mod. Use native Minecraft sounds, particles, titles, bossbars, custom-named items, and inventory interfaces creatively.

Give each aura a recognizable visual language. For example, Tempest Crown should look electric and aggressive, Abyssal Leviathan should feel heavy and oppressive, Chrono Seraph should use elegant golden temporal effects, and NULL EMPEROR should feel unsettling and otherworldly.

Include unique acquisition announcements, discovery messages, aura equip effects, and subtle ambient effects for equipped rare auras. Secret-tier effects should be spectacular without flooding the screen with particles or ruining performance.

Every menu must be properly implemented. Buttons should function, inventories should not be exploitable, and the user interface should never become stuck.

## 6. CONFIGURATION AND ADMINISTRATION

Provide clear configuration files for token recipes, aura odds, pity thresholds, abilities, cooldowns, damage values, PvP/PvE scaling, visual effects, broadcasts, and permissions.

Include useful administrative controls to grant tokens, trigger test rolls, inspect player aura data, reset a player's pity counter, and reload supported configuration settings safely.

Save all important data persistently. Handle restarts, reconnects, simultaneous rolls, invalid item states, and interrupted animations correctly.

## 7. FINAL DELIVERY REQUIREMENTS

Build this as a complete, working **Minecraft Java 1.21.11 Paper plugin**. Do not provide a mockup, pseudocode, or a collection of disconnected examples.

Design the system carefully before implementation, then implement all eight auras and all 24 active abilities with their associated passives. Do not leave placeholder abilities, missing particle effects, nonfunctional damage, fake cooldown displays, or unfinished menus.

Test the project for compilation errors, runtime exceptions, duplicate item exploits, incorrect roll probabilities, cooldown bugs, multiplayer conflicts, and performance problems. Fix the issues found before delivery.

Deliver the complete project source, configuration files, setup instructions, and the compiled plugin JAR when the environment supports compilation. The plugin must load on Paper 1.21.11 without requiring a client mod or custom resource pack.

**THE FINAL STANDARD:** Every roll should create anticipation. Every rare discovery should create a memory. Every aura should have its own identity. Every ability should feel powerful, polished, and responsive. And the SECRET aura should make the entire server lose its mind.

Make it feel like a real, premium Minecraft RPG system that players would grind for weeks to master.
Kodari AI
KodariOct 16 at 11:17 am 5
AetherRNG
A premium Paper 1.21.11 Minecraft plugin inspired by Sol's RNG, featuring a cinematic aura rolling system with three craftable token tiers, eight unique auras each with three active abilities and one passive, a persistent collection and progression system with pity mechanics, an intuitive Aura Catalyst activation item, and a polished GUI framework. Every roll features a multi-stage reveal animation with rarity-specific particles, sounds, titles, and bossbars, while rare discoveries trigger server-wide spectacles. All abilities deliver real damage, targeting, and collision checks with configurable cooldowns and PvP/PvE scaling, backed by comprehensive configuration files and administrative controls.
  1. Set up the Paper 1.21.11 plugin, token recipes, persistence, and safe roll/reveal flow.

  2. Add the collection menu, catalyst controls, all 24 abilities and eight passives, plus admin commands and configuration.

Created the Aether RNG Paper plugin source and configuration.

  • Includes all eight aura records, 24 activated abilities, passive effects, token recipes, configurable odds and pity, persistent collections, duplicate essence, cinematic reveals, and an aura menu.

  • Controls: /aether menu, /aether odds, /aether catalyst. Hold the catalyst and right-click for ability 1, sneak-right-click for ability 2, or swap hands for ability 3.

  • Admin commands: /aether give, /aether testroll, /aether inspect, /aether resetpity, and /aether reload. Settings are in config.yml.

  • A live Paper gameplay test was not run here. To get the plugin JAR, click Compile in Kodari’s top bar; when it succeeds, click Download on the build. Install the JAR in the server’s plugins folder and restart.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
12 1,671
src/main/java/com/kodari/aetherrng/AetherRngPlugin.java
package com.kodari.aetherrng;

import com.cryptomorin.xseries.XMaterial;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.inventory.EquipmentSlot;
import org.bukkit.inventory.ItemStack;
import org.bukkit.plugin.java.JavaPlugin;

public class AetherRngPlugin extends JavaPlugin implements Listener, CommandExecutor {
    private PlayerDataStore data;
    private TokenService tokens;
    private RollService rolls;
    private AuraMenu menu;
    private AbilityManager abilities;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        data = new PlayerDataStore(this);
        tokens = new TokenService(this);
        rolls = new RollService(this);
        menu = new AuraMenu(this);
        abilities = new AbilityManager(this);
        Bukkit.getPluginManager().registerEvents(this, this);
        Bukkit.getPluginManager().registerEvents(menu, this);
        Bukkit.getPluginManager().registerEvents(abilities, this);
        getCommand("aether").setExecutor(this);
        getLogger().info("Aether RNG enabled with all eight aura records.");
    }

    @Override
    public void onDisable() {
        if (data != null) data.saveAll();
        if (abilities != null) abilities.shutdown();
    }

    public PlayerDataStore data() { return data; }
    public TokenService tokens() { return tokens; }

    @EventHandler
    public void onTokenUse(PlayerInteractEvent event) {
        if (event.getHand() != EquipmentSlot.HAND) return;
        if (event.getAction() != Action.RIGHT_CLICK_AIR && event.getAction() != Action.RIGHT_CLICK_BLOCK) return;
        String tier = tokens.tokenTier(event.getItem());
        if (tier == null) return;
        event.setCancelled(true);
        rolls.roll(event.getPlayer(), tier, true);
    }

    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (args.length == 0 || args[0].equalsIgnoreCase("menu")) {
            if (!(sender instanceof Player player)) {
                sender.sendMessage("Only players can open the aura archive.");
                return true;
            }
            menu.open(player);
            return true;
        }
        if (args[0].equalsIgnoreCase("odds")) {
            for (String tier : java.util.List.of("aether", "radiant", "singularity")) {
                StringBuilder line = new StringBuilder("§b").append(tier.substring(0, 1).toUpperCase()).append(tier.substring(1)).append(" odds: ");
                for (Aura aura : Aura.values()) {
                    double weight = getConfig().getDouble("roll.odds." + tier + "." + aura.key(), aura.baseOdds());
                    if (weight > 0.0) line.append("§f").append(aura.displayName()).append(" ").append(weight).append("% §8| ");
                }
                sender.sendMessage(line.toString());
            }
            sender.sendMessage("§7Pity: Epic+ " + getConfig().getInt("roll.pity.epic", 50) + ", Mythic+ " + getConfig().getInt("roll.pity.mythic", 250) + " rolls.");
            sender.sendMessage("§7Cooldowns: ability 1 " + getConfig().getLong("abilities.cooldown.1", 8) + "s, ability 2 " + getConfig().getLong("abilities.cooldown.2", 16) + "s, ability 3 " + getConfig().getLong("abilities.cooldown.3", 35) + "s.");
            sender.sendMessage("§7Recipes (3x3): Aether §f" + getConfig().getStringList("tokens.aether.recipe.shape") + " §7| Radiant §f" + getConfig().getStringList("tokens.radiant.recipe.shape") + " §7| Singularity §f" + getConfig().getStringList("tokens.singularity.recipe.shape"));
            for (Aura aura : Aura.values()) sender.sendMessage("§7" + aura.rarity() + " §f" + aura.displayName() + "§8: " + aura.ability(1) + " / " + aura.ability(2) + " / " + aura.ability(3));
            return true;
        }
        if (args[0].equalsIgnoreCase("catalyst")) {
            if (!(sender instanceof Player player)) return fail(sender, "Only a player can receive a catalyst.");
            player.getInventory().addItem(tokens.createCatalyst());
            player.sendMessage("§8[§bAether§8] §7Catalyst controls: right-click ability 1; sneak + right-click ability 2; swap hands ability 3.");
            return true;
        }
        if (!sender.hasPermission("aetherrng.admin")) return fail(sender, "You do not have permission.");
        if (args[0].equalsIgnoreCase("reload")) {
            reloadConfig();
            tokens.registerRecipes();
            sender.sendMessage("§8[§bAether§8] §aConfiguration reloaded.");
            return true;
        }
        if (args.length < 2) return fail(sender, "Usage: /aether <give|testroll|inspect|resetpity> <player> [value]");
        Player target = Bukkit.getPlayerExact(args[1]);
        if (target == null) return fail(sender, "That player must be online.");
        if (args[0].equalsIgnoreCase("give")) {
            if (args.length < 3) return fail(sender, "Usage: /aether give <player> <aether|radiant|singularity|catalyst> [amount]");
            String type = args[2].toLowerCase();
            int amount = args.length > 3 ? parseAmount(args[3]) : 1;
            if (amount < 1 || amount > 64) return fail(sender, "Amount must be from 1 to 64.");
            ItemStack item;
            if (type.equals("catalyst")) item = tokens.createCatalyst();
            else if (java.util.List.of("aether", "radiant", "singularity").contains(type)) item = tokens.createToken(type);
            else return fail(sender, "Unknown item type.");
            item.setAmount(amount);
            target.getInventory().addItem(item);
            sender.sendMessage("§aGranted " + amount + " " + type + " to " + target.getName() + ".");
            return true;
        }
        if (args[0].equalsIgnoreCase("testroll")) {
            String tier = args.length > 2 ? args[2] : "aether";
            if (!java.util.List.of("aether", "radiant", "singularity").contains(tier.toLowerCase())) return fail(sender, "Unknown token tier.");
            rolls.roll(target, tier, false);
            return true;
        }
        if (args[0].equalsIgnoreCase("inspect")) {
            PlayerProfile profile = data.profile(target.getUniqueId());
            sender.sendMessage("§b" + target.getName() + " §7unlocked: §f" + profile.getUnlocked() + " §7equipped: §f" + profile.getEquipped());
            sender.sendMessage("§7Essence: §d" + profile.getEssence() + " §7Epic pity: §f" + profile.getEpicPity() + " §7Mythic pity: §f" + profile.getMythicPity());
            return true;
        }
        if (args[0].equalsIgnoreCase("resetpity")) {
            PlayerProfile profile = data.profile(target.getUniqueId());
            profile.setEpicPity(0);
            profile.setMythicPity(0);
            data.save(target.getUniqueId());
            sender.sendMessage("§aReset pity counters for " + target.getName() + ".");
            return true;
        }
        return fail(sender, "Usage: /aether <menu|odds|catalyst|give|testroll|inspect|resetpity|reload>");
    }

    private int parseAmount(String value) {
        try { return Integer.parseInt(value); } catch (NumberFormatException ignored) { return -1; }
    }

    private boolean fail(CommandSender sender, String message) {
        sender.sendMessage("§8[§bAether§8] §c" + message);
        return true;
    }
}