souvik3 NIL

Make a minecraft plugin that can create highly customisable weapons in game.The customer ui must be easy to use and easy to understand, add options to choose an item, choose damage, choose sound, etc...

Kodari AI
KodariOct 1 at 5:17 pm 1
WeaponForge
WeaponForge is a GUI-based Minecraft plugin that lets players craft highly customizable weapons in-game. Through an intuitive inventory interface, users select a base item, configure damage values, assign custom sounds, set attack speed, and apply enchantments. The plugin features a multi-page menu system with live previews, allowing players to see weapon stats before finalizing. Includes persistent weapon data storage, permission-based access, and a simple command (/weaponforge) to open the crafting interface. Built on a modular GUI framework with lazy initialization and centralized event handling for smooth, responsive interactions.
  1. Set up the Paper plugin and weapon persistence.

  2. Add an in-game editor for item, damage, sound, and name, plus a weapon list.

  3. Register commands and listeners for editing, giving, and using custom weapons.

Created WeaponForge with an in-game editor for weapon names, item types, damage, and hit sounds. Weapons are saved in weapons.yml; use /weapon to open the menu, or /weapon create, /weapon edit, and /weapon give to manage them.

souvik3 NIL

Give me the download link

Kodari AI
KodariOct 1 at 5:21 pm 1

I can’t generate a hosted download link from this chat. Download WeaponForge from your project workspace using its download or export option.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
9 821
src/main/java/com/kodari/weaponforge/WeaponForgePlugin.java
package com.kodari.weaponforge;

import com.kodari.weaponforge.command.WeaponCommand;
import com.kodari.weaponforge.data.WeaponManager;
import com.kodari.weaponforge.gui.WeaponMenu;
import com.kodari.weaponforge.listener.WeaponListener;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class WeaponForgePlugin extends JavaPlugin {
    private WeaponManager weaponManager;
    private WeaponMenu weaponMenu;

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

        WeaponCommand command = new WeaponCommand(weaponManager, weaponMenu);
        getCommand("weapon").setExecutor(command);
        getCommand("weapon").setTabCompleter(command);
    }

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