spider_ogyt

Hi, genrate a prompt for a Minecraft plugin for version 1.21.11 .

A plugin made for server owner in this plugin/hidenane cmd for oprater only cmd and a /unhide cmd . /hidenane cmd for to hide player name like glitched name change text codes , spacficly the player name will glitch name was changeing text codes and the RANK OF the player like mamber owner and admin are can seen by players the luckperms ranks can seem. In unhide cmd was for to change player name normal the original name of player.

Here's a clearer, detailed prompt you can give to an AI developer or use for plugin generation:

Minecraft Plugin Development Prompt (Paper/Spigot 1.21.11)

Create a Minecraft plugin for Paper/Spigot Minecraft 1.21.11 designed for server owners and administrators.

Plugin Name HiddenName

Main Purpose The plugin should allow operators (OPs) to hide a player's real username while keeping their LuckPerms rank visible.

Commands /hidename <player> Permission: OP only (or hiddenname.admin)

Features:

Hide the specified player's real Minecraft username.

Replace the player's visible name with a continuously changing "glitched" name using Minecraft formatting/color codes.

The fake name should appear as random changing symbols, characters, and colors, creating a glitching effect.

The player's original username must not be visible to normal players.

Keep the player's LuckPerms prefix/rank visible, for example:

[Owner] §kGlitchedName

[Admin] §kGlitchedName

[Member] §kGlitchedName

The rank prefix from LuckPerms must continue to update normally if changed.

The hidden state should persist after relogging and server restarts.

/unhide <player> Permission: OP only (or hiddenname.admin)

Features:

Restore the player's original Minecraft username.

Remove all glitch effects.

Keep the LuckPerms rank display working normally.

Remove the player from the hidden players list.

Additional Requirements Name Display Hide the name in:

Chat

Tab list

Above-player nametag

Death messages

Join/Quit messages

Any plugin-supported display names where possible

Configuration Provide a config.yml with:

glitch-update-ticks: 20 use-random-colors: true save-hidden-players: true Permissions hiddenname.admin Compatibility Minecraft Paper/Spigot 1.21.11

LuckPerms support

PlaceholderAPI support (optional)

Data Storage Save hidden players in a YAML file (hiddenplayers.yml).

Automatically reload hidden players on server startup.

Messages player-hidden: "&aPlayer name hidden successfully." player-unhidden: "&aPlayer name restored successfully." no-permission: "&cYou do not have permission." player-not-found: "&cPlayer not found." Expected Behavior Example Before:

[Owner] Steve After /hidename Steve:

[Owner] §k§aXxXxXx (The glitched portion should continuously change.)

After /unhide Steve:

[Owner] Steve Technical Notes Use the Bukkit/Paper API.

Use LuckPerms API to retrieve rank prefixes.

Use scoreboards/teams or packet-based nametag handling for reliable name hiding.

Ensure compatibility with Minecraft 1.21.11 and avoid excessive performance impact.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code