MINI ZERO

Plugin Name: CustomTabChat

Develop a Minecraft Paper plugin named CustomTabChat that allows OP players to customize player TAB-list name colours and chat message colours.

  1. Custom TAB Colour
  • When a player presses TAB, their name should appear in the colour assigned by an OP.
  • OP can set a different TAB colour for each player.
  • The colour must be visible to everyone on the server.
  • Colour should update immediately without requiring a relog.
  • Support Minecraft colour codes, HEX colours (e.g. #FF0000), and RGB colours if supported by the server version.
  • The assigned colour must persist after server restarts.
  1. Custom Chat Colour
  • Allow OP to set a custom chat name colour for each player.
  • Allow OP to set a custom chat message colour for each player.
  • Chat formatting should look like:

"<PlayerName> Message"

  • Example:

- Player name in red. - Chat message in white.

  • Changes should apply immediately.
  • Preserve normal chat functionality, including clickable links and formatting where possible.
  1. Commands (OP ONLY)

TAB Commands

  • "/customtab set <player> <colour>" – Set player's TAB name colour.
  • "/customtab reset <player>" – Reset TAB colour.
  • "/customtab info <player>" – Show assigned TAB colour.

Chat Commands

  • "/customchat name <player> <colour>" – Set chat name colour.
  • "/customchat message <player> <colour>" – Set chat message colour.
  • "/customchat reset <player>" – Reset chat colours.

Utility Commands

  • "/customtab reload" – Reload configuration.
  • "/customchat reload" – Reload configuration.
  1. Permissions
  • Only OP players can use all plugin commands.
  • Normal players cannot change their own or anyone else's colours.
  • Normal players can see the custom TAB and chat colours.
  1. Configuration

Create a config.yml with:

  • Default TAB colour.
  • Default chat name colour.
  • Default chat message colour.
  • Individual player colour settings.
  • Enable/disable custom TAB formatting.
  • Enable/disable custom chat formatting.
  1. Technical Requirements
  • Support Paper 1.21.11.
  • Use Adventure API / MiniMessage for modern text formatting.
  • Use a proper TAB-list API to change player display names and player-list names.
  • Ensure compatibility with other chat plugins where possible.
  • No unnecessary resource usage.
  • Save player settings in YAML or another reliable persistent storage.
  • Include tab completion for all commands.
  • Provide clear success and error messages.
  • Handle offline players when setting colours.
  1. Final Requirements
  • Deliver a complete, compiled, ready-to-use JAR.
  • Include the complete source code.
  • Include plugin.yml and config.yml.
  • No missing commands or unfinished features.
  • Ensure all features work correctly on Paper 1.21.11.
Kodari AI
KodariNov 10 at 7:34 am 1

Would you like me to create a new Paper plugin project for CustomTabChat, or add an existing project to this workspace?

MINI ZERO

Create new one

Kodari AI
KodariNov 10 at 7:34 am 1
Created CustomTabChatPlugins
Delegated to CustomTabChat Running
Build the complete Paper plugin requested by the user, named CustomTabChat, targeting Paper 1.21.11. Implement OP-only commands /customtab set <player> <colour>, reset <player>, info <player>, reload; /customchat name <player> <colour>, message <player> <colour>, reset <player>, reload; robust tab completion. Support online/offline player settings persisted in config.yml; defaults for tab/name/message colors; enabled toggles for custom tab/chat. Support legacy ampersand Minecraft color codes and HEX such as #FF0000 (and modern RGB formatting through Adventure). Apply tab color live for everyone with Paper/Adventure player-list display name and display name as needed; restore proper default behavior on reset/toggles/join. Chat formatting must show colored <PlayerName> and message while preserving Adventure components/clickable links/formatting where possible; prefer modern Paper AsyncChatEvent component manipulation and avoid breaking other chat integrations; make behavior safe for asynchronous events/threading. Clear user feedback, validations, documented config. Plugin metadata plugin.yml and config.yml included. Inspect starter project first and implement source files only; do not write tests, do not build. Aim for ready-to-compile complete feature.

I’ve created the CustomTabChat Paper plugin project and started development on the requested commands, persistent colour settings, live TAB updates, and chat formatting. I’ll compile it when the implementation is ready.

Report from 1 project
CustomTabChatCompleted
TaskBuild the complete Paper plugin requested by the user, named CustomTabChat, targeting Paper 1.21.11. Implement OP-only commands /customtab set <player> <colour>, reset <player>, info <player>, reload;...

Implemented CustomTabChat with persistent player colours, OP-only commands, tab completion, live tab updates, and Adventure chat rendering.

Offline players must have joined the server before. No build or tests were run.

Kodari AI
KodariNov 10 at 7:35 am 1
Compiled CustomTabChatSucceeded

CustomTabChat is implemented and compiled successfully. The project includes the plugin source, plugin.yml, and config.yml; you can download the ready-to-use JAR from the project.

Note: Offline players must have joined the server before for their colour settings to be set.

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

No files in this session

Code