quill2x123

Echo SMP - made by Quill

plugin name : Quillechosmp

📌 Core Concept

A vanilla-friendly SMP plugin where each player selects one unique “Echo Power” tied to natural elements. Powers grant abilities activated via simple keybind combinations, with cooldowns instead of mana.

---

⚙️ Core Rules

🧬 One Power Per Player

* Each player can only have one Echo power * Stored persistently via UUID * Players are locked to their choice unless changed

🔄 Changing Powers

Item: Echo Shard

* Rare item found in:

* End Cities * Ancient Cities * Rare Warden drop * Use: Shift + Right Click to open power selection INVENTORY GUI * Applies 24-hour cooldown before next change

---

⏱️ Cooldown System (No Mana)

* Shift + Right Click (SRC): 6–10s cooldown * Offhand Key (F): 10–18s cooldown * Shift + Offhand (SOF): 35–60s cooldown * Global cooldown: 0.5–1s between abilities

📢 Feedback

* Action bar cooldown messages * Vanilla sounds (no custom UI) * No boss bars or RPG overlays

---

✨ Particles (Vanilla Style Only)

* Use subtle particles:

* flame, smoke, splash, cloud, ash, etc. * Avoid flashy or modded visuals

---

🎮 Controls

* Shift + Right Click (SRC): Main ability * Offhand Key (F): Utility / movement * Shift + Offhand (SOF): Ultimate ability

---

🔥 Powers

---

🔥 Blazebound (Fire)

Passive: Fire resistance

* SRC: Flame Dash → dash forward, ignite enemies * F: Ignite Weapon → next 3 hits burn stronger * SOF: Inferno Burst → AoE fire explosion

Weakness: Water deals extra damage

Combat Style: Aggressive melee burst

---

🌊 Tidecaller (Water)

Passive: Water breathing + faster swimming

* SRC: Water Pull → pull enemy toward you * F: Wave Step → short glide (enhanced on water) * SOF: Healing Tide → AoE regen in water

Weakness: Slower on land

Combat Style: Positioning + sustain

---

🌪️ Windstepper (Air)

Passive: Reduced fall damage

* SRC: Gust Jump → powerful leap * F: Air Dash → mid-air dash * SOF: Tempest Mode → speed + low gravity

Weakness: Lower max health

Combat Style: Mobility / hit-and-run

---

🌱 Verdant (Nature)

Passive: Slow regen on grass

* SRC: Root Snare → immobilize enemy (~2s max) * F: Bloom Heal → small heal (boosted on grass) * SOF: Overgrowth → area slows enemies, buffs user

Weakness: Fire vulnerability

Combat Style: Sustain + control

---

🪨 Stonewarden (Earth)

Passive: Knockback resistance

* SRC: Stone Slam → knockback attack * F: Brace → temporary damage reduction * SOF: Titan Form → high defense + KB immunity

Weakness: Slower movement

Combat Style: Tank / frontline

---

⚡ Stormforged (Lightning)

Passive: Speed boost during storms

* SRC: Lightning Strike → targeted strike * F: Static Charge → next hit deals bonus damage * SOF: Thunderstorm → AoE lightning

Weakness: Overcharge can damage self

Combat Style: High burst / risk-reward

---

🌑 Umbral (Shadow)

Passive: Better vision in darkness

* SRC: Shadow Step → short teleport * F: Fade → temporary invisibility * SOF: Nightfall → dark zone, gain buffs inside

Weakness: Weaker in daylight

Combat Style: Assassin / stealth

---

✨ Dawnbreaker (Light)

Passive: Emits low light (prevents mob spawns nearby)

* SRC: Radiant Smite → bonus vs low HP targets * F: Light Pulse → small AoE heal + knockback * SOF: Solar Aura → strong healing + reveal enemies

Weakness: Lower raw damage

Combat Style: Support / finisher

---

⚖️ Balance Rules

* No one-shot abilities vs full diamond players * Crowd control max duration: ≤ 2 seconds * Abilities rely on timing/skill, not raw stats

---

🌍 Environmental Synergy

* Water powers stronger in water * Fire weaker in rain * Shadow weaker in daylight * Storm stronger during thunderstorms

---

🚫 Anti-Abuse

* Global cooldown prevents spam * Abilities cancel on logout * No combat swapping (Echo Shard cooldown enforced)

---

🛠️ Technical Notes (for implementation)

* Use:

* PlayerInteractEvent (Right Click) * PlayerSwapHandItemsEvent (Offhand key) * Track cooldowns via timestamps * Store player power in persistent data container or config * Use action bar for feedback (sendActionBar)

---

🎯 Design Goals

* Vanilla+ feel (no RPG clutter) * Strong player identity * Skill-based PvP * Clean, simple mechanics

---

📦 Optional Extensions

* Power leveling system * Team synergy bonuses * Rare upgrades for abilities * Achievements tied to powers

---

Kodari AI
KodariApr 27 at 8:46 pm 62,387 (v2)
QuillEchoSMP
A vanilla-friendly SMP plugin where players choose one of eight unique "Echo Powers" tied to natural elements (Fire, Water, Air, Nature, Earth, Lightning, Shadow, Light). Powers are activated via Shift+Right Click, Offhand Key (F), and Shift+Offhand combos, each with individual cooldowns. Players select powers using a rare Echo Shard item with a 24-hour change cooldown. Includes passive effects, environmental synergies, weaknesses, and an admin command for server management.

Plan:

  • Build the inventory GUI framework (Handler, Button, GUI, GUIManager, GUIListener)

  • Create PowerType enum, PlayerData, PlayerDataManager for persistent UUID-based storage

  • Abstract EchoPower base class with 8 concrete power implementations (abilities + passives)

  • AbilityListener (PlayerInteractEvent for SRC, PlayerSwapHandItemsEvent for F/SOF), PassiveListener (damage modifiers, weaknesses, mob prevention), PlayerDataListener (join/quit)

  • EchoCommand for admin management, EchoShardUtil for custom item

QuillEchoSMP is fully implemented across 26 files — all 8 Echo Powers with SRC/F/SOF abilities, passives, weaknesses, environmental synergies, persistent UUID-based data storage, the Echo Shard GUI system with 24-hour cooldown enforcement, passive weaknesses handled in PassiveListener (fall damage, fire vulnerability, water weakness, daylight debuff, mob prevention), and a full /echopower admin command with tab completion.

Kodari can make mistakes. Review important code before using.
Files
src
Code
26 2,029
src/main/java/com/quill/quillechosmp/QuillEchoSMP.java
package com.quill.quillechosmp;

import com.quill.quillechosmp.commands.EchoCommand;
import com.quill.quillechosmp.inventory.gui.GUIListener;
import com.quill.quillechosmp.inventory.gui.GUIManager;
import com.quill.quillechosmp.listeners.AbilityListener;
import com.quill.quillechosmp.listeners.PassiveListener;
import com.quill.quillechosmp.listeners.PlayerDataListener;
import com.quill.quillechosmp.powers.*;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.NamespacedKey;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

import java.util.EnumMap;
import java.util.Map;

public class QuillEchoSMP extends JavaPlugin {
    @Getter private static QuillEchoSMP instance;
    @Getter private GUIManager guiManager;
    @Getter private PlayerDataManager playerDataManager;
    @Getter private Map<PowerType, EchoPower> powers;
    @Getter private NamespacedKey echoShardKey;

    @Override
    public void onEnable() {
        instance = this;
        saveDefaultConfig();

        echoShardKey = new NamespacedKey(this, "echo_shard");
        playerDataManager = new PlayerDataManager(this);
        guiManager = new GUIManager();

        powers = new EnumMap<>(PowerType.class);
        powers.put(PowerType.BLAZEBOUND, new Blazebound(this));
        powers.put(PowerType.TIDECALLER, new Tidecaller(this));
        powers.put(PowerType.WINDSTEPPER, new Windstepper(this));
        powers.put(PowerType.VERDANT, new Verdant(this));
        powers.put(PowerType.STONEWARDEN, new Stonewarden(this));
        powers.put(PowerType.STORMFORGED, new Stormforged(this));
        powers.put(PowerType.UMBRAL, new Umbral(this));
        powers.put(PowerType.DAWNBREAKER, new Dawnbreaker(this));

        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new AbilityListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PassiveListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerDataListener(this), this);

        EchoCommand echoCommand = new EchoCommand(this);
        getCommand("echopower").setExecutor(echoCommand);
        getCommand("echopower").setTabCompleter(echoCommand);

        // Tick passives every 5 seconds
        Bukkit.getScheduler().runTaskTimer(this, this::tickPassives, 100L, 100L);

        getLogger().info("QuillEchoSMP enabled! 8 Echo Powers ready.");
    }

    @Override
    public void onDisable() {
        // Remove all active passives for online players
        for (Player player : Bukkit.getOnlinePlayers()) {
            PlayerData data = playerDataManager.getData(player);
            if (data.getPower() != null) {
                EchoPower power = powers.get(data.getPower());
                if (power != null) power.removePassive(player);
            }
        }
        playerDataManager.saveAll();
        getLogger().info("QuillEchoSMP disabled. All data saved.");
    }

    private void tickPassives() {
        for (Player player : Bukkit.getOnlinePlayers()) {
            PlayerData data = playerDataManager.getData(player);
            if (data.getPower() == null) continue;
            EchoPower power = powers.get(data.getPower());
            if (power != null) power.tickPassive(player);
        }
    }
}