Create a complete, production-ready Minecraft plugin named:
Felix SMP Tab and Scoreboard
IMPORTANT VERSION
The plugin MUST be specifically developed for:
- Minecraft Java Edition 1.21.11
- Server software: Paper 1.21.11
Do NOT target older versions such as 1.21.1, 1.21.4, or 1.21.8.
Use the correct Paper API/dependencies for 1.21.11 and make sure the entire project compiles correctly for this version.
---
- SCOREBOARD
Create a clean, modern and premium-looking Minecraft scoreboard on the right side of the screen.
The design should be inspired by the clean style of popular SMP servers such as Donut SMP, but do not copy their exact branding, code, assets, or design.
Main theme:
- Blue = primary color
- Red = Felix SMP branding/accent
- White/Gray = normal information
Example:
Felix SMP
────────────
Rank: %rank%
Team: %team%
Ping: %ping%ms
Felix SMP Store
store.felixsmp.example
Requirements:
- Display Felix SMP prominently.
- Show the player's Rank.
- Show the player's Team.
- Show the player's Ping.
- Show Felix SMP Store at the bottom.
- Allow the store URL/text to be changed in config.yml.
- Make the scoreboard compact and clean.
- Automatically update ping, rank and team.
- Scoreboard should be visible to all players.
- Allow the entire scoreboard to be customized from config.yml.
- Allow scoreboard to be enabled/disabled from config.yml.
---
- TAB LIST
Create a beautiful custom TAB list.
At the very top, display:
FELIX SMP
Use:
- Red for the main Felix SMP branding.
- Blue for secondary information.
- White/Gray for normal player information.
Example header:
FELIX SMP
Welcome to Felix SMP
Below the header, display online players.
Each player should appear like:
[OWNER] Daksh [DEVELOPER] Alex [ADMIN] Steve [MOD] Player123 [MEMBER] Player456
Requirements:
- Display the player's rank before their name.
- Support different colors for different ranks.
- Support unlimited/custom ranks.
- Display player ping.
- Keep the TAB list clean and professional.
- Do not make the TAB unnecessarily huge.
---
- TAB FOOTER
At the bottom of the TAB list show information such as:
Ping: %ping%ms
Felix SMP Store
/shop • /ah • /sell
You can also display:
/store • /webstore • /shop • /ah • /sell
Make all of these configurable.
Do NOT hard-code a fake store URL.
---
- RANK SYSTEM
Create a configurable rank system.
Default ranks:
- OWNER
- DEVELOPER
- ADMIN
- MOD
- HELPER
- MEMBER
Example permissions:
felix.rank.owner felix.rank.developer felix.rank.admin felix.rank.mod felix.rank.helper felix.rank.member
Each rank should have:
- Display name
- Prefix
- Color
- Permission
Example:
OWNER = Red DEVELOPER = Blue ADMIN = Red MOD = Blue HELPER = Blue MEMBER = Gray
The highest-priority rank should automatically be selected.
If LuckPerms is installed, support LuckPerms prefixes/groups.
If LuckPerms is not installed, fall back to the plugin's own permission system.
---
- TEAM SYSTEM
Add a simple team display.
The scoreboard should show:
Team: %team%
If a player does not have a team:
Team: None
Make the team information configurable.
---
- PLACEHOLDER SUPPORT
Support placeholders such as:
%player% %displayname% %rank% %team% %ping% %online% %max_players%
If PlaceholderAPI is installed, integrate with PlaceholderAPI.
The plugin must still work without PlaceholderAPI.
---
- CONFIG.YML
Create a detailed and easy-to-edit config.yml.
Everything important should be configurable, including:
- Scoreboard title
- Scoreboard lines
- TAB header
- TAB footer
- Rank names
- Rank prefixes
- Rank colors
- Rank permissions
- Store name
- Store URL
- Commands shown in footer
- Update intervals
- Scoreboard enable/disable
- TAB enable/disable
- Theme colors
Example:
scoreboard: enabled: true title: "<blue><bold>Felix SMP</bold></blue>" lines:
- "<gray>────────────</gray>"
- "<white>Rank: <blue>%rank%</blue>"
- "<white>Team: <blue>%team%</blue>"
- ""
- "<white>Ping: <blue>%ping%ms</blue>"
- ""
- "<red>Felix SMP Store</red>"
- "<blue>store.example.com</blue>"
tab: enabled: true header:
- "<red><bold>FELIX SMP</bold></red>"
- "<blue>Welcome to Felix SMP</blue>"
footer:
- "<blue>Ping: %ping%ms</blue>"
- "<red>Felix SMP Store</red>"
- "<blue>/shop • /ah • /sell</blue>"
ranks: owner: permission: "felix.rank.owner" prefix: "<red>[OWNER]</red>"
developer: permission: "felix.rank.developer" prefix: "<blue>[DEVELOPER]</blue>"
admin: permission: "felix.rank.admin" prefix: "<red>[ADMIN]</red>"
mod: permission: "felix.rank.mod" prefix: "<blue>[MOD]</blue>"
helper: permission: "felix.rank.helper" prefix: "<blue>[HELPER]</blue>"
member: permission: "felix.rank.member" prefix: "<gray>[MEMBER]</gray>"
---
- COMMANDS
Add:
/felix reload /felix scoreboard /felix tab
Permissions:
felix.admin felix.reload felix.scoreboard felix.tab
/felix reload must reload the configuration without requiring a server restart.
---
- PERFORMANCE
The plugin must be optimized for a real SMP server.
Do NOT run expensive tasks every tick.
Use efficient update intervals for:
- Ping
- Rank
- Team
- Scoreboard
- TAB
Handle correctly:
- Player join
- Player quit
- World changes
- Rank changes
- Configuration reload
Avoid memory leaks and unnecessary object creation.
---
- PROJECT STRUCTURE
Generate the complete project with:
- pom.xml OR Gradle build file
- plugin.yml
- config.yml
- Java source code
- README.md
- All required classes
Use a clean package structure, for example:
me.felix.smp
Suggested classes:
FelixSMPPlugin ScoreboardManager TabManager RankManager TeamManager PlaceholderManager FelixCommand ConfigManager
You may improve the architecture if you have a better implementation.
---
- MINECRAFT 1.21.11 COMPATIBILITY
This is extremely important.
The final plugin must specifically target:
Minecraft 1.21.11 Paper 1.21.11
Make sure:
- pom.xml/Gradle uses the correct Paper API for 1.21.11.
- plugin.yml is correct for 1.21.11.
- All APIs are compatible with Paper 1.21.11.
- Do not use old APIs unnecessarily.
- Fix all compilation errors.
- Fix all imports.
- Fix all deprecated/incompatible API usage where possible.
- Verify the complete project builds successfully.
---
- FINAL DESIGN
The final plugin should look like a premium modern Minecraft SMP plugin.
Color theme:
BLUE = main UI/theme
RED = Felix SMP / Felix MC branding
WHITE/GRAY = normal information
The overall appearance should be clean, compact, modern and professional.
Required features:
✓ Felix SMP scoreboard ✓ Rank ✓ Team ✓ Ping ✓ Felix SMP Store ✓ Custom TAB ✓ Felix SMP header ✓ Player rank + name ✓ Ping in TAB ✓ Store/shop/AH/sell information ✓ Configurable ranks ✓ LuckPerms support ✓ PlaceholderAPI support ✓ Reload command ✓ Optimized performance ✓ Complete source code ✓ Minecraft/Paper 1.21.11 support ✓ Ready-to-build plugin
Before giving the final project, check the entire codebase for compilation errors, missing imports, incorrect Paper API usage, configuration errors and version incompatibilities.
Fix every issue you find and then provide the complete final plugin source code.
Set up a Paper 1.21.11 Maven project and plugin configuration.
Implement configurable ranks, teams, placeholders, scoreboard, TAB, commands, and lifecycle updates.
Add setup and configuration guidance in the README.
Created the complete Felix SMP Tab and Scoreboard project targeting Paper 1.21.11, including the Maven build, plugin/config files, Java source, and README. LuckPerms and PlaceholderAPI integrations are optional; the store URL defaults to blank.
I couldn’t run a build here, so compilation has not been independently verified. Build it with mvn package using Java 21.
Create a complete, production-ready Minecraft Paper plugin named Felix StaffGuard for Minecraft/Paper 1.21.11.
Main Purpose
The plugin must protect the server from unauthorized players getting OP/operator permissions or using Creative/Spectator GameMode.
Punishment Rules
- If a player who is NOT on the StaffGuard whitelist becomes OP, automatically BAN that player.
- If a player who is NOT on the StaffGuard whitelist changes to Creative or Spectator, automatically KICK that player.
- Survival and Adventure are allowed.
- Staff members added to the whitelist must NOT be punished for OP or GameMode changes.
Staff Whitelist
Create console/player commands:
"/staffguard add <player>"
Adds a player to the protected staff whitelist.
"/staffguard remove <player>"
Removes a player from the whitelist.
"/staffguard list"
Shows all whitelisted staff members.
"/staffguard reload"
Reloads the configuration.
Only users with:
"staffguard.admin"
permission can use these commands.
Console must always be able to use them.
Also provide aliases if useful, such as:
"/sg add <player>" "/sg remove <player>" "/sg list" "/sg reload"
OP Protection
Continuously monitor player operator status.
If a non-whitelisted player becomes OP for ANY reason:
- Immediately remove their OP status if possible.
- Permanently ban them.
- Send a configurable ban message.
- Log the incident in console.
- Include the player's name and UUID in the log.
- The protection must work even if OP is given through the console or another plugin.
- Do not rely only on detecting "/op"; also periodically verify actual operator status so unexpected OP grants are detected.
Example:
Unauthorized player becomes OP → Detect OP → Remove OP → Ban player → Log:
"[StaffGuard] Unauthorized OP detected: PlayerName (UUID)"
GameMode Protection
Monitor GameMode changes.
If a non-whitelisted player changes to:
- CREATIVE → KICK
- SPECTATOR → KICK
Survival and Adventure should be allowed.
The protection must work whether GameMode is changed through:
"/gamemode" "/gmc" "/gms" another plugin console command blocks or any other method.
Do not rely only on command names. Detect the player's actual GameMode so bypassing the command does not bypass protection.
When unauthorized Creative/Spectator is detected:
- Kick the player immediately.
- Log the incident.
- Show a configurable kick message.
Example:
"[StaffGuard] Unauthorized GameMode detected: PlayerName -> CREATIVE"
Important Staff Exception
A player added using:
"/staffguard add PlayerName"
must be completely exempt from:
- OP detection punishment
- Creative detection
- Spectator detection
The whitelist must be saved permanently in "config.yml" or a separate data file so it survives server restarts.
Use UUIDs internally where possible, not only usernames.
Configuration
Create a clean "config.yml" containing:
- enabled
- op-protection
- gamemode-protection
- check-interval
- ban-message
- kick-message
- console-log
- staff-whitelist
Example configuration structure:
enabled: true
op-protection: true
gamemode-protection: true
check-interval: 20
ban-message: "&cYou have been permanently banned for unauthorized operator access."
kick-message: "&cYou have been kicked for unauthorized GameMode access."
console-log: true
staff-whitelist: []
Make all messages configurable and support Minecraft color codes.
Anti-Bypass Requirements
The plugin must not only listen for "/op" or "/gamemode".
It must detect the actual server state.
For OP:
- Check actual "player.isOp()".
- Also perform a repeating safety check.
- Detect OP changes caused by other plugins or console commands.
For GameMode:
- Listen for actual GameMode changes.
- Verify the final GameMode after the change.
- Detect Creative and Spectator regardless of how they were granted.
Avoid false punishments caused by:
- server startup
- player joining
- plugin reload
- legitimate staff actions
- temporary internal plugin changes
Permissions
Create:
"staffguard.admin"
Description:
Allows the user to manage the StaffGuard whitelist and reload the plugin.
Do NOT give normal players this permission.
Commands
Implement:
"/staffguard add <player>" "/staffguard remove <player>" "/staffguard list" "/staffguard reload"
Provide tab completion.
Only authorized staff/admins can execute management commands.
Technical Requirements
Use:
- Java
- Paper API compatible with Minecraft 1.21.11
- Gradle or Maven
- plugin.yml or the correct Paper plugin configuration
- clean package structure
- proper event listeners
- Bukkit/Paper scheduler for periodic OP verification
- UUID-based storage
- thread-safe handling where necessary
Do not use deprecated APIs if a modern Paper 1.21.11 API exists.
Deliverables
Give me the COMPLETE plugin source code, not snippets.
Include:
- Complete Java source files
- Main plugin class
- Command handler
- Tab completer
- Event listeners
- OP monitoring system
- GameMode monitoring system
- Staff whitelist/data manager
- Config.yml
- plugin.yml or required Paper configuration
- build.gradle or pom.xml
- Complete folder structure
- Exact build instructions
- Exact installation instructions
- Exact commands to use after installation
Make sure the code compiles without errors for Paper 1.21.11.
Before giving the final code, internally check for:
- API compatibility
- missing imports
- incorrect event names
- incorrect permission handling
- command registration errors
- scheduler errors
- UUID storage errors
- reload issues
- false-positive punishment issues
The final result should be a complete, clean, compile-ready Felix StaffGuard plugin with no placeholder code and no missing files.
Inspect the current project structure and build setup.
Implement StaffGuard with UUID whitelist persistence, OP/game-mode protection, commands, and configuration.
Add build/install instructions and check cross-file references.
Implemented Felix StaffGuard for Paper 1.21.11 and Java 21. The project includes the plugin descriptor, configuration, source files, Maven build, and README.
It monitors operator status on a repeating check and verifies game-mode changes after the event completes. Unauthorized players are permanently banned for OP or kicked for Creative/Spectator; whitelisted staff are exempt. The whitelist stores UUIDs for known players and accepts offline names until they join. Console can always use /staffguard or /sg; players need staffguard.admin.
Build with mvn clean package, then install target/felix-staffguard-1.0.0.jar in the server’s plugins folder. I couldn’t run Maven in this environment, so compilation hasn’t been independently verified.
package me.felix.staffguard;
import me.felix.staffguard.command.StaffGuardCommand;
import me.felix.staffguard.protection.ProtectionManager;
import me.felix.staffguard.staff.StaffWhitelistManager;
import org.bukkit.Bukkit;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;
public final class FelixStaffGuard extends JavaPlugin {
private StaffWhitelistManager staffWhitelist;
private ProtectionManager protectionManager;
@Override
public void onEnable() {
saveDefaultConfig();
staffWhitelist = new StaffWhitelistManager(this);
staffWhitelist.load();
protectionManager = new ProtectionManager(this, staffWhitelist);
Bukkit.getPluginManager().registerEvents(protectionManager, this);
StaffGuardCommand commandHandler = new StaffGuardCommand(this, staffWhitelist);
PluginCommand command = getCommand("staffguard");
if (command == null) {
getLogger().severe("The staffguard command is missing from plugin.yml; disabling plugin.");
Bukkit.getPluginManager().disablePlugin(this);
return;
}
command.setExecutor(commandHandler);
command.setTabCompleter(commandHandler);
protectionManager.reload();
getLogger().info("Felix StaffGuard enabled.");
}
@Override
public void onDisable() {
if (protectionManager != null) {
protectionManager.stop();
}
}
public void reloadPlugin() {
reloadConfig();
staffWhitelist.load();
protectionManager.reload();
}
}