starfox_0999
📎 1 file 5,257 chars
📄
pasted-code-1771987320156.txt
txt 243 lines
▶
==============================
ZODIAC SMP + SUPPLY DROP SYSTEM
==============================

OVERVIEW:
Competitive SMP plugin featuring:
- 12 Zodiac Classes
- Ability I & Ability II
- Per-zodiac cooldown config
- Per-zodiac damage config
- Trust system
- Reroll system
- Actionbar cooldown display
- Cinematic Supply Drop
- INVENTORY INVENTORY GUI editors
- Fully configurable

------------------------------
COMMANDS (FINAL LIST)
------------------------------

/zodiac INVENTORY INVENTORY GUI          (OP)
/zodiac withdraw
/ability 1
/ability 2
/trust add 
/trust remove 
/controls
/reroll      (OP)
/start               (OP)

/supply drop fall    (OP)
/supply drop INVENTORY INVENTORY GUI     (OP)

No extra commands.

------------------------------
TRUST SYSTEM
------------------------------

- Trusted players cannot damage each other.
- Applies to abilities and passives.
- If ability says "ignores trusted", it bypasses protection.
- Stored by UUID.
- Persistent across restarts.

------------------------------
CONTROLS SYSTEM
------------------------------

Default:
- /ability 1
- /ability 2

If /controls enabled:
- SHIFT → Ability I
- SHIFT + F → Ability II

------------------------------
/START
------------------------------

Broadcast:
🌠 Zodiac SMP Started!
Everyone has been given their Zodiac!

- Randomly assigns zodiac to all online players.
- Applies passives.
- Saves player data.
- Plays toast + enchant particles.

------------------------------
/REROLL 
------------------------------

- Removes current zodiac.
- Assigns new random zodiac.
- Resets cooldowns.
- Reapplies passive.
- Shows title to player.

------------------------------
REROLL BOOK
------------------------------

Item: Enchanted Book
Name: §dZodiac Reroll
- One-time use.
- Opens Zodiac INVENTORY INVENTORY GUI.
- Consumed on use.
- Cannot be used in combat.

------------------------------
COOLDOWN SYSTEM
------------------------------

- Separate cooldown for Ability I and II.
- Pulled from config.
- Stored per player.
- Actionbar display.
- Color coded:
  Green → Ready
  Yellow → Low time
  Red → On cooldown

If both active:
A1: 14s | A2: 29s

------------------------------
DAMAGE SYSTEM
------------------------------

Final Damage = Ability Damage × Global Multiplier

Trust check before applying damage.

------------------------------
CONFIG.YML
------------------------------

zodiac:
  auto_assign_on_start: true
  allow_withdraw: true
  combat_tag_seconds: 5

cooldowns:
  Aries: { ability1: 20, ability2: 35 }
  Taurus: { ability1: 25, ability2: 40 }
  Gemini: { ability1: 30, ability2: 25 }
  Cancer: { ability1: 30, ability2: 28 }
  Leo: { ability1: 22, ability2: 35 }
  Virgo: { ability1: 25, ability2: 40 }
  Libra: { ability1: 30, ability2: 30 }
  Scorpio: { ability1: 18, ability2: 30 }
  Sagittarius: { ability1: 20, ability2: 35 }
  Capricorn: { ability1: 25, ability2: 45 }
  Pisces: { ability1: 22, ability2: 30 }

damage:
  multiplier: 1.0
  abilities:
    Aries: { ability1: 2.5, ability2: 3.0 }
    Taurus: { ability1: 2.0, ability2: 3.0 }
    Gemini: { ability1: 2.0, ability2: 3.5 }
    Cancer: { ability1: 0.0, ability2: 3.0 }
    Leo: { ability1: 3.5, ability2: 3.0 }
    Virgo: { ability1: 3.0, ability2: 0.0 }
    Libra: { ability1: 3.0, ability2: 2.0 }
    Scorpio: { ability1: 2.0, ability2: 2.5 }
    Sagittarius: { ability1: 3.0, ability2: 2.5 }
    Capricorn: { ability1: 3.0, ability2: 4.0 }
    Pisces: { ability1: 3.0, ability2: 1.0 }

passives:
  dodge_chance_percent: 10
  poison_chance_percent: 10
  bonus_hearts:
    Aries: 1
    Capricorn: 2
    Pisces_water: 2
    Pisces_normal: 1

reroll:
  enabled: true
  consume_book: true
  give_book_on_start: false

particles:
  enabled: true
  intensity: normal

sounds:
  enabled: true

supplydrop:
  spawn_height: 60
  fall_duration: 120      # 30 – 3600 seconds
  circle_radius: 8
  particle_color: RED
  spawn_barrel: true
  leak_coordinates: true

------------------------------
SUPPLY DROP SYSTEM
------------------------------

Command:
/supply drop fall

INVENTORY INVENTORY GUI:
/supply drop INVENTORY INVENTORY GUI

On spawn:
🌠 Supply Drop Incoming!
📍 X: 1243 Y: 132 Z: -876
🕒 Landing in 20 seconds...

Timer Range:
Minimum: 30 seconds
Maximum: 1 hour (3600 seconds)

Actionbar:
Landing In: 45s
Landing In: 12m 34s
Landing In: 1h 00m 00s

Color Scaling:
Green >5m
Yellow 1–5m
Gold <1m
Red <10s

Circle:
- Rotating animated ring
- Configurable radius
- Configurable particle color

Landing:
- Explosion particle (visual only)
- Cloud burst
- Beacon sound
- No terrain damage
- Barrel spawns (if enabled)

Only 1 active drop at a time.

------------------------------
SMP FLOW
------------------------------

1. Admin runs /start
2. All players get random Zodiac
3. Independent cooldown abilities
4. Trust prevents friendly fire
5. Admin runs /supply drop fall
6. Coordinates leak
7. Timer counts down
8. Drop lands
9. PvP chaos begins

==============================
END OF SYSTEM
==============================
Kodari AI
KodariFeb 25 at 2:46 am 41,202 (v2)

I’ll analyze the existing plugin structure and compare it to the specification document to identify what needs to be implemented or fixed.

I’ll analyze the project and implement the missing components from the specification document.

Analysis

Current Status:

  • ✅ GUI framework, trust system, combat manager, particle/sound managers exist

  • ✅ Basic reroll command, ability command structure

  • ❌ CRITICAL BUG: CoreGUI references getCoreManager() but CoreManager not instantiated in main plugin

  • ❌ ZodiacCoreCommand exists but not registered

  • ❌ Missing: /start, /controls, /zodiac, /supplydrop commands

  • ❌ Missing: Zodiac assignment system with 12 zodiacs + abilities/passives

  • ❌ Missing: Supply drop timer/coordinates/GUI

  • ❌ Missing: Reroll book, zodiac GUI, toast notifications

  • ❌ Config missing zodiac-specific cooldowns/damage values

I’ll implement the complete zodiac system with all features from the spec.

I’ll implement the complete Zodiac SMP system from the specification. Starting with critical fixes, then core zodiac features, commands, and supply drop enhancements.

Compilation errors found - fixing ZodiacManager method typos now:

Implemented complete Zodiac SMP system with 12 zodiacs, abilities/passives, supply drop enhancements, all missing commands (/start, /controls, /zodiac, /supplydrop), CoreManager registration fix, zodiac-specific config values, and supply drop GUI with timer/coordinates broadcast.

starfox_0999

make it so when i shift + left click use abilty 1 shift + right click secondary abilty and add texture pack that i can use and see zodiac tokens

Kodari AI
KodariFeb 25 at 2:51 am 31,011 (v2)

I’ll help you set up shift-click ability triggers and create a custom texture pack for zodiac tokens. Let me first read the relevant files to understand the current implementation.

Now I’ll implement shift-click ability controls and add zodiac tokens with a custom texture pack.

Plan:

  1. Add tokens field to PlayerData

  2. Create AbilityControlListener for shift + left/right click detection

  3. Register the listener in main plugin

  4. Create custom resource pack with zodiac token textures

  5. Add token commands

All files created! The system now includes:

Shift-Click Ability Controls:

  • Shift + Left Click = Ability 1

  • Shift + Right Click = Ability 2

  • Toggle with /controls command

  • Saves preference per player

Zodiac Tokens:

  • Custom item with model data (sunflower base)

  • Right-click to redeem tokens

  • Commands: /tokens, /tokens give <player> <amount>, /tokens set <player> <amount>, /tokens item [amount]

  • Tokens saved to player data

  • Resource pack files included for custom texture

starfox_0999

u need to make for 1.21.8 wht version u maked

Kodari AI
KodariFeb 25 at 2:59 am 5,879 (v2)

I need to check what version the plugin is currently configured for. Let me read the relevant files:

Your plugin is currently configured for Minecraft 1.21.x:

  • plugin.yml: api-version: 1.21

  • build.gradle: paper-api:1.21.4-R0.1-SNAPSHOT

  • Java: Version 21 (required for MC 1.21+)

This will work on all 1.21.x servers (1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4+) because:

  • The api-version: 1.21 covers the entire 1.21 series

  • XSeries provides cross-version compatibility from 1.8 to 1.21+

  • No version-specific Bukkit enums are used directly

Note: There is no Minecraft 1.21.8 release yet. Current versions are 1.21.4 (latest stable). If you meant something else, let me know and I can adjust.

If you want me to update to the absolute latest Paper API snapshot for maximum compatibility, I can do that. Otherwise, your plugin is already fully compatible with all current 1.21.x versions.

starfox_0999
📎 1 file 2,887 chars
📄
pasted-code-1771989405898.txt
txt 62 lines
▶
Create a complete fantasy Minecraft RPG concept called "Zodiac SMP".

Theme: Cosmic celestial magic, constellations, star energy, ancient zodiac powers, dark purple and gold color palette, mystical glowing effects, dramatic lighting, magical particles, fantasy RPG style.

1. Zodiac Tokens:
Design 12 unique glowing zodiac tokens (Aries, Taurus, Gemini, Cancer, Leo, Virgo, Libra, Scorpio, Sagittarius, Capricorn, Aquarius, Pisces) plus a hidden 13th zodiac Ophiuchus.
Each token should be:
- A mystical coin or crystal shard
- Dark obsidian or deep space base
- Gold engraved zodiac symbol in the center
- Surrounded by glowing cosmic aura (purple, blue, gold energy)
- Floating magical particles
- Minecraft 16x16 pixel art item texture style
- Clean but detailed
- Transparent background

2. Custom Zodiac Weapons:
Create themed legendary swords (or weapon equivalents) for each zodiac:

Aries – Flaming inferno sword with ram horn guard, lava cracks, fire aura.
Taurus – Heavy stone earthbreaker blade with moss and glowing runes.
Gemini – Twin shadow blades with mirror illusion energy.
Cancer – Moonlit water blade with tidal glow.
Leo – Solar golden king blade with radiant light aura.
Virgo – Elegant crystal purity blade with green magical sparkles.
Libra – Balanced dual-tone sword (light and dark halves).
Scorpio – Venom fang dagger/sword with toxic green glow.
Sagittarius – Star infused bow or celestial blade with starlight trail.
Capricorn – Frosted mountain blade with icy particles.
Aquarius – Tidal energy sword with flowing water effects.
Pisces – Dreamlike oceanic blade with flowing ethereal fins.
Ophiuchus – Forbidden serpent blade wrapped in cosmic snake energy.

All weapons:
- Minecraft 32x32 pixel art texture style
- Fantasy RPG aesthetic
- Glowing magical particles
- Cinematic dramatic lighting

3. Abilities & Effects:
Each zodiac grants:
- 1 Active Ability (dash, slam, clone, poison strike, solar beam, starfall, water prison, etc.)
- 1 Passive Ability (resistance, strength at daytime, speed at night, backstab bonus, water breathing, etc.)
- Unique particle effects shaped like their constellation
- Zodiac symbol glowing under player when ability activates
- Cosmic sound effect vibe
- Brief sky darkening or meteor effect for ultimate skills

4. Celestial Event:
Design a world event called "Celestial Convergence":
- Sky turns dark purple with moving constellations
- All zodiac players gain boosted powers
- A boss called "Astral Titan" spawns (massive cosmic armored entity)
- Drops Legendary Cosmic Token with rotating constellation aura

5. Overall Visual Direction:
Ultra detailed fantasy Minecraft RPG concept art.
Cosmic nebula backgrounds.
Purple, blue, and gold color dominance.
High fantasy magical atmosphere.
Epic, powerful, legendary feeling.
Clean game-ready item textures.
Kodari AI
KodariFeb 25 at 3:19 am 55,411 (v2)

I’ll analyze the existing ZodiacSMP plugin and implement the complete fantasy RPG concept. Let me first read the key files to understand the current implementation.

I’ll implement the complete Zodiac SMP fantasy RPG concept with Ophiuchus (13th zodiac), custom weapons, zodiac tokens, and the Celestial Convergence event.

Now I’ll implement the complete RPG concept with Ophiuchus, custom weapons, enhanced tokens, and the Celestial Convergence event.

Now I’ll create the remaining files for the complete RPG concept:

All files for the complete Zodiac SMP fantasy RPG concept have been created, including Ophiuchus (13th zodiac), custom weapons, enhanced tokens, and the Celestial Convergence event system.

starfox_0999

wht version for this plugin

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
RESOURCEPACK_INSTRUCTIONS.txt
Code
60 4,985
src/main/java/com/zodiacsmp/ZodiacSMP.java
package com.zodiacsmp;

import com.zodiacsmp.commands.*;
import com.zodiacsmp.inventory.gui.GUIListener;
import com.zodiacsmp.inventory.gui.GUIManager;
import com.zodiacsmp.listeners.*;
import com.zodiacsmp.managers.*;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class ZodiacSMP extends JavaPlugin {
    
    private PlayerDataManager playerDataManager;
    private AbilityManager abilityManager;
    private TrustManager trustManager;
    private CombatManager combatManager;
    private ParticleManager particleManager;
    private SoundManager soundManager;
    private GUIManager guiManager;
    
    private ConfigManager configManager;
    private CoreManager coreManager;
    private EventToggleManager eventToggleManager;
    private DeathEffectManager deathEffectManager;
    private SupplyDropManager supplyDropManager;
    private ZodiacManager zodiacManager;
    private ZodiacWeaponManager zodiacWeaponManager;
    private ZodiacTokenManager zodiacTokenManager;
    private CelestialEventManager celestialEventManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.playerDataManager = new PlayerDataManager(this);
        this.trustManager = new TrustManager(this);
        this.combatManager = new CombatManager(this);
        this.particleManager = new ParticleManager(this);
        this.soundManager = new SoundManager(this);
        this.guiManager = new GUIManager();
        this.coreManager = new CoreManager(this);
        this.zodiacManager = new ZodiacManager(this);
        this.zodiacWeaponManager = new ZodiacWeaponManager(this);
        this.zodiacTokenManager = new ZodiacTokenManager(this);
        this.celestialEventManager = new CelestialEventManager(this);
        
        this.abilityManager = new AbilityManager(this);
        this.eventToggleManager = new EventToggleManager(this);
        this.deathEffectManager = new DeathEffectManager(this);
        this.supplyDropManager = new SupplyDropManager(this);
        
        registerCommands();
        registerListeners();
        
        Bukkit.getScheduler().runTaskTimer(this, () -> {
            combatManager.updateCombatTags();
            abilityManager.updateCooldowns();
        }, 0L, 20L);
        
        getLogger().info("ZodiacSMP has been enabled!");
        getLogger().info("SolEvents Core features loaded!");
    }
    
    @Override
    public void onDisable() {
        if (combatManager != null) {
            combatManager.shutdown();
        }
        if (playerDataManager != null) {
            playerDataManager.saveAllData();
        }
        if (eventToggleManager != null) {
            eventToggleManager.shutdown();
        }
        if (supplyDropManager != null) {
            supplyDropManager.shutdown();
        }
        getLogger().info("ZodiacSMP has been disabled!");
    }
    
    private void registerCommands() {
        getCommand("trust").setExecutor(new TrustCommand(this));
        getCommand("ability").setExecutor(new AbilityCommand(this));
        getCommand("particles").setExecutor(new ParticlesCommand(this));
        getCommand("solevents").setExecutor(new SolEventsCommand(this));
        getCommand("reroll").setExecutor(new RerollCommand(this));
        getCommand("zodiac").setExecutor(new ZodiacCommand(this));
        getCommand("start").setExecutor(new StartCommand(this));
        getCommand("controls").setExecutor(new ControlsCommand(this));
        getCommand("supplydrop").setExecutor(new SupplyDropCommand(this));
        getCommand("tokens").setExecutor(new TokensCommand(this));
        getCommand("celestial").setExecutor(new CelestialCommand(this));
        getCommand("weapon").setExecutor(new WeaponCommand(this));
        getCommand("token").setExecutor(new TokenCommand(this));
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new PlayerDataListener(this), this);
        Bukkit.getPluginManager().registerEvents(new TrustListener(this), this);
        Bukkit.getPluginManager().registerEvents(new CombatListener(this), this);
        Bukkit.getPluginManager().registerEvents(new CoreFeatureListener(this), this);
        
        Bukkit.getPluginManager().registerEvents(new EventToggleListener(this), this);
        Bukkit.getPluginManager().registerEvents(new DeathEffectListener(this), this);
        Bukkit.getPluginManager().registerEvents(new WeaponToggleListener(this), this);
        Bukkit.getPluginManager().registerEvents(new DamageSettingsListener(this), this);
        Bukkit.getPluginManager().registerEvents(new DimensionSettingsListener(this), this);
        Bukkit.getPluginManager().registerEvents(new AbilityControlListener(this), this);
        Bukkit.getPluginManager().registerEvents(new TokenListener(this), this);
        Bukkit.getPluginManager().registerEvents(new OphiuchusListener(this), this);
    }
}