bobermcsigma1

Create me plugin for custom items creator

Kodari AI
KodariSep 25 at 6:44 pm 1
CustomItemCreator
A Bukkit plugin providing an interactive inventory GUI for creating custom items. Players can open a creation menu, select item materials, set custom names, descriptions, and enchantments through a clickable interface. The plugin uses a button-based system where each slot represents a configurable property. Users can preview their item in real-time, save creations to a library, and spawn finished items. Includes a management GUI for editing or deleting saved custom items, with persistent storage and easy item duplication for players.
  • Build a Paper plugin with /customitem (/itemcreator alias) and a held-item editor GUI.

  • Support display-name and lore editing, unbreakable/glow toggles, and saving named templates.

  • Add template listing and giving commands, plus Gradle and plugin configuration.

Created the CustomItems Paper plugin. Hold an item and run /customitem (or /itemcreator) to edit its name and lore, toggle unbreakable and glow, and save it as a template. Use /customitem list and /customitem give <id> [player] to manage saved templates. Templates persist in config.yml; the command defaults to operators.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
7 395
src/main/java/com/kodari/customitems/CustomItemsPlugin.java
package com.kodari.customitems;

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

public final class CustomItemsPlugin extends JavaPlugin {
    private CreatorManager creatorManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        creatorManager = new CreatorManager(this);
        Bukkit.getPluginManager().registerEvents(creatorManager, this);
        getCommand("customitem").setExecutor(new CustomItemCommand(creatorManager));
    }
}