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