kabeerali-ops

make a custom weapoon plugin like glory smp plugin add 3 weapons one doom hammer and ice sword and fire sword with their ability and power advance and add craftingrecipe hard to make and tell me and when anyone craft them in crafting table it display coordinate on screem and need 20 minutes to craft with particles and etc i want best and add textures of the weapons like glory smp plugin

Kodari AI
KodariAug 21 at 4:58 pm 2
  1. Core plugin: create the Gradle project, plugin metadata, configuration, and weapon definitions.

  2. Weapons: add Doom Hammer, Ice Sword, and Fire Sword items with custom-model-data texture hooks and abilities.

  3. Crafting: register difficult recipes, intercept crafting-table completion, run 20-minute particle jobs, show live coordinates, and deliver completed weapons.

  4. Runtime: register listeners, cooldowns, passive combat effects, offline reward handling, and clean shutdown.

Implemented GloryWeapons, a custom legendary weapons plugin with:

  • Doom Hammer

    • Cataclysm shockwave

    • Area damage and knockback

    • Explosion particles and sound

    • Bonus melee damage

  • Ice Sword

    • Absolute Zero ability

    • Area damage and strong slowness

    • Snowflake particles

    • Passive slowing effect

  • Fire Sword

    • Inferno ability

    • Area damage and ignition

    • Flame particles and fire sound

    • Passive burn effect

  • Difficult shaped crafting recipes using rare materials

  • 20-minute crafting timer

  • Forge location broadcasts with world and coordinates

  • Live action-bar timer and forge particles

  • Automatic item delivery after completion

  • Rewards preserved if the player disconnects

  • Cooldowns for all abilities

  • Custom model data texture support:

    • Doom Hammer: 91001

    • Ice Sword: 91002

    • Fire Sword: 91003

The plugin includes resource-pack/README.md explaining how to add the actual PNG/model textures. Minecraft plugins cannot directly create custom PNG textures, so a resource pack is required for the custom visuals.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
10 659
src/main/java/com/kodari/gloryweapons/GloryWeaponsPlugin.java
package com.kodari.gloryweapons;

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

public final class GloryWeaponsPlugin extends JavaPlugin {

    private WeaponManager weaponManager;
    private CraftingManager craftingManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        weaponManager = new WeaponManager(this);
        craftingManager = new CraftingManager(this, weaponManager);
        craftingManager.registerRecipes();

        Bukkit.getPluginManager().registerEvents(new WeaponListener(weaponManager, craftingManager), this);
        getLogger().info("GloryWeapons enabled: Doom Hammer, Ice Sword, and Fire Sword are ready to forge.");
    }

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