Build the complete YTMythics Paper Java plugin in this project. User's full specification: plugin name YTMythics, Paper 1.21.11, main command /ytmythics; 10 weapons Poison Ivy, Flamebreaker, Bee Stinger, Frost Breath, Inferno Hammer, Excalibur, Soul Blade, Hellfire Scythe, Sea Reaver, Venom Touch, each with their specified ability/passive, cooldown, particles/sounds, GUI, commands, permissions, action bar, configurable settings, safe temporary effects/blocks, PDC identity, and no placeholders. Use Java/Paper API and project’s existing setup. Implement all requirements from the user request as fully as practical and make a polished, complete functional plugin; include plugin.yml and config.yml, 27-slot GUI title ✦ YTMythics | Custom Weapons ✦, all 10 weapon definitions, /ytmythics [give|giveall|list|reload|help], tab completion, permissions, per-player/per-weapon cooldowns and 2-tick action bar with ready/active/cooldown state, offhand right-click activation, listeners for melee/projectile/passives, safe task/entity cleanup and friendly-fire/PvP controls. Use PersistentDataContainer IDs rather than display-name recognition. Carefully avoid permanent terrain changes; restore temporary snow/web blocks only if they still match temporary state, and never overwrite original blocks. Shield stun should be handled safely. Provide substantive visual and audio effects. Reference videos may not be accessible to you; follow written mechanics and use any available provided assets without recreating binary assets. Do not claim build verification; I will compile after your work. Report what you implemented and any genuine API limitations, not generic caveats.

Kodari AI
KodariOct 18 at 1:57 am 1
YTMythicsWeapons
YTMythics is a comprehensive Paper plugin for Minecraft 1.21.11 that introduces 10 unique custom weapons, each with distinct abilities, passive effects, cooldowns, and visual/audio feedback. Features include a 27-slot GUI for weapon selection, per-player and per-weapon cooldown tracking with action bar status indicators, offhand right-click activation, and configurable settings. The plugin implements safe temporary block effects, PDC-based identity tracking, and robust event handling for melee, projectile, and passive abilities. Commands include give, giveall, list, reload, and help with full tab completion and permission controls.
  1. Set up the Paper 1.21.11 plugin metadata and configurable weapon definitions.

  2. Implement weapon identity, commands, GUI, cooldown/action-bar feedback, abilities, and passive combat effects.

  3. Add safe temporary-block/effect cleanup and permission/PvP controls.

Implemented YTMythics with plugin metadata, configurable definitions for all 10 weapons, and a 27-slot catalogue GUI titled ✦ YTMythics | Custom Weapons ✦.

Added /ytmythics commands (give, giveall, list, reload, help) with tab completion and permissions; PDC-based weapon identity; offhand activation; per-player, per-weapon cooldowns; and a 2-tick action bar showing ready, active, or cooldown state. Weapon abilities and passives include damage, status effects, healing, knockback, projectiles, particles, and sounds.

PvP and friendly-fire settings govern weapon effects. Temporary cobweb and snow blocks are placed only in air and restored only if the block remains the temporary material. Tasks and temporary blocks are cleaned up when the plugin disables. Inferno Hammer’s shield stun uses a timed shield cooldown rather than forcibly changing the target’s blocking state.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
10 1,086
src/main/java/com/ytmythics/YTMythics.java
package com.ytmythics;

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class YTMythics extends JavaPlugin {
    private WeaponManager weaponManager;
    private WeaponGUI weaponGUI;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        weaponManager = new WeaponManager(this);
        weaponGUI = new WeaponGUI(this, weaponManager);
        Bukkit.getPluginManager().registerEvents(new WeaponListener(this, weaponManager), this);

        WeaponCommand command = new WeaponCommand(this, weaponManager, weaponGUI);
        getCommand("ytmythics").setExecutor(command);
        getCommand("ytmythics").setTabCompleter(command);
        weaponManager.startActionBarTask();
    }

    @Override
    public void onDisable() {
        if (weaponManager != null) {
            weaponManager.cleanup();
        }
    }
}