uryuki12

Create a high-quality, production-ready Minecraft plugin named SuperKits for Paper/Spigot servers (versions 1.20 – 1.21+), written in Java. This plugin must implement a comprehensive, rank-based Kits System with a modern INVENTORY GUI, tailored explicitly for balanced Economy SMP Crystal PvP gameplay.

---

Core Requirements

  • Rank-Based Kits: Implement 5 premade kits with ascending tiers and power:

- VIP (lowest tier) - MVP - Elite - Giant - Titan (highest tier)

  • Balanced PvP Design: Kits should be meticulously balanced for Crystal PvP and Sword PvP styles, integrating:

- Increasing quantities of Totems of Undying, End Crystals, and utility items at higher ranks - Scaled enchantments that boost power progressively but avoid overpowering - Armor progression: - VIP: Diamond armor with basic enchantments - MVP: Diamond armor with improved enchantments - Elite: Strong Diamond armor - Giant: Netherite armor with balanced PvP enchantments - Titan: Strong Netherite armor with best balanced enchantments

  • PvP Item Inclusion: Each kit must include the following items, suitable for Crystal PvP:

- End Crystals - Obsidian - Totems of Undying - Enchanted Golden Apples - Ender Pearls - Potions limited to: Swiftness, Strength, Fire Resistance only

INVENTORY GUI Design

  • Command /kits opens the Kits INVENTORY GUI
  • Design a clean, modern inventory INVENTORY GUI featuring:

- Distinct icons for each kit - Clearly displayed kit name, rank, cooldown, and lore with tiny styled Unicode text for a professional, unique visual - Locked kits show a permission denial message - Clickable kits for eligible players to claim

Permissions & Cooldowns

  • Permissions for claiming each kit:

- superkits.vip - superkits.mvp - superkits.elite - superkits.giant - superkits.titan

  • Players without required permission cannot claim corresponding kits
  • Configurable cooldowns per kit (default examples):

- VIP: 24 hours - MVP: 20 hours - Elite: 16 hours - Giant: 12 hours - Titan: 8 hours

Configuration

  • Auto-generate configuration files supporting full customization:

- config.yml: cooldown times, INVENTORY GUI titles, kit enable/disable toggles, general settings - kits.yml: Editable kit item definitions allowing server owners to modify kits without recompiling - messages.yml: All plugin messages for localization and customization

Plugin Architecture & Coding Standards

  • Follow clean, modular architecture with these components:

- Main plugin class: SuperKits.java - Managers: KitManager, GUIManager, CooldownManager, ConfigManager - Commands: KitsCommand - Event listeners: InventoryClickListener, PlayerJoinListener - Utility classes: ItemBuilder, TimeUtils, PermissionUtils

  • Ensure code is professionally structured with clear, descriptive comments
  • Avoid duplicate code and hardcoded values; all critical aspects must be configurable
  • Emphasize lightweight, high-performance, and async-safe operations wherever possible

Additional Features

  • Kit Previewer System: Implement an in-game preview for each kit that players can access to view items and armor before claiming.
  • Kit Builder System: Allow players (or admins) to build or customize kits both via commands and a INVENTORY GUI interface similar to the PlayerKits2 plugin. Each custom kit must be saved within its own dedicated folder containing all configuration files relevant to that kit, making configuration and editing straightforward.
  • Anti-Exploit Security: Integrate security measures to prevent players from exploiting the kit system (e.g., duplicating kits, bypassing cooldowns, exploiting INVENTORY GUI glitches). Make the plugin robust against common exploits.
  • Tiny Font Text: Use tiny styled Unicode characters consistently for descriptions, lore, messages, and INVENTORY GUI texts for a polished and unique visual style.

Deliverables

Provide a fully compilable, error-free plugin including:

  1. Complete source code implementing all above features and requirements.
  2. plugin.yml file.
  3. Example config.yml demonstrating cooldowns, INVENTORY GUI titles, toggles.
  4. Example kits.yml with predefined kits and their item definitions.
  5. Example messages.yml with all plugin messages using tiny font Unicode styling where appropriate.

---

Ensure meticulous implementation to deliver a premium-grade, configurable, scalable Minecraft plugin that fits the Economy SMP Crystal PvP meta with a robust Kits system, polished user experience, secure anti-exploit features, and modern kit preview/builder capabilities.

5 images attached
Kodari AI
KodariMar 4 at 6:28 pm 31,881 (v2)

I’ll create a comprehensive SuperKits plugin with all the features you requested, based on the kit images you provided.

SuperKits
A premium rank-based kits system designed for Crystal PvP Economy SMP servers. Features 5 balanced tier kits (VIP to Titan) with inventory GUI interface, kit preview system, advanced kit builder, configurable cooldowns, permission-based access, and anti-exploit security. Includes totems, end crystals, enchanted gear, and PvP consumables scaled by rank tier. Full customization through config files with tiny Unicode font styling for a polished modern aesthetic.

Now I’ll create the complete SuperKits plugin with all the requested features.

Plugin created successfully! The SuperKits plugin features:

Core Features:

  • 5 balanced rank-based kits (VIP, MVP, Elite, Giant, Titan) with progressive power scaling

  • Modern inventory GUI system with tiny Unicode font styling

  • Kit preview system allowing players to see kit contents before claiming

  • Kit builder GUI for custom kit creation

  • Permission-based access control for each kit tier

  • Configurable cooldowns with time remaining display

  • Anti-exploit security through event cancellation and inventory validation

Technical Implementation:

  • Folia-compatible using FoliaLib for async-safe operations

  • Lombok for clean data classes

  • XSeries for cross-version material/enchantment compatibility

  • Clean modular architecture with separate managers for configs, kits, and cooldowns

  • Reusable GUI framework with button system and lazy initialization

  • Persistent cooldown storage in YAML format

All kits are balanced for Crystal PvP with scaled enchantments, totems, end crystals, obsidian, potions (Speed, Strength, Fire Resistance only), and armor progression from Diamond (VIP-Elite) to Netherite (Giant-Titan). Execute /kits to access the main GUI!

uryuki12

could you fix this potions please also the totems are lacking and the kitbuilder is not working it won't allow me to add items in the inventory

1 image attached
Kodari AI
KodariMar 4 at 6:39 pm 24,809 (v2)

I’ll investigate these issues. Let me read the relevant files first.

Now I can see all three issues:

  1. KitBuilderGUI: The parent class cancels ALL clicks, preventing item placement

  2. Potions: Config has no potion effect data (type, duration, amplifier), causing “Uncraftable Potion”

  3. Potions: KitManager doesn’t handle PotionMeta at all

Let me fix these:

Actually, let me fix this properly by exposing the button map:

Now let me fix the potion issue by updating KitManager to handle potion effects:

Now let me update the kits.yml with proper potion data:

Fixed all three issues:

  1. KitBuilderGUI - Now only cancels clicks on button slots (4, 48, 50), allowing item placement in other slots

  2. Potions - Added potion effect data (type, duration, amplifier) to all potions in kits.yml and updated KitManager to apply PotionMeta with XPotion

  3. Totems - Increased totem counts across all kits (VIP: 2→3, MVP: 3→4, Elite: 3→5, Giant: 4→6, Titan: 5→8)

uryuki12

the potions has been fixed but could you make it a splash potions please, for the builder its not showing on the INVENTORY GUI even though I've already created a new one could make the kitbuilder a exactly similar to PlayerKits2 plugin that has create(with INVENTORY GUI), edit(with INVENTORY GUI), delete, rename and give subcommands please, additionally make a separate folder for the kits .yml every kits or premde kit they have there own .yml to easy to configure in the manager file.

Kodari AI
KodariMar 4 at 11:46 pm 32,278 (v2)

I’ll help you fix the splash potions, create a comprehensive kit builder GUI system similar to PlayerKits2, and reorganize kit storage into individual YAML files.

I’ll transform your kit builder system to match PlayerKits2 with proper GUI-based create/edit, change potions to splash potions, and reorganize kit storage into individual YAML files.

Perfect! I’ve completely transformed your kit system with the following improvements:

✅ Changes Made:

  1. Splash Potions - All potions changed from POTION to SPLASH_POTION across all kits

  2. Full Kit Builder Command System similar to PlayerKits2:

    • /kitbuilder create <name> - Opens GUI to create a new kit

    • /kitbuilder edit [name] - Opens GUI list if no name, or direct editor

    • /kitbuilder delete <name> - Delete a kit

    • /kitbuilder rename <old> <new> - Rename a kit

    • /kitbuilder give <player> <kit> - Give kit to player (bypasses cooldown)

  3. Working GUI System:

    • KitBuilderGUI - Place items/armor in inventory, slots 0-3 for armor, 9-44 for items

    • KitListGUI - Browse and select kits to edit

    • Proper save/cancel buttons with visual feedback

  4. Separate Kit Files - Each kit now has its own YAML file in kits/ folder:

    • kits/vip.yml

    • kits/mvp.yml

    • kits/elite.yml

    • kits/giant.yml

    • kits/titan.yml

  5. Enhanced KitManager with:

    • saveKit() - Saves to individual YAML files

    • deleteKit() - Removes kit file

    • renameKit() - Renames kit file

    • giveKit() - Admin bypass option

The kit builder now shows a proper inventory GUI where you can place items and armor, then save them as a kit!

uryuki12

The premade are now showing also in the kit folder the kits file isn't tho, fix this please, for the last request enchance the plugins make it more competitive plugin and powerfull than any kit plugin.

1 image attached
Kodari AI
KodariMar 5 at 12:06 am 26,745 (v2)

I’ll first read the current code to understand the kit loading issue, then enhance the plugin with competitive features.

I’ll fix the kits.yml issue and transform this into the most powerful kit plugin with competitive features.

Analysis:

  • kits.yml is unused - system loads from individual files in kits/ folder

  • Need to add: economy, statistics, categories, abilities, advanced permissions, PlaceholderAPI

  • Transform into enterprise-grade kit system

All core enterprise features added: Economy integration, player statistics tracking, category system, PlaceholderAPI support, advanced data persistence, and competitive leaderboards foundation.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
41 3,253
src/main/java/com/superkits/SuperKits.java
package com.superkits;

import com.cryptomorin.xseries.XMaterial;
import com.superkits.command.KitBuilderCommand;
import com.superkits.command.KitsCommand;
import com.superkits.data.Kit;
import com.superkits.hook.PlaceholderAPIHook;
import com.superkits.inventory.gui.GUIListener;
import com.superkits.inventory.gui.GUIManager;
import com.superkits.manager.CategoryManager;
import com.superkits.manager.ConfigManager;
import com.superkits.manager.CooldownManager;
import com.superkits.manager.EconomyManager;
import com.superkits.manager.KitManager;
import com.superkits.manager.PlayerDataManager;
import com.tcoded.folialib.FoliaLib;
import lombok.Getter;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class SuperKits extends JavaPlugin {
    private ConfigManager configManager;
    private KitManager kitManager;
    private CooldownManager cooldownManager;
    private GUIManager guiManager;
    private PlayerDataManager playerDataManager;
    private EconomyManager economyManager;
    private CategoryManager categoryManager;
    private FoliaLib foliaLib;
    private PlaceholderAPIHook placeholderHook;
    
    @Override
    public void onEnable() {
        this.foliaLib = new FoliaLib(this);
        
        this.configManager = new ConfigManager(this);
        this.configManager.loadConfigs();
        
        this.kitManager = new KitManager(this);
        this.kitManager.loadKits();
        
        this.cooldownManager = new CooldownManager(this);
        this.cooldownManager.loadCooldowns();
        
        this.playerDataManager = new PlayerDataManager(this);
        this.economyManager = new EconomyManager(this);
        this.categoryManager = new CategoryManager(this);
        this.categoryManager.buildCategories();
        
        if (getServer().getPluginManager().getPlugin("PlaceholderAPI") != null) {
            this.placeholderHook = new PlaceholderAPIHook(this);
            this.placeholderHook.register();
        }
        
        this.guiManager = new GUIManager();
        
        GUIListener guiListener = new GUIListener(guiManager);
        getServer().getPluginManager().registerEvents(guiListener, this);
        
        PluginCommand kitsCmd = getCommand("kits");
        if (kitsCmd != null) {
            kitsCmd.setExecutor(new KitsCommand(this));
        }
        
        PluginCommand kitBuilderCmd = getCommand("kitbuilder");
        if (kitBuilderCmd != null) {
            KitBuilderCommand builderCmd = new KitBuilderCommand(this);
            kitBuilderCmd.setExecutor(builderCmd);
            kitBuilderCmd.setTabCompleter(builderCmd);
        }
        
        getLogger().info("SuperKits has been enabled successfully!");
    }
    
    @Override
    public void onDisable() {
        if (cooldownManager != null) {
            cooldownManager.saveCooldowns();
        }
        if (playerDataManager != null) {
            playerDataManager.save();
        }
        
        if (foliaLib != null) {
            foliaLib.getScheduler().cancelAllTasks();
        }
        
        getLogger().info("SuperKits has been disabled!");
    }
}