ichappok_epvp

Kodari, please create a Minecraft server system plugin for an SMP server.

Kodari AI
KodariApr 13 at 12:41 am 16,954 (v2)

I’ll create a comprehensive SMP server core plugin with essential gameplay features.

SMPCore
A complete SMP server management plugin providing essential gameplay features. Includes home teleportation system, player economy with balance and payment commands, AFK detection and management, player statistics tracking, spawn point management, and custom join/leave/death messages. Features persistent data storage, configurable messages, and admin override commands for server management.

Now I’ll build the complete plugin structure with all necessary components.

All files created successfully! SMPCore is a complete SMP server management plugin featuring home teleportation, economy system with balance/payment commands, AFK detection with auto-kick, player statistics tracking, spawn management, custom join/leave/death messages, and persistent YAML data storage.

ichappok_epvp

Kodari, please add an auction house (AH) and order system to the server, integrated into the current system, and remember that everything should be stored via MySQL to prevent loading errors later.

Kodari AI
KodariApr 13 at 12:47 am 27,577 (v2)

I’ll add a comprehensive auction house and order system with MySQL storage. Let me first read the existing files to understand the current structure.

I’ll add a comprehensive auction house and order system with MySQL storage integration. Let me create all the necessary components.

Complete auction house and order system with MySQL storage added! The system includes:

Auction House:

  • Players can list items for sale with custom prices

  • Browse active listings with pagination

  • Purchase items from other players

  • Cancel your own listings

  • Collect expired/cancelled items

  • Listing fee system (default $10)

  • 7-day listing duration (604800 seconds)

Order System:

  • Create buy orders for specific items with quantity and price

  • Other players can fulfill orders by selling items

  • Funds are locked when creating orders

  • Automatic refund on order expiration/cancellation

  • Collect purchased items from fulfilled orders

  • 7-day order duration

MySQL Storage:

  • HikariCP connection pooling for optimal performance

  • Separate tables for auction_listings and orders

  • Automatic expiration checks every 5 minutes

  • Database configuration in config.yml

Commands:

  • /auction or /ah - Open auction house GUI

  • /order or /orders - Open order house GUI

Configure your MySQL database in config.yml before starting the server!

ichappok_epvp

Add a duel system with a INVENTORY GUI that is also fully configurable via the admin INVENTORY GUI. Always remember to assign permissions for everything. Also include a ban and warning system as well as a player mute system, including a global mute where only team members are allowed to write.

Kodari AI
KodariApr 13 at 12:54 am 34,757 (v2)

I’ll read the existing project structure first to understand the codebase, then add the requested features.

I’ll add a comprehensive duel system, moderation system (ban/warn/mute/global mute), and inventory GUI framework. Let me start by creating all the necessary files:


Complete duel system, moderation system, and inventory GUI framework added:

  • Inventory GUI Framework: Reusable system for all future GUIs (InventoryHandler, InventoryButton, InventoryGUI, GUIManager, GUIListener)

  • Duel System: Full 1v1 duel system with arenas, kits, wagers, GUI selection, and admin GUI for management

  • Moderation System: Ban (temp/perm), Warn, Mute (temp/perm), Global Mute with GUI panel

  • All features fully configurable via config.yml with proper permissions

  • Chat filtering for muted/global mute enforcement

  • Login blocking for banned players

  • GUI-based management for admins

ichappok_epvp

The kits should be defined by admins and configurable via a INVENTORY GUI control system. You should also design a suitable item-based HUD for each control interface. Add items similar to those from DonutSMP and rename them to “Prime Tools,” and introduce a special currency that is displayed via a scoreboard and a hologram at spawn when I set the location, as well as on the right side. In the TAB hologram, “RNDSMP” should be displayed in large text, and this should appear everywhere. There should be a hierarchy including Admin, Moderator, and Supporter, as well as a report system that Supporters can access, along with the ability to open a private support chat with a player, which hides the current chat until the Supporter ends the session.

Kodari AI
KodariApr 13 at 1:04 am 45,474 (v2)

I’ll implement a comprehensive system with configurable duel kits, Prime Tools, currency, TAB display, hierarchy, reports, and support chat. Let me start by reading the existing files to understand the structure.

Now I’ll implement a comprehensive system with all requested features. This is a large implementation, so I’ll create all necessary components.

Now I’ll create the GUI classes for duel kit/arena management:

Now I’ll create the command classes:

Now I’ll update PlayerData to include the new fields:

Now update the PlayerDataManager to save/load the new fields:

Now update ChatListener to support private support chats:

Create a listener for join/quit to handle scoreboards and tab:

Now update the main plugin class to register all the new managers and commands:

Now update plugin.yml with all the new commands:

Finally, update DuelAdminCommand to use the new GUIs:

Update DuelAdminGUI to link to the new kit and arena GUIs:

Now let’s update config.yml with messages for the new features:

Update build.gradle to ensure we have HikariCP in the manifest:

Update manifest.kod to include HikariCP:


Summary

I’ve implemented a comprehensive system with all requested features:

✅ Implemented:

  1. Rank System - Admin, Moderator, Supporter, Player hierarchy with permissions

  2. Prime Coins Currency - Special currency displayed on scoreboard, hologram at spawn (set with /sethologram), and in TAB

  3. Prime Tools - 5 default custom tools (Prime Pickaxe, Axe, Shovel, Sword, Hoe) with abilities and unbreakable property

  4. Duel Kit Editor GUI - Create/edit/delete kits via inventory with armor slots

  5. Duel Arena GUI - Manage arenas with toggle/teleport/delete

  6. Report System - Players use /report <player> <reason>, Supporters view with /report GUI

  7. Support Chat - Supporters use /support <player> to start private chat, /endsupport to end

  8. TAB Display - Shows “RNDSMP” header, rank, online count in large text

  9. Scoreboard - Always displays rank, Prime Coins, balance, kills, deaths, online players

  10. Hologram Manager - /sethologram creates Prime Coins leaderboard hologram

New Commands:

  • /primecoins [give|take|set] <player> <amount> - Manage Prime Coins (Admin)

  • /primetools <player> - Give Prime Tools GUI (Admin)

  • /report [player] [reason] - Report player or view reports (Supporter+)

  • /support <player> - Start private support chat (Supporter+)

  • /endsupport - End support session (Supporter+)

  • /rank <player> <rank> - Set player rank (Admin)

  • /sethologram - Create Prime Coins hologram at location (Admin)

  • /dueladmin kits - Open kit management GUI

  • /dueladmin arenas - Open arena management GUI

Features:

  • Chat formatting with rank prefixes

  • Scoreboard updates every second

  • TAB updates every 5 seconds

  • Hologram updates every 10 seconds

  • Private support chat hides main chat until session ends

  • All data persists (ranks, Prime Coins saved to playerdata)

ichappok_epvp

Create a clan plugin for me similar to DonutSMP. Please keep in mind that all messages should be displayed in grammatically correct German. This applies to all structures in the plugin — it must be in German.

ichappok_epvp

Rewrite the server so that it makes sense in German.

ichappok_epvp

witch verison is that ?

Kodari can make mistakes. Review important code before using.
Files
src
.gitignore
build.gradle
manifest.kod
Code
98 7,617
src/main/java/com/smpcore/SMPCore.java
package com.smpcore;

import com.smpcore.commands.*;
import com.smpcore.inventory.gui.GUIListener;
import com.smpcore.inventory.gui.GUIManager;
import com.smpcore.listeners.*;
import com.smpcore.managers.*;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class SMPCore extends JavaPlugin {
    
    private ConfigManager configManager;
    private DatabaseManager databaseManager;
    private PlayerDataManager playerDataManager;
    private HomeManager homeManager;
    private EconomyManager economyManager;
    private AFKManager afkManager;
    private SpawnManager spawnManager;
    private AuctionManager auctionManager;
    private OrderManager orderManager;
    private DuelManager duelManager;
    private ModerationManager moderationManager;
    private GUIManager guiManager;
    private RankManager rankManager;
    private PrimeToolsManager primeToolsManager;
    private ReportManager reportManager;
    private SupportChatManager supportChatManager;
    private ScoreboardManager scoreboardManager;
    private HologramManager hologramManager;
    private TabManager tabManager;
    
    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.databaseManager = new DatabaseManager(this);
        this.playerDataManager = new PlayerDataManager(this);
        this.homeManager = new HomeManager(this);
        this.economyManager = new EconomyManager(this);
        this.afkManager = new AFKManager(this);
        this.spawnManager = new SpawnManager(this);
        this.auctionManager = new AuctionManager(this);
        this.orderManager = new OrderManager(this);
        this.duelManager = new DuelManager(this);
        this.moderationManager = new ModerationManager(this);
        this.guiManager = new GUIManager();
        this.rankManager = new RankManager(this);
        this.primeToolsManager = new PrimeToolsManager(this);
        this.reportManager = new ReportManager(this);
        this.supportChatManager = new SupportChatManager(this);
        this.scoreboardManager = new ScoreboardManager(this);
        this.hologramManager = new HologramManager(this);
        this.tabManager = new TabManager(this);
        
        registerCommands();
        registerListeners();
        
        getLogger().info("SMPCore has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (afkManager != null) {
            afkManager.shutdown();
        }
        if (playerDataManager != null) {
            playerDataManager.saveAll();
        }
        if (databaseManager != null) {
            databaseManager.close();
        }
        
        getLogger().info("SMPCore has been disabled!");
    }
    
    private void registerCommands() {
        getCommand("home").setExecutor(new HomeCommand(this));
        getCommand("sethome").setExecutor(new SetHomeCommand(this));
        getCommand("delhome").setExecutor(new DelHomeCommand(this));
        getCommand("homes").setExecutor(new HomesCommand(this));
        getCommand("balance").setExecutor(new BalanceCommand(this));
        getCommand("pay").setExecutor(new PayCommand(this));
        getCommand("spawn").setExecutor(new SpawnCommand(this));
        getCommand("setspawn").setExecutor(new SetSpawnCommand(this));
        getCommand("afk").setExecutor(new AFKCommand(this));
        getCommand("stats").setExecutor(new StatsCommand(this));
        getCommand("auction").setExecutor(new AuctionCommand(this));
        getCommand("order").setExecutor(new OrderCommand(this));
        getCommand("duel").setExecutor(new DuelCommand(this));
        getCommand("dueladmin").setExecutor(new DuelAdminCommand(this));
        getCommand("ban").setExecutor(new BanCommand(this));
        getCommand("unban").setExecutor(new UnbanCommand(this));
        getCommand("warn").setExecutor(new WarnCommand(this));
        getCommand("mute").setExecutor(new MuteCommand(this));
        getCommand("unmute").setExecutor(new UnmuteCommand(this));
        getCommand("globalmute").setExecutor(new GlobalMuteCommand(this));
        getCommand("moderator").setExecutor(new ModeratorCommand(this));
        getCommand("primecoins").setExecutor(new PrimeCoinsCommand(this));
        getCommand("primetools").setExecutor(new PrimeToolsCommand(this));
        getCommand("report").setExecutor(new ReportCommand(this));
        getCommand("support").setExecutor(new SupportCommand(this));
        getCommand("endsupport").setExecutor(new EndSupportCommand(this));
        getCommand("rank").setExecutor(new RankCommand(this));
        getCommand("sethologram").setExecutor(new SetHologramCommand(this));
    }
    
    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerQuitListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerDeathListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerMoveListener(this), this);
        getServer().getPluginManager().registerEvents(new AuctionListener(this), this);
        getServer().getPluginManager().registerEvents(new OrderListener(this), this);
        getServer().getPluginManager().registerEvents(new DuelListener(this), this);
        getServer().getPluginManager().registerEvents(new ChatListener(this), this);
        getServer().getPluginManager().registerEvents(new LoginListener(this), this);
        getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);
        getServer().getPluginManager().registerEvents(new PlayerConnectionListener(this), this);
    }
}