miss_riya1
📎 1 file 2,568 chars
📄
pasted-code-1771947249640.txt
txt 96 lines
▶
Create a Minecraft Paper/Spigot plugin (latest version 1.20+).

Plugin Name: SyphonX Powers

I want a bending system similar to BendersMC but NOT using ability items and NOT locking the player's inventory.

CORE SYSTEM:
- Abilities activate based on hotbar slot (0–6).
- Abilities trigger on RIGHT CLICK.
- Secondary abilities trigger on LEFT CLICK.
- Works with ANY item in hand (sword, bow, food, empty hand).
- Do NOT require special ability items.
- Do NOT lock inventory.
- Players can drop and move items normally.
- Only cancel the event if an ability successfully activates.
- Do NOT cancel interaction with chests, doors, buttons, etc.

ELEMENTS:
Fire
Water
Earth
Air

Each element must have 7 slot-based abilities.

FIRE ABILITIES:
Slot 0 – Fire Blast (shoot fire projectile)
Slot 1 – Flame Ring (AOE fire circle)
Slot 2 – Fire Dash (short forward boost with fire trail)
Slot 3 – Fire Shield (temporary fire resistance + knockback burn)
Slot 4 – Surge (strong forward fire wave)
Slot 5 – Fire Jet (flight ability)
Slot 6 – Heat Torrent (rapid fire stream)

WATER ABILITIES:
Slot 0 – Water Whip
Slot 1 – Water Surge
Slot 2 – Ice Spike
Slot 3 – Water Shield
Slot 4 – Healing Rain
Slot 5 – Water Jet (flight on water only)
Slot 6 – Blood Surge (combat slow effect)

EARTH ABILITIES:
Slot 0 – Earth Spike
Slot 1 – Rock Throw
Slot 2 – Earth Wall
Slot 3 – Tremor (AOE knockup)
Slot 4 – Earth Armor
Slot 5 – Earth Launch (jump boost)
Slot 6 – Meteor Smash

AIR ABILITIES:
Slot 0 – Air Blast
Slot 1 – Air Swipe
Slot 2 – Air Scooter (speed boost)
Slot 3 – Air Shield
Slot 4 – Tornado Pull
Slot 5 – Air Glide (flight ability)
Slot 6 – Air Burst

FLIGHT RULES:
- All flight abilities last 60 seconds max.
- Fire Jet cannot be used while in combat.
- If player enters combat during Fire Jet, cancel flight.
- Combat tag duration: 10 seconds after hitting or being hit.

ENERGY SYSTEM:
- Max energy: 100
- Abilities consume energy.
- Regenerate 1 energy per second.
- Show energy in action bar.

COMBAT SYSTEM:
- Detect PvP hits and apply combat tag.
- Fire Jet disabled during combat.

ANIMATION REQUIREMENTS:
- Use particles heavily for better visuals.
- Smooth movement for dash abilities.
- Proper sounds for each ability.
- Make abilities feel competitive and fluid.

OTHER REQUIREMENTS:
- Clean modular ability classes.
- Cooldown system per ability.
- Config file to edit:
  - Damage
  - Energy cost
  - Cooldowns
  - Duration
- No ability items.
- No locked hotbar.
- Professional server-ready code.

Make it optimized for performance and multiplayer PvP servers.
Kodari AI
KodariFeb 24 at 3:39 pm 36,153 (v2)

I’ll create a comprehensive bending system plugin with slot-based abilities, energy management, and combat restrictions.

SyphonXPowers
Advanced element bending system featuring Fire, Water, Earth, and Air abilities. Each element has 7 slot-based powers activated by right/left clicking with any item. Includes energy management, combat tagging, flight restrictions, particle effects, and full configurability. Designed for competitive multiplayer PvP servers with optimized performance and smooth ability animations.

Plan:

  • Set up core managers (energy, combat tag, cooldowns, flight, player data)

  • Create abstract ability system with slot-based activation

  • Implement all 28 abilities (7 per element) with particles and effects

  • Add event listeners that don’t lock inventory or require special items

  • Configure all values with YAML config

All files created successfully! The plugin features:

Core Systems:

  • Energy management with regeneration and action bar display

  • Combat tagging (10s duration) that disables Fire Jet

  • Flight management with 60s max duration

  • Cooldown system per ability

  • Slot-based activation (0-6) without locking inventory

28 Abilities (7 per element):

  • All abilities work with any item in hand

  • Extensive particle effects for visual appeal

  • Proper damage, knockback, and movement

  • Flight abilities respect combat restrictions

Configuration:

  • All damage, costs, cooldowns, and durations configurable

  • Energy system fully customizable

  • Combat tag duration adjustable

The plugin works on any item interaction and only cancels events when abilities successfully activate, preserving normal gameplay interactions.

miss_riya1

Now Make it better and Make INVENTORY GUI looks cool and amazing

Kodari AI
KodariFeb 24 at 4:56 pm 22,620 (v2)

I’ll read the existing files first to understand the current structure, then implement an amazing GUI system for your bending plugin.

I’ll transform your bending plugin with an absolutely stunning GUI system featuring animated borders, glowing effects, and beautiful design!

Now I’ll create an amazing GUI system with stunning visuals and smooth animations!

System transformed! I’ve created a stunning GUI system with:

✨ Features:

  • Beautiful animated borders with glowing glass panes

  • Main Menu with element selection, abilities, and stats

  • Element Selection GUI with detailed descriptions and lore

  • Ability Browser showing all your bending abilities

  • Sound effects on every interaction

  • ItemBuilder utility for easy item creation

  • Glow effects on important items

  • Element-themed colors throughout

🎮 Usage:

  • /bending - Opens the stunning main GUI menu

  • Click through beautifully designed menus

  • Everything is clickable with smooth transitions

The GUIs feature gradient borders, enchantment glows, detailed ability stats, and an immersive visual experience!

miss_riya1

Fix as many bugs as you can and make scoreboard as much better as you can

Kodari AI
KodariFeb 24 at 5:00 pm 35,853 (v2)

I’ll analyze the project for bugs and improve the scoreboard. Let me read all the files first.

Now I’ll analyze the bugs and create a comprehensive scoreboard system.

Analysis:

Bugs Found:

  1. Task leak in FireBlast - Scheduler task never cancelled, continues running

  2. Memory leak in PlayerListener - PlayerData not removed on quit

  3. Null handling in ItemBuilder - XMaterial.parseItem() can return null

  4. No scoreboard system - Currently missing entirely

Improvements:

  • Create comprehensive scoreboard with energy, element, cooldowns, combat status, flight info

  • Add animated scoreboard with auto-updates

  • Fix all identified bugs

Fixed all bugs and created an advanced animated scoreboard system with energy bars, element display, combat status, flight status, and player count.

miss_riya1

Find More as many as you can

miss_riya1

Make plugin name powers

miss_riya1

How to use powers?

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
58 3,967
src/main/java/com/syphonx/powers/SyphonXPowers.java
package com.syphonx.powers;

import com.syphonx.powers.ability.AbilityManager;
import com.syphonx.powers.combat.CombatListener;
import com.syphonx.powers.combat.CombatTagManager;
import com.syphonx.powers.command.BendingCommand;
import com.syphonx.powers.config.ConfigManager;
import com.syphonx.powers.cooldown.CooldownManager;
import com.syphonx.powers.energy.EnergyDisplay;
import com.syphonx.powers.energy.EnergyManager;
import com.syphonx.powers.flight.FlightManager;
import com.syphonx.powers.gui.GUIListener;
import com.syphonx.powers.gui.GUIManager;
import com.syphonx.powers.listener.AbilityListener;
import com.syphonx.powers.listener.PlayerListener;
import com.syphonx.powers.player.PlayerDataManager;
import com.syphonx.powers.scoreboard.ScoreboardManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class SyphonXPowers extends JavaPlugin {
    
    private ConfigManager configManager;
    private PlayerDataManager playerDataManager;
    private EnergyManager energyManager;
    private CombatTagManager combatTagManager;
    private CooldownManager cooldownManager;
    private FlightManager flightManager;
    private AbilityManager abilityManager;
    private EnergyDisplay energyDisplay;
    private GUIManager guiManager;
    private ScoreboardManager scoreboardManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.playerDataManager = new PlayerDataManager();
        this.energyManager = new EnergyManager(this);
        this.combatTagManager = new CombatTagManager(this);
        this.cooldownManager = new CooldownManager();
        this.flightManager = new FlightManager(this);
        this.abilityManager = new AbilityManager(this);
        this.energyDisplay = new EnergyDisplay(this);
        this.guiManager = new GUIManager();
        this.scoreboardManager = new ScoreboardManager(this);
        
        getServer().getPluginManager().registerEvents(new AbilityListener(this), this);
        getServer().getPluginManager().registerEvents(new CombatListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
        getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);
        
        getCommand("bending").setExecutor(new BendingCommand(this));
        
        energyManager.startRegeneration();
        energyDisplay.startDisplay();
        scoreboardManager.startUpdating();
        
        getLogger().info("SyphonXPowers enabled!");
    }
    
    @Override
    public void onDisable() {
        if (energyManager != null) {
            energyManager.stopRegeneration();
        }
        if (energyDisplay != null) {
            energyDisplay.stopDisplay();
        }
        if (flightManager != null) {
            flightManager.cancelAllFlights();
        }
        if (scoreboardManager != null) {
            scoreboardManager.stopUpdating();
        }
        
        getLogger().info("SyphonXPowers disabled!");
    }
}