wimbleog

🔧 Minecraft Plugin Request – MCPvP Style Kit Editor

I want a custom Minecraft plugin similar to the MCPvP Kit Editor system with the following features and behavior:

📌 Core Command

The plugin should have a command:

/kiteditor This command should:

ONLY work at spawn NOT work in arenas, duels, or any other world/region

If used outside spawn, show a message like:

"You can only use this command at spawn."

📦 Kit Selection Menu (Main INVENTORY GUI) When a player types /kiteditor, a INVENTORY GUI menu should open This menu should look similar to a DeluxeMenus-style inventory INVENTORY GUI Requirements:

Display all available kits (example: Diamond, Netherite, Archer, etc.) Each kit should:

Be represented by its main item/icon Show a name and description Example:

Diamond kit → Diamond sword icon Archer kit → Bow icon One special item: “Layout” / “Edit Kit” item

Description:

Customize your inventory layout for this duel type Click to edit

🛠️ Kit Editing Menu When a player clicks a kit:

Open a new INVENTORY GUI for editing that specific kit Features:

Show:

Armor (helmet, chestplate, leggings, boots) Weapons Potions Utilities (pearls, food, etc.) Player should be able to:

Move items freely Change hotbar positions Arrange inventory layout INVENTORY GUI should visually match:

Standard Minecraft inventory editing style Like MCPvP / PvP servers 💾 Save System After editing:

Player clicks a Save button OR closes inventory Then:

Save the kit layout permanently (per player)

Send message in chat:

Your kit layout has been saved! ⚔️ Kit Usage in Game When the player joins:

Duel Arena FFA The plugin should:

Automatically give the custom saved kit layout Instead of the default kit 🚫 Restrictions /kiteditor should NOT:

Work during fights Work inside arenas Interfere with ongoing matches 🎨 UI / UX Details INVENTORY GUI should be:

Clean and professional Similar to MCPvP / modern PvP servers Include:

Glass panes for decoration Clear section separation Proper item naming & lore ⚙️ Extra (Optional but Preferred) Support multiple kits per player Config file to:

Add/remove kits Change icons

Permission support:

kiteditor.use

Kodari AI
KodariApr 13 at 1:13 pm 15,982 (v2)

I’ll create a PvP kit customization plugin with an interactive GUI system similar to MCPvP’s Kit Editor.

KitEditor
A PvP kit customization plugin similar to MCPvP's Kit Editor system. Players can customize their inventory layouts for different kit types at spawn using an interactive GUI system. Features include: kit selection menu with clickable icons, drag-and-drop inventory editing, persistent per-player kit storage, armor and hotbar customization, and automatic kit application when joining duels, arenas, or FFA. Includes permission support and fully configurable kit definitions.

All files created! The plugin features:✅ KitEditor plugin created successfully!

Core Features:

  • /kiteditor command (spawn-only with world check)

  • Interactive kit selection GUI with customizable kit icons

  • Drag-and-drop kit editor (slots 0-35: inventory, 36-39: armor)

  • Per-player persistent kit storage (YAML in playerdata/)

  • Auto-save on close + manual save button

  • Glass pane decorations and clean UI

  • Permission system (kiteditor.use)

Config includes:

  • 3 example kits (Diamond, Archer, Netherite)

  • Customizable spawn world check

  • Kit icons, names, descriptions, and default items

API for other plugins:

Java
KitEditorPlugin plugin = (KitEditorPlugin) Bukkit.getPluginManager().getPlugin("KitEditor");
PlayerKitData data = plugin.getDataManager().getPlayerData(uuid);
ItemStack[] items = data.getKitLayout("Diamond");

The GUI system uses lazy initialization to prevent field order issues, and the kit editor allows free item movement while protecting special buttons.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
17 951
src/main/java/com/mcpvp/kiteditor/KitEditorPlugin.java
package com.mcpvp.kiteditor;

import com.mcpvp.kiteditor.command.KitEditorCommand;
import com.mcpvp.kiteditor.config.ConfigManager;
import com.mcpvp.kiteditor.data.DataManager;
import com.mcpvp.kiteditor.inventory.gui.GUIListener;
import com.mcpvp.kiteditor.inventory.gui.GUIManager;
import com.mcpvp.kiteditor.kit.KitManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class KitEditorPlugin extends JavaPlugin {
    
    private ConfigManager configManager;
    private DataManager dataManager;
    private KitManager kitManager;
    private GUIManager guiManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.dataManager = new DataManager(this);
        this.kitManager = new KitManager(this);
        this.guiManager = new GUIManager();
        
        getCommand("kiteditor").setExecutor(new KitEditorCommand(this));
        
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        
        getLogger().info("KitEditor has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (dataManager != null) {
            dataManager.saveAll();
        }
        getLogger().info("KitEditor has been disabled!");
    }
}