FULL PLUGIN DEVELOPMENT PROMPT — RELITESMP SPECIAL
Plugin Information
- Plugin Name: ReliteSMP Special
- Version: 1.0.1
- Target Minecraft Version: Paper 1.21.11
- Platform: Paper / Spigot-compatible where supported
- Language: Java
- Build Tool: Maven
- Main Goal: Create a complete, stable, cinematic Minecraft SMP plugin with custom join animations, SMP opening and closing sequences, first-join events, Void Ban, a separate Relite Void Dimension, revive mechanics, and automated server announcements.
- Cinematic Join Welcome
Whenever a player joins the server, display a cinematic welcome animation.
- Show the title WELCOME TO RELITESMP SPECIAL.
- Add configurable particles, sounds, title transitions, subtitles, and optional screen effects supported by Minecraft.
- Use smooth timing and avoid spamming the player with messages.
- Make the animation configurable and allow admins to skip it.
- Do not freeze the server or interfere with normal gameplay.
- SMP Start System
Create the "/smpstart" command.
When an admin executes it:
- Show a floating chunk or block-platform presentation at a configurable location.
- Animate the presentation into an expanded, cinematic form using particles, sounds, and display entities where appropriate.
- Display the title RELITESMP SPECIAL IS NOW OPEN.
- Announce the opening to all online players.
- Change the SMP status to OPEN.
- Allow regular players to access the SMP normally.
The animation must be visual only and must not create or delete real terrain chunks.
- SMP Stop System
Create the "/smpstop" command.
When an admin executes it:
- Play a closing animation.
- Visually shrink the floating chunk presentation into a small floating block.
- Display RELITESMP SPECIAL IS NOW CLOSED.
- Broadcast a configurable closure message.
- Set the SMP status to CLOSED.
- Prevent regular players from entering the protected SMP area or joining the playable world, according to configuration.
Admins with the correct permission must retain access. Never delete the actual world or its chunks.
Save the SMP status so that it persists after a server restart.
- First-Time Join Cinematic
Run this sequence only the first time a player ever joins.
- Save the player's first-join status.
- Teleport the player to a configurable safe location at a configurable height.
- Display WELCOME TO RELITESMP SPECIAL.
- Play particles and cinematic sounds.
- Slowly descend the player toward the configured landing location.
- Prevent fall damage during the sequence.
- Play an achievement-style sound when the player lands.
- Display YOUR JOURNEY BEGINS.
- Restore normal movement and gameplay.
Requirements:
- Use safe teleportation and collision checks.
- Do not repeatedly trigger the sequence after reconnecting.
- Handle disconnects and server restarts safely.
- Provide an admin command to skip or cancel the sequence.
- Never trap a player in the animation.
- Server-Wide Join Announcement
Whenever a player joins, broadcast a message to the entire server:
"[RELITESMP SPECIAL] PlayerName has joined the SMP!"
Replace "PlayerName" with the actual player's name.
Optional effects:
- Title and subtitle.
- Sound notification.
- Particles around the joining player.
- Configurable chat formatting.
Send the announcement only once per join event. Do not accidentally duplicate it through multiple listeners.
- Void Ban System
Create a configurable Void Ban system.
Configuration example:
"void-ban-enabled: true"
Requirements:
- Allow admins to define the punishment region, world, Y-level, or other specific trigger conditions.
- Only apply a Void Ban when the configured conditions are satisfied.
- Normal void deaths must not automatically result in a ban unless an administrator explicitly enables that behavior.
- Store the player's ban status persistently.
- Prevent banned players from entering or interacting with the normal SMP.
- Provide configurable messages and punishment settings.
When a player is Void Banned, broadcast a cinematic announcement:
"[RELITESMP SPECIAL] PlayerName has been VOID BANNED!"
Include optional title animations, particles, and sounds.
The system must avoid duplicate bans and handle disconnects safely.
- Relite Void Dimension
Create a separate, configurable area or world named Relite Void for Void Banned players.
Features:
- Dark, mysterious environment.
- Safe platform to prevent players from falling indefinitely.
- Configurable particles, ambient sounds, fog-like visual effects where supported, and lighting.
- Entry title: YOU HAVE ENTERED THE RELITE VOID.
- A clear menu with two options:
- REVIVE - REMAIN IN THE VOID
Requirements:
- Never use the normal SMP world as the Void Dimension.
- Do not destroy the player's inventory or progress.
- Prevent banned players from escaping into the normal SMP.
- Make the Void Dimension safe and stable after restarts.
- If the world is missing, handle it safely and show an administrator-friendly error.
- Isolated Spectator Mode
Allow Void Banned players to observe the SMP without interfering with it.
- Use a suitable spectator or isolated viewing system.
- Normal players must not see or interact with the banned player.
- Banned players must not attack, damage, message, or interfere with normal players through unsupported exploits.
- Prevent unauthorized teleportation or access to protected inventories.
- Save the player's original game mode, location, and other necessary state.
- Restore the appropriate state after a successful revive.
The isolation system must not accidentally change the state of unrelated players.
- Revive System
When a Void Banned player selects REVIVE, process the configured revive requirements.
Possible requirements:
- Administrator approval.
- A configurable permission.
- A configurable item or objective.
- An optional cooldown.
If the requirements are met:
- Remove the player's Void Ban status.
- Restore normal SMP access.
- Restore the player's saved state safely.
- Teleport the player to a configured safe location.
- Play a revive animation with particles and sounds.
- Display REBORN IN RELITESMP SPECIAL.
- Broadcast:
"[RELITESMP SPECIAL] PlayerName has been revived!"
Preserve the player's inventory, achievements, and legitimate progress. Do not duplicate items or allow revive exploits.
If requirements are not met, explain what is missing and keep the player safely in the Void Dimension.
- Admin Commands
Implement these commands:
- "/smpstart" — open the SMP.
- "/smpstop" — close the SMP.
- "/reliteban <player>" — apply a Void Ban.
- "/reliterevive <player>" — revive a player.
- "/relitevoid <player>" — teleport a player to the Void Dimension.
- "/relitebanlist" — list currently Void Banned players.
- "/relitebaninfo <player>" — show a player's Void Ban information.
- "/relitebanreload" — reload configuration safely.
- "/reliteskipwelcome <player>" — skip the welcome sequence.
- "/relitesmpstatus" — show whether the SMP is open or closed.
Requirements:
- Provide tab completion where appropriate.
- Validate arguments and player names.
- Show useful error messages.
- Prevent unauthorized players from using administrative commands.
- Support offline-player handling wherever appropriate.
- Permissions
Create these permissions:
- "relitesmp.admin"
- "relitesmp.ban"
- "relitesmp.revive"
- "relitesmp.welcome"
- "relitesmp.smpcontrol"
- "relitesmp.void"
- "relitesmp.reload"
Configure suitable defaults. Dangerous administrative permissions must not be granted to ordinary players by default.
- Daily Server Announcement
Add an automated daily announcement.
Example:
"[RELITESMP SPECIAL] The SMP is watching. Your next adventure awaits!"
Features:
- Configurable announcement text.
- Configurable time and timezone.
- Optional title, subtitle, sound, and particles.
- Optional multiple messages.
- No duplicate announcements after a restart.
- Use a configurable scheduler that handles server restarts safely.
- Allow the feature to be disabled.
- Configuration File
Create a detailed "config.yml" containing settings for:
- General plugin options.
- Join welcome animation.
- First-join cinematic.
- SMP start and stop animations.
- World names and safe spawn locations.
- Floating chunk presentation.
- Particles, sounds, titles, and animation timing.
- Void Ban trigger conditions.
- Relite Void world and spawn.
- Spectator isolation.
- Revive requirements.
- Daily announcements and timezone.
- Messages and formatting.
- Permissions and debug logging.
Include comments and example values so server owners can configure the plugin easily.
- Data Storage and Reliability
Use SQLite or a reliable persistent data system.
Store:
- First-join completion status.
- Void Ban status and relevant information.
- Revive status.
- Necessary player state for safe restoration.
- SMP open/closed status.
- Any required cooldowns and announcement scheduling information.
Requirements:
- Never reset player records during a configuration reload.
- Prevent data corruption and duplicate rewards.
- Handle offline players and unexpected server shutdowns.
- Validate saved locations and world availability before teleporting.
- Log important errors clearly.
- Technical Requirements
- Target Paper 1.21.11.
- Use a compatible Java version for the target server.
- Implement correct event handling and command registration.
- Avoid blocking the main server thread with heavy operations.
- Use supported APIs and avoid unnecessary NMS or version-specific hacks.
- Clean up scheduled tasks, particles, and temporary entities.
- Ensure animations cannot create unbounded entities or degrade TPS.
- Do not claim that a feature works unless it has been implemented and tested.
- Never use destructive world-editing behavior for visual animations.
- Required Project Files
Generate a complete, buildable source project containing:
- "pom.xml"
- "plugin.yml"
- "config.yml"
- All required Java source files.
- Data storage implementation.
- Command handlers and tab completion.
- Event listeners.
- Animation and world-management systems.
- Permission definitions.
- README with build and installation instructions.
Set the plugin metadata to:
- Name: "ReliteSMP Special"
- Version: "1.0.1"
- Main class: Declare the actual fully qualified Java main-class name in "plugin.yml".
- API target: Paper 1.21.11-compatible API.
Build the output JAR as:
"ReliteSMP-Special-1.0.1.jar"
Do not merely rename an older JAR. Update the version in the project metadata, compile the source, and verify that the generated JAR contains the correct plugin metadata.
- Testing Checklist
Before delivery, verify:
- The plugin loads on the target Paper version.
- All commands and permissions work.
- The first-join sequence runs only once.
- SMP start and stop status survives a restart.
- The join announcement does not duplicate.
- Void Ban trigger conditions work as configured.
- Void Banned players cannot access the SMP normally.
- Revive restores access and saved player state.
- Offline players and unexpected disconnects are handled safely.
- Daily announcements do not duplicate after restarts.
- Configuration reload does not erase player data.
- The server remains stable under normal use.
Final instruction: Deliver the complete source project and the successfully compiled "ReliteSMP-Special-1.0.1.jar". Include clear phone-friendly installation instructions for a Paper 1.21.11 server. If compilation or testing cannot be performed, explicitly state that instead of claiming the plugin is finished.