ramesh Bohara

Universal SMP Plugin — Paper 1.21.11

Act as an expert Minecraft Java plugin developer. Create a completely NEW, standalone Universal SMP plugin from scratch for Minecraft Paper 1.21.11 using Java 21. All features must be developed inside ONE plugin with shared systems, commands, GUIs and configuration. Do not modify or upgrade an existing plugin and do not split features into separate plugins.

Include all the following features:

1. Team vs Team (TvT) System: Create, delete, rename and manage teams; assign/remove players; customizable team names, colors and prefixes; arena selection; configurable kits; PvP, building and item-loss settings; match start, pause, resume and end; team scores, elimination tracking, match status, winner announcements and professional finale; teleport players into arenas and safely return them afterward.

2. Team Management: Complete administrator team management with GUI, team member lists, team information, team assignment, team removal, team settings and team prefixes. Ensure the team system integrates directly with TvT and does not become a separate plugin.

3. Individual Duel System: GUI-based 1v1 duel requests, accept/deny/cancel, arena selection, configurable kits, match settings, spectators, results, statistics and leaderboard. Prevent unauthorized interference and restore players after matches. Do not include 2v2, 3v3, 4v4, 5v5 or party systems.

4. Item Cooldown System (/jcd): /jcd set <item> <time>, /jcd remove <item>, /jcd list, /jcd bypass <player> and /jcd menu; configurable cooldowns in seconds, vanilla-style white hotbar cooldown indicators wherever possible, offhand/inventory swapping exploit protection, permissions, tab completion and persistent configurations. Do not remove enchantments or modify normal item properties. Handle Minecraft's material-based cooldown limitations correctly.

5. Item Restriction System (/jib): /jib set <item>, /jib remove <item>, /jib list, /jib bypass <player> and /jib menu; prevent restricted items from being used, equipped, thrown, attacking, mining or interacting, including offhand, inventory and dispenser exploits. Never delete or destroy restricted items. Include permissions and a management GUI.

6. Custom Protected Items (/customitem): /customitem handitem set registers the item currently held, /customitem menu opens the management GUI, /customitem list lists registered items and /customitem remove <id> removes a registered item. Give every registered item a unique PersistentDataContainer ID; prevent unauthorized placement, dropping, transferring, container storage and despawning; protect against explosions, fire and lava; add glowing drop effects, sounds and configurable pickup delays; track original owners and current holders; allow administrators to inspect and manage items; prevent duplication or loss through death, reconnects, inventory movement and restarts. Normal items of the same material must remain unaffected.

7. Chat Management System: Add /chat mute to stop all normal players from chatting while operators can still chat, /chat unmute to restore normal chatting for everyone, and /chat reset to clear the visible chat for all players and start a fresh blank chat. Add /chatmod on and /chatmod off to enable or disable chat moderation for normal players. When enabled, include a configurable 1-second chat cooldown after every 3 messages, anti-spam, repeated messages, excessive caps, character flooding and anti-abuse word filtering. Generate a comprehensive initial filter containing English abuses, Hindi-English/Hinglish abuses, transliterations, slang, spelling variations and common bypass methods. Allow administrators to add, remove and customize filtered words in the config. Avoid false positives in normal conversations. Operators should have moderation bypass.

8. Private Admin Chat (/adminchat): Toggle a private administrator chat channel. Only operators can see messages sent through this channel. Typing /adminchat again disables the mode. Normal players must never see private admin messages. Include clear visual formatting and prevent messages from leaking into public chat.

9. Maintenance Mode System: Include these exact commands and functions in the same plugin: /maintenance <on/off> [server] to enable or disable maintenance mode for the selected server; /maintenance reload to reload the configuration and maintenance-icon file; /maintenance <add/remove> <player/uuid> to manage players allowed to join during maintenance; /maintenance whitelist to list all whitelisted players; /maintenance starttimer [server] <minutes> to enable maintenance after the timer expires; /maintenance endtimer [server] <minutes> to disable maintenance after the specified duration; /maintenance schedule [server] <minutes> <minutesToEnd> to automatically enable maintenance after the first duration and disable it after the second; /maintenance aborttimer to cancel a running start/end timer; /maintenance setmotd <index> <1/2> <message> to customize maintenance MOTD lines; /maintenance motd to display configured MOTDs; /maintenance update to securely download and install the newest plugin version with version verification, backup and error handling; /maintenance dump to generate useful server diagnostic information for bug reports. Include a customizable maintenance MOTD, editable two-line server MOTD, configurable maintenance server icon file, join-denial messages, whitelist bypass permissions and persistent settings. If the server argument is used, support it only where multi-server support is actually configured; do not pretend a standalone Paper server controls other servers without a network integration.

10. Server Restart System: Add /jrs restart <duration> and /jrs restart stop; countdown announcements at 1 hour, 45 minutes, 30 minutes, 15 minutes, 5 minutes, 1 minute and 30 seconds, then every second from 30 to 0; configurable sounds and titles; save player and plugin data; support a configurable console or hosting-panel restart command. Do not assume Bukkit.shutdown() automatically restarts the server.

11. Announcement System: Add /jrs announce <title> <subtitle> with underscores converted to spaces, global titles and subtitles, configurable colors, timings and sounds.

12. Give Items System: Add /jrs give <item> <amount> to give items to all online players by default, safely handle full inventories, preserve overflow items and announce the reward globally.

13. Potion Effect System: Add /jrs effect <effect> <duration> <power> [player|all]; support potion effects, duration in ticks, correct amplifier levels, tab completion and GUI selection.

14. Ritual System: Add /jrs ritual start <duration>, /jrs ritual reset, /jrs ritual cancel and /jrs ritual forcestop, with /ritual aliases. Include six styles: Frost (aqua), White (white), Spells (black), Magic (pink), Void (dark) and Hybrid (dark red). Allow GUI style selection; make the selected item float and rotate above the ground; display item name, coordinates and remaining time in a bossbar; intensify particles during the final five seconds; on completion raise and release the item exactly once, play powerful sounds and announce the winner. Reset restores the original timer, cancel returns the item to the starter without dropping it, and forcestop completes the ritual normally. Save ritual state safely and keep effects lightweight.

15. SMP Start System (/jsmp): Include /jsmp start controls, countdown, player freeze, worldborder control, circular player arrangement around the worldborder center, grace period, PvP control and /jsmp circle cancel. Players must be able to look around while frozen, with player collision disabled. Ensure cancellation restores normal movement and all player states.

16. Match Data and Safety: For TvT and Duels, save and correctly restore inventory, armor, offhand, XP, levels, health, hunger, saturation, potion effects, game mode and exact original location. Handle disconnects, reconnects and unexpected server restarts. Prevent item duplication and loss. Clean up temporary entities, bossbars, scoreboards and tasks. Ensure custom items, cooldowns and restrictions work correctly during events.

17. General Development Requirements: Use Paper 1.21.11 and Java 21; provide professional GUIs, navigation, confirmation buttons, permissions, tab completion, configurable messages, sounds and settings; use persistent storage and UUIDs; optimize for 30–60 online players; use event-driven logic; avoid unnecessary repeating tasks and main-thread blocking; prevent exploits, data corruption, item loss and duplication; ensure every system works together without conflicts and preserve normal vanilla-like SMP gameplay.

Deliverables: Complete Java source code, plugin.yml, config.yml, all required configuration and icon files, Maven or Gradle build files, complete commands and permissions documentation, installation instructions and a compiled ready-to-install .jar. Test every command and feature on Paper 1.21.11. Do not use placeholder methods, unfinished commands or fake functionality. Every listed system must actually work inside this one plugin. The name of plugin shall me Jcore

Kodari AI
KodariNov 8 at 4:02 pm 22
JCore
A comprehensive SMP enhancement plugin for Paper 1.21.11 featuring team vs team battles, individual duels, item cooldowns and restrictions, protected custom items, chat management with moderation, private admin chat, maintenance mode, server restart controls, announcements, give items, potion effects, ritual ceremonies, and SMP start management. Includes professional GUIs, persistent storage, configurable permissions, and full player state restoration for matches.
  1. Set up the standalone Paper 1.21.11 / Java 21 project, plugin metadata, defaults, and usage documentation.

  2. Build the shared match, team, duel, item, and chat systems with persistent state and event protections.

  3. Add maintenance/restart, announcements, item/effect commands, ritual, and SMP-start controls.

  4. Wire commands, permissions, GUIs, and shutdown/reconnect recovery together.

  • The project skeleton and shared team/match, item-control, and chat services are in place.

  • I’m wiring the server-control and event systems now, then I’ll connect and document the command surface.

Created the standalone Jcore Paper 1.21.11 / Java 21 project with source, Gradle build files, configuration, commands, permissions, and README documentation. The core systems are wired together, including teams and matches, 1v1 duels, item controls, chat moderation, maintenance/restart controls, announcements, effects, rituals, and SMP start controls.

Important: I can’t claim this is a complete, live-tested implementation of every detail in the specification. The GUIs are basic rather than fully paginated admin/confirmation menus, and I haven’t tested the plugin on a Paper 1.21.11 server. No compiled JAR or maintenance-icon PNG was produced here; the icon path is configurable and can point to a PNG supplied by the server administrator.

To produce the JAR in Kodari:

  1. On desktop, click Compile in the top bar; on phone, tap ⋮ → Compile Project.

  2. In the window that opens, click Compile.

  3. When it succeeds, click Download on that build, or Download Jcore.jar in the chat.

To generate an icon, enable Generation in this project’s settings.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
README.md
settings.gradle
Code
13 1,775
src/main/java/com/jcore/JcorePlugin.java
package com.jcore;

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

public final class JcorePlugin extends JavaPlugin {
    private MatchManager matchManager;
    private ItemManager itemManager;
    private ChatManager chatManager;
    private ServerControlManager serverControlManager;
    private RitualManager ritualManager;
    private SmpStartManager smpStartManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        this.matchManager = new MatchManager(this);
        this.itemManager = new ItemManager(this);
        this.chatManager = new ChatManager(this);
        this.serverControlManager = new ServerControlManager(this);
        this.ritualManager = new RitualManager(this);
        this.smpStartManager = new SmpStartManager(this);
        Bukkit.getPluginManager().registerEvents(matchManager, this);
        Bukkit.getPluginManager().registerEvents(itemManager, this);
        Bukkit.getPluginManager().registerEvents(chatManager, this);
        Bukkit.getPluginManager().registerEvents(serverControlManager, this);
        Bukkit.getPluginManager().registerEvents(ritualManager, this);
        Bukkit.getPluginManager().registerEvents(smpStartManager, this);
        JcoreCommand command = new JcoreCommand(this);
        for (String name : new String[]{"jcore", "team", "tvt", "duel", "jcd", "jib", "customitem", "chat", "chatmod", "adminchat", "maintenance", "jrs", "ritual", "jsmp"}) {
            PluginCommand pluginCommand = getCommand(name);
            if (pluginCommand != null) {
                pluginCommand.setExecutor(command);
                pluginCommand.setTabCompleter(command);
            }
        }
        matchManager.load();
        itemManager.load();
        serverControlManager.load();
        ritualManager.load();
    }

    @Override
    public void onDisable() {
        if (matchManager != null) matchManager.saveAndRestoreOnline();
        if (itemManager != null) itemManager.save();
        if (serverControlManager != null) serverControlManager.shutdown();
        if (ritualManager != null) ritualManager.shutdown();
        if (smpStartManager != null) smpStartManager.cancel(true);
    }

    public MatchManager matches() { return matchManager; }
    public ItemManager items() { return itemManager; }
    public ChatManager chat() { return chatManager; }
    public ServerControlManager serverControl() { return serverControlManager; }
    public RitualManager ritual() { return ritualManager; }
    public SmpStartManager smpStart() { return smpStartManager; }
}