Create a complete, production-ready Minecraft Paper plugin named "NxCore", designed as an all-in-one Essentials + Server Core plugin.
Target:
- Minecraft/Paper 1.21.x
- Java
- Maven/Gradle project with all required dependencies
- Clean, modular, optimized architecture
- No unnecessary external dependencies unless absolutely required
- Every feature must actually work, not just be registered as a command.
- Main Goal
NxCore should replace the need for multiple basic Essentials/Core plugins.
It should include:
- Spawn system
- Warp system
- Player Warp system
- RTP
- Kits
- Economy
- Teleport requests
- Gamemode
- Moderation/punishment
- MOTD
- Player list/online count formatting
- Utility commands
- Fully configurable messages
- Permissions
- GUI support where useful
- Persistent YAML data
Everything should be modular so features can be enabled/disabled from config.
---
- File Structure
When NxCore starts for the first time, automatically create:
NxCore/ ├── config.yml ├── messages.yml ├── economy/<economyname.yml> ├── motd.yml ├── spawn.yml ├── warps/<warpsname.yml> ├── playerwarps/<playerwarpsname.yml> └── kits/<kitname.yml> Do NOT store everything in one config.
Each major system must have its own configuration/data file.
Required files
"config.yml"
- General settings
- Feature toggles
- Debug mode
- Teleport settings
- RTP settings
- Permission settings
- General plugin options
"messages.yml"
- Every player-facing message
- Prefix
- Command errors
- Permission errors
- Success messages
- Teleport messages
- Economy messages
- Kit messages
- Warp messages
- Spawn messages
- Moderation messages
- TPA messages
- MOTD-related messages where appropriate
"money.yml"
- Player balances
- Economy settings
- Starting balance
- Maximum balance if configured
- Currency name
- Currency symbol
- Economy formatting
"motd.yml"
- Join MOTD
- Two configurable MOTD lines
- First join MOTD
- Player count display
- Server list MOTD
- Configurable online/max-online format
- Enable/disable individual lines
"spawn.yml"
- Spawn location
- Spawn settings
- Teleport delay
- Movement cancellation
- Spawn-related options
"warps.yml"
- Normal warp locations
- Warp settings/data
"playerwarps.yml"
- Player warp locations
- Owner
- Name
- Location
- Visibility/settings
"kits/"
- Every kit must have its own ".yml"
- Example:
- "starter.yml" - "vip.yml" - "mvp.yml"
- Kit name - Display name - Permission - Cooldown - One-time/claimable setting - Auto-claim option - Items - Armor - Offhand - Commands if configured
Automatically create the "kits" folder and kit files when needed.
---
- Message System
The message system must be extremely configurable.
Default prefix:
"&#FF2A2A&lNXCORE &7▶"
Every player-facing NxCore message should automatically use the configured prefix unless explicitly configured otherwise.
Support:
Legacy colors
Hex colors
Support formats such as:
"&#FF2A2A"
and also:
"<#FF2A2A>"
MiniMessage
Support MiniMessage formatting including:
- Colors
- Gradients
- Bold
- Italic
- Underline
- Hover
- Click events where appropriate
The message parser should safely support mixed formatting.
Allow placeholders in messages.
Examples:
- "%player%"
- "%target%"
- "%amount%"
- "%balance%"
- "%warp%"
- "%kit%"
- "%time%"
- "%online%"
- "%max_players%"
Add appropriate placeholders for every feature.
Add:
"/nxcore reload"
which reloads all safe configuration files and messages without requiring a server restart.
---
- SPAWN SYSTEM
Commands:
"/spawn" "/setspawn" "/delspawn"
Features:
- Set spawn
- Delete spawn
- Teleport to spawn
- Configurable teleport delay
- Cancel teleport when player moves
- Optional sound
- Optional title/subtitle
- Optional actionbar
- Configurable messages
- Permission support
Permissions:
"nxcore.spawn" "nxcore.setspawn" "nxcore.delspawn"
and appropriate admin permission.
---
- WARP SYSTEM
Commands:
"/warp <name>" "/setwarp <name>" "/delwarp <name>" "/warps"
Features:
- Create warp
- Delete warp
- Teleport to warp
- Warp list
- Permission per warp if configured
- Optional GUI
- Optional teleport delay
- Movement cancellation
- Sounds
- Titles/actionbar
- Fully configurable messages
Store normal warps inside "warps.yml".
---
- PLAYER WARPS
Commands:
"/setpw <name>" "/pw <name>" "/delpw <name>" "/pwarps"
Player warps should belong to individual players.
Features:
- Players can create their own warps
- Players can delete their own warps
- Teleport to another player's warp
- Warp list
- Owner information
- Optional public/private setting
- Optional GUI
- Configurable maximum number of player warps
- Permission-based limits if desired
Store data in "playerwarps.yml".
Prevent players from deleting another player's warp unless they have an admin permission.
---
- RTP
Add a complete random teleport system.
Command:
"/rtp"
Optional:
"/rtp <player>"
Features:
- Random safe location
- Configurable worlds
- Configurable minimum/maximum radius
- Avoid lava
- Avoid water if configured
- Avoid dangerous blocks
- Find safe ground
- Configurable cooldown
- Teleport delay
- Movement cancellation
- Configurable messages
- Permission support
Avoid causing server lag by using an efficient location-search system.
---
- KIT SYSTEM
Commands:
"/kit" "/kit <name>" "/kit create <name>" "/kit edit <name>" "/kit delete <name>" "/kit claim <name>" "/kits"
Features:
- Create kits
- Delete kits
- Edit kits
- Claim kits
- Kit GUI
- Kit cooldown
- Permission requirements
- One-time kits
- Repeatable kits
- Auto kit claim
- First-join kit
- Kit commands
- Kit items
- Armor
- Offhand
- Item metadata
- Enchantments
- Custom names/lore
- Amounts
Every kit must have a separate file inside:
"kits/"
Example:
"kits/starter.yml"
Automatically create the file when a kit is created.
Add configurable kit permissions, for example:
"nxcore.kit.starter"
Support custom permission names from the kit configuration.
Auto-claim must be configurable.
Example settings:
- "auto-claim: true"
- "one-time: true"
- "cooldown: 86400"
- "permission: nxcore.kit.starter"
---
- ECONOMY
Create a built-in economy system.
Commands:
"/money" "/bal" "/balance" "/pay <player> <amount>" "/baltop" "/eco give <player> <amount>" "/eco take <player> <amount>" "/eco set <player> <amount>" "/eco reset <player>"
Features:
- Player balances
- Give money
- Take money
- Set balance
- Reset balance
- Pay players
- Balance checking
- Baltop
- Starting money
- Maximum balance
- Negative balance prevention
- Decimal support
- Economy formatting
- Configurable currency name
- Configurable currency symbol
Store economy data in "money.yml".
Make the economy API internally accessible so future NxCore modules or other plugins can hook into it.
If Vault integration is practical, add optional Vault economy support.
---
- TPA SYSTEM
Commands:
"/tpa <player>" "/tpahere <player>" "/tpaccept" "/tpdeny"
Features:
- TPA request
- TPAHere request
- Accept
- Deny
- Request timeout
- Configurable timeout
- Cooldown
- Teleport delay
- Movement cancellation where appropriate
- Prevent self requests
- Prevent duplicate requests
- Configurable messages
---
- TELEPORT / UTILITY COMMANDS
Add common Essentials-style commands such as:
"/tp" "/tphere" "/tpall" "/back" "/top" "/suicide"
"/gamemode" "/gmc" "/gms" "/gmsp" "/gmadventure"
"/fly" "/heal" "/feed" "/clear" "/invsee"
Use proper permission checks.
---
- MODERATION
Add:
"/kick" "/mute" "/unmute" "/ban" "/unban" "/tempban" "/tempmute" "/banip" "/unbanip"
Features:
- Player bans
- IP bans
- Temporary bans
- Permanent bans
- Mutes
- Temporary mutes
- Unmute
- Unban
- IP unban
- Kick
- Reasons
- Duration
- Offline-player support where applicable
- Configurable messages
- Permission checks
- Persistent punishment data
Punishments should survive server restarts.
---
- MOTD
Create a dedicated "motd.yml".
Allow exactly/configurably formatted MOTD lines.
Example concept:
Line 1:
NxCore Server
Line 2:
Welcome! Online: %online%/%max_players%
Allow:
- Hex
- Legacy
- MiniMessage
- Placeholders
- Player name
- Online players
- Maximum players
Also allow configuring the server-list MOTD and join MOTD separately if technically appropriate.
---
- PLAYER LIST / ONLINE DISPLAY
Allow the player-list-related display to be configured.
Configurable:
- Online count
- Maximum player count
- Player list/header/footer if implemented
- Join/leave display
- Placeholder support
Example placeholders:
"%online%" "%max_players%"
Make formatting configurable rather than hardcoded.
---
- PERMISSIONS
Create a complete permission structure.
Examples:
"nxcore.admin"
"nxcore.spawn" "nxcore.setspawn" "nxcore.delspawn"
"nxcore.warp" "nxcore.setwarp" "nxcore.delwarp"
"nxcore.playerwarp" "nxcore.setpw" "nxcore.delpw"
"nxcore.rtp"
"nxcore.tpa" "nxcore.tpahere" "nxcore.tpaccept"
"nxcore.kit" "nxcore.kit.<kit>"
"nxcore.money" "nxcore.pay" "nxcore.eco"
"nxcore.mute" "nxcore.unmute" "nxcore.ban" "nxcore.unban" "nxcore.banip" "nxcore.unbanip"
"nxcore.gamemode" "nxcore.fly" "nxcore.heal" "nxcore.feed" "nxcore.invsee"
Use sensible permission inheritance where possible.
---
- COMMAND ALIASES
Add useful aliases where appropriate.
Examples:
"/balance" → "/bal" → "/money"
"/gm" → "/gamemode"
"/setplayerwarp" → "/setpw"
"/playerwarp" → "/pw"
Make aliases compatible with Paper's command system.
---
- GUI SYSTEM
Where useful, create GUIs for:
GUI settings should be configurable.
Prevent item stealing/placing inside plugin GUIs.
Allow configurable:
- Title
- Size
- Item
- Name
- Lore
- Slots
---
- PLACEHOLDER SYSTEM
Create an internal placeholder system.
Every module should expose relevant placeholders.
Examples:
"%player%" "%target%" "%balance%" "%money%" "%online%" "%max_players%" "%warp%" "%kit%" "%cooldown%" "%time%"
If PlaceholderAPI is installed, provide optional PlaceholderAPI integration.
Do not make PlaceholderAPI mandatory.
---
- CONFIGURATION QUALITY
All messages and settings must be configurable.
Do not hardcode player-facing messages.
Do not hardcode the NxCore prefix inside individual messages.
Use:
"%prefix%"
or an equivalent internal prefix system.
Default prefix:
"&#FF2A2A&lNXCORE &7▶"
All messages should automatically receive this prefix by default.
Allow individual messages to disable the prefix if required.
---
- DATA SAFETY
Make sure:
- YAML files are created automatically
- Missing files regenerate safely
- Existing user configuration is never unnecessarily overwritten
- Invalid configuration does not crash the server
- Errors are logged clearly
- Economy data is saved safely
- Kit data is saved safely
- Warp data is saved safely
- Player warp data is saved safely
- Punishments persist after restart
Use efficient saving and avoid excessive disk writes.
---
- TAB-COMPLETE
Every command should have intelligent tab completion.
Examples:
"/warp <TAB>" → available warps
"/kit <TAB>" → available kits
"/pw <TAB>" → available player warps
"/eco <TAB>" → give/take/set/reset
"/gamemode <TAB>" → available gamemodes
Player arguments should suggest online players where appropriate.
---
- ERROR HANDLING
Create proper messages for:
- No permission
- Player not found
- Invalid amount
- Invalid player
- Invalid warp
- Invalid kit
- Invalid command usage
- No spawn set
- No player warp
- Already muted
- Not muted
- Already banned
- Not banned
- Insufficient balance
- Cooldown active
- Teleport cancelled
- Invalid location
- Invalid configuration
All must be configurable in "messages.yml".
---
- RELOAD
Command:
"/nxcore reload"
Permission:
"nxcore.admin"
Reload:
- config.yml
- messages.yml
- money.yml
- motd.yml
- spawn.yml
- warps.yml
- playerwarps.yml
- kits
Do not reload in a way that corrupts active player data.
---
- VERSION / COMPATIBILITY
Target modern Paper 1.21.x.
Use modern Paper/Bukkit APIs and avoid deprecated APIs whenever possible.
Make the plugin compatible with the latest stable 1.21.x Paper version available during development.
---
- CODE QUALITY
Use a clean package structure such as:
- core
- commands
- listeners
- managers
- economy
- kits
- warps
- playerwarps
- spawn
- rtp
- moderation
- tpa
- motd
- messages
- utilities
Use managers/services instead of putting everything inside one giant main class.
The plugin must be maintainable and easy to expand.
---
- FINAL REQUIREMENT
NxCore should feel like a complete professional server core, not a collection of unfinished commands.
Every advertised command must work.
Every configurable message must actually be read from "messages.yml".
Every major system must use its dedicated YAML file.
Kits must use individual files inside the "kits/" folder.
Spawn, warps, player warps, money, MOTD and messages must remain separated.
Support Legacy colors, Hex colors and MiniMessage.
Use the default prefix:
"&#FF2A2A&lNXCORE &7▶"
Make the plugin optimized, stable, secure and production-ready.
Do not leave TODOs, fake implementations, placeholder methods or non-functional commands.
At the end, provide:
- Complete project
- "plugin.yml"
- Build configuration
- Default configuration files
- Default messages.yml
- Default money.yml
- Default motd.yml
- Default spawn.yml
- Default warps.yml
- Default playerwarps.yml
- Example starter kit
- Permission list
- Command list
- Installation instructions
- Configuration document