finnburgess11

make me a minecraft 1.21.11 paper plugin that adds 10 new custom weapons each with 2 different abilities with wand and swords as netherite swords and axes as netherite axes also add crafting recepices for all of them and add the mace as a mace

Kodari AI
KodariMay 7 at 3:44 pm 22,448 (v2)

I’ll create a custom weapons plugin with 10 unique weapons, each with 2 abilities.

CustomWeapons
A Paper plugin that adds 10 custom weapons with unique abilities. Includes fire wands, ice swords, lightning axes, poison wands, healing swords, earth axes, wind wands, shadow swords, thunder maces, and explosive axes. Each weapon has two distinct abilities activated by right-click and shift-right-click. Features custom crafting recipes, cooldown management, particle effects, and persistent data storage using PDC.

Perfect! I’ve created a complete custom weapons plugin with:

10 Custom Weapons:

  1. Fire Wand (Netherite Sword) - Fireball launch + Flame Aura

  2. Ice Sword (Netherite Sword) - Frost Strike + Ice Shards

  3. Lightning Axe (Netherite Axe) - Chain Lightning + Speed Boost

  4. Poison Wand (Netherite Sword) - Poison Cloud + Venomous Strike

  5. Healing Sword (Netherite Sword) - Life Steal + Area Heal

  6. Earth Axe (Netherite Axe) - Ground Slam + Stone Shield

  7. Wind Wand (Netherite Sword) - Wind Gust + Levitation

  8. Shadow Sword (Netherite Sword) - Invisibility Dash + Blind Enemies

  9. Thunder Mace (Mace) - Lightning Strike + Thunder Clap

  10. Explosive Axe (Netherite Axe) - Explosive Strike + Fire Resistance

Features:

  • Each weapon has 2 unique abilities (right-click and shift-right-click)

  • Custom crafting recipes for all weapons

  • Cooldown system for abilities

  • Particle effects and sounds

  • Configurable damage, cooldowns, and ability parameters

  • PDC-based weapon storage (no loss on restart)

  • Admin commands to give weapons and reload config

  • Enhanced melee damage for all weapons

Commands:

  • /cw give <weapon> <player> - Give a weapon

  • /cw list - List all weapons

  • /cw reload - Reload configuration

The plugin uses XSeries for 1.21+ compatibility and includes the mace weapon type!

finnburgess11

can you make it the first ability is offhand bind and the second ability is offhand crouch

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
11 1,289
src/main/java/com/customweapons/CustomWeaponsPlugin.java
package com.customweapons;

import com.customweapons.listeners.WeaponListener;
import com.customweapons.managers.AbilityManager;
import com.customweapons.managers.RecipeManager;
import com.customweapons.managers.WeaponManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class CustomWeaponsPlugin extends JavaPlugin {

    private WeaponManager weaponManager;
    private AbilityManager abilityManager;
    private RecipeManager recipeManager;

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

        this.weaponManager = new WeaponManager(this);
        this.abilityManager = new AbilityManager(this);
        this.recipeManager = new RecipeManager(this);

        getServer().getPluginManager().registerEvents(new WeaponListener(this), this);

        if (getConfig().getBoolean("enable_recipes", true)) {
            recipeManager.registerAllRecipes();
        }

        getCommand("customweapons").setExecutor(new WeaponCommand(this));

        getLogger().info("CustomWeapons has been enabled!");
    }

    @Override
    public void onDisable() {
        if (recipeManager != null) {
            recipeManager.unregisterAllRecipes();
        }
        getLogger().info("CustomWeapons has been disabled!");
    }
}