LuckPrefix
LuckPrefix is a modern, minimalistic Minecraft plugin for managing and displaying player prefixes and groups. Designed for clarity and flexibility, it allows you to set custom prefixes, suffixes, name colors, and display formats through a simple YAML configuration.
Features
- Group-based Prefixes – Easily assign and manage group prefixes for players.
- Customizable Formatting – Define your own prefix, suffix, name color, and display formats for each group.
- Gradient & Hex Support – Use MiniMessage gradients and custom hex codes for prefix styles.
- Sort Order System – Control group order via
sortID(lower number = higher priority). - MiniMessage Format – Use MiniMessage for advanced color, gradients, and style customization.
- Lightweight – Minimal performance impact and easy to maintain.
- Straightforward Configuration – All group settings in one clear file.
- PlaceholderAPI integration
- Use placeholders from other plugins in groups.yml
- Our placeholders
- %luckprefix_prefix%
- %luckprefix_suffix%
- %luckprefix_tabformat%
- %luckprefix_chatformat%
- %luckprefix_sortid%
- %luckprefix_namecolor%
Installation
- Download LuckPrefix.
- Place the
LuckPrefix.jarfile into your server’spluginsdirectory. - Restart your server, DON'T RELOAD.
Configuration
LuckPrefix uses a groups.yml file in its data folder for group definitions.
Example groups.yml
groups:
admin:
prefix: '<gradient:#ff4444:#ff7700>[Admin]</gradient>'
suffix: ''
namecolor: 'RED'
sortID: 1
tabformat: '<prefix><player><suffix>'
chatformat: '<prefix><player><suffix> <gray>»</gray> <message>'
moderator:
prefix: '<aqua>[Mod]</aqua>'
suffix: ''
namecolor: 'AQUA'
sortID: 2
tabformat: '<prefix><player><suffix>'
chatformat: '<prefix><player><suffix> <gray>»</gray> <message>'
vip:
prefix: '<gradient:#ffd700:#fff700>[VIP]</gradient>'
suffix: ''
namecolor: 'GRAY'
sortID: 3
tabformat: '<prefix><player><suffix>'
chatformat: '<prefix><player><suffix> <gray>»</gray> <message>'
customhex:
prefix: '<#33ccff>[HexTag]</#33ccff>'
suffix: ''
namecolor: 'GRAY'
sortID: 10
tabformat: '<prefix><player><suffix>'
chatformat: '<prefix><player><suffix> <gray>»</gray> <message>'
default:
prefix: '<white>[Player]</white>'
suffix: ''
namecolor: 'WHITE'
sortID: 100
tabformat: '<prefix><player><suffix>'
chatformat: '<prefix><player><suffix> <gray>»</gray> <message>'
Placeholders
<prefix>: Replaced with the group prefix.<suffix>: Replaced with the group suffix.<player>: The player's name.<message>: The player's chat message (forchatformatonly).
Other keys
- namecolor: color of the player's name (RED, GRAY, BLUE).
- sortID: Lower numbers mean higher priority. A group with
sortID: 1is chosen over one withsortID: 100if a player is in both.
Contributing
Contributions are welcome. Please open issues or pull requests on GitHub.
License
LuckPrefix is licensed under the MIT License.
All Versions
+ Add Version## What's changed?
### Added
- API by ([@ezTxmMC](https://github.com/ezTxmMC))
- Toggling of tab- and chat-formatting by ([@ezTxmMC](https://github.com/ezTxmMC))
### Removed
- Spigot-Version by ([@ezTxmMC](https://github.com/ezTxmMC))
- Support for <1.21.4 by ([@ezTxmMC](https://github.com/ezTxmMC))
### Changed
- Updated Paper-API to 1.21.4 – should break nothing by ([@ezTxmMC](https://github.com/ezTxmMC))
### Fixes
- Fixed no config issue by ([@ezTxmMC](https://github.com/ezTxmMC))
- Possible fixed locator bar issues and network protocol errors by ([@ezTxmMC](https://github.com/ezTxmMC))
## Known issues:
- Database is currently unavailable
- When disabling tab-formatting, the player-group must be changed or the server must be restarted
2.0.0@[9cbd2a7](https://github.com/ezTxmMC/LuckPrefix/tree/9cbd2a756bd661f55b3bf53617c1672371329900)
It's a **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
- Added 1.21.9/10 support by [@ezTxmMC](https://github.com/ezTxmMC)
- Rebuilded update-checker by [@ezTxmMC](https://github.com/ezTxmMC)
### Known issues:
Database support is currently not implemented.
It's an beta version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub or in our [ticket system](https://eztxm.de/dc)
- Added 1.21.9/10 support by [@ezTxmMC](https://github.com/ezTxmMC)
- Rebuilded update-checker by [@ezTxmMC](https://github.com/ezTxmMC)
### Known issues:
Database support is currently not implemented.
It's an beta version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub or in our [ticket system](https://eztxm.de/dc)
- Added 1.21.9/10 support by [@ezTxmMC](https://github.com/ezTxmMC)
- Rebuilded update-checker by [@ezTxmMC](https://github.com/ezTxmMC)
### Known issues:
Database support is currently not implemented.
It's an beta version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub or in our [ticket system](https://eztxm.de/dc)
### Added
- New charts at bStats** by [@ezTxmMC](https://github.com/ezTxmMC)
- Used groups
- Auto reload
- Console logging
- Print warnings
- Debug logging flag
- Show nametags
- Always-on debug log file:'** A dedicated file in the Datafolder for troubleshooting by [@SyntaxJason](https://github.com/SyntaxJason)
### Changed
- Auto-reload reworked:** More reliable, reloads after file save, no unintended autosaves by [@SyntaxJason](https://github.com/SyntaxJason)
- Command rename:**
/luckprefix reloadconfigsrenamed in/luckprefix reloadby [@SyntaxJason](https://github.com/SyntaxJason) - Greedy setters:** Commands now accept symbols by [@SyntaxJason](https://github.com/SyntaxJason)
- Rewrote config system** by [@SyntaxJason](https://github.com/SyntaxJason)
### Fixes
- Fixed lost prefixes/suffixes after reload by fully rebuilding teams by [@SyntaxJason](https://github.com/SyntaxJason)
- Fixed truncation with group names containing : or multiple spaces by [@SyntaxJason](https://github.com/SyntaxJason)
- Fixed config "reset" on reload by reading from disk only by [@SyntaxJason](https://github.com/SyntaxJason)
## Known issues:
- Database support is currently not implemented.
2.0.0@[bbdff4d](https://github.com/ezTxmMC/LuckPrefix/commit/bbdff4daa05cafbbd1abca09583a201d73360fa2)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub or in our [ticket system](https://eztxm.de/dc)
### Added
- New charts at bStats** by [@ezTxmMC](https://github.com/ezTxmMC)
- Used groups
- Auto reload
- Console logging
- Print warnings
- Debug logging flag
- Show nametags
- Always-on debug log file:'** A dedicated file in the Datafolder for troubleshooting by [@SyntaxJason](https://github.com/SyntaxJason)
### Changed
- Auto-reload reworked:** More reliable, reloads after file save, no unintended autosaves by [@SyntaxJason](https://github.com/SyntaxJason)
- Command rename:**
/luckprefix reloadconfigsrenamed in/luckprefix reloadby [@SyntaxJason](https://github.com/SyntaxJason) - Greedy setters:** Commands now accept symbols by [@SyntaxJason](https://github.com/SyntaxJason)
- Rewrote config system** by [@SyntaxJason](https://github.com/SyntaxJason)
### Fixes
- Fixed lost prefixes/suffixes after reload by fully rebuilding teams by [@SyntaxJason](https://github.com/SyntaxJason)
- Fixed truncation with group names containing : or multiple spaces by [@SyntaxJason](https://github.com/SyntaxJason)
- Fixed config "reset" on reload by reading from disk only by [@SyntaxJason](https://github.com/SyntaxJason)
## Known issues:
- Database support is currently not implemented.
2.0.0@[bbdff4d](https://github.com/ezTxmMC/LuckPrefix/commit/bbdff4daa05cafbbd1abca09583a201d73360fa2)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub or in our [ticket system](https://eztxm.de/dc)
### Added
- New charts at bStats** by [@ezTxmMC](https://github.com/ezTxmMC)
- Used groups
- Auto reload
- Console logging
- Print warnings
- Debug logging flag
- Show nametags
- Always-on debug log file:'** A dedicated file in the Datafolder for troubleshooting by [@SyntaxJason](https://github.com/SyntaxJason)
### Changed
- Auto-reload reworked:** More reliable, reloads after file save, no unintended autosaves by [@SyntaxJason](https://github.com/SyntaxJason)
- Command rename:**
/luckprefix reloadconfigsrenamed in/luckprefix reloadby [@SyntaxJason](https://github.com/SyntaxJason) - Greedy setters:** Commands now accept symbols by [@SyntaxJason](https://github.com/SyntaxJason)
- Rewrote config system** by [@SyntaxJason](https://github.com/SyntaxJason)
### Fixes
- Fixed lost prefixes/suffixes after reload by fully rebuilding teams by [@SyntaxJason](https://github.com/SyntaxJason)
- Fixed truncation with group names containing : or multiple spaces by [@SyntaxJason](https://github.com/SyntaxJason)
- Fixed config "reset" on reload by reading from disk only by [@SyntaxJason](https://github.com/SyntaxJason)
## Known issues:
- Database support is currently not implemented.
2.0.0@[bbdff4d](https://github.com/ezTxmMC/LuckPrefix/commit/bbdff4daa05cafbbd1abca09583a201d73360fa2)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub or in our [ticket system](https://eztxm.de/dc)
### Added
- PlaceholderAPI** integration by [@ezTxmMC](https://github.com/ezTxmMC)
- Placeholders:
- %luckprefix_prefix%
- %luckprefix_suffix%
- %luckprefix_chatformat%
- %luckprefix_tabformat%
- %luckprefix_sortid%
- %luckprefix_namecolor%
- Leaf support by [@SyntaxJason](https://github.com/SyntaxJason)
- bStats integration by [@ezTxmMC](https://github.com/ezTxmMC) & [@SyntaxJason](https://github.com/SyntaxJason)
### Removed
- Complete database system has been removed, and we are targeting beta 11 for a rewrite.
### Fixes
- Fixed null error of bukkit task by [@ezTxmMC](https://github.com/ezTxmMC)
- Fixed tablist flickering by [@SyntaxJason](https://github.com/SyntaxJason)
- Fixed paper async issue by [@SyntaxJason](https://github.com/SyntaxJason)
## Known issues:
- Database support is currently not implemented.
2.0.0@[6b720d5](https://github.com/ezTxmMC/LuckPrefix/commit/6b720d59b80b2c425d56e3fd7e2c7b6fa25953fe)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
### Added
- PlaceholderAPI** integration by [@ezTxmMC](https://github.com/ezTxmMC)
- Placeholders:
- %luckprefix_prefix%
- %luckprefix_suffix%
- %luckprefix_chatformat%
- %luckprefix_tabformat%
- %luckprefix_sortid%
- %luckprefix_namecolor%
- Leaf support by [@SyntaxJason](https://github.com/SyntaxJason)
- bStats integration by [@ezTxmMC](https://github.com/ezTxmMC) & [@SyntaxJason](https://github.com/SyntaxJason)
### Removed
- Complete database system has been removed, and we are targeting beta 11 for a rewrite.
### Fixes
- Fixed null error of bukkit task by [@ezTxmMC](https://github.com/ezTxmMC)
- Fixed tablist flickering by [@SyntaxJason](https://github.com/SyntaxJason)
- Fixed paper async issue by [@SyntaxJason](https://github.com/SyntaxJason)
## Known issues:
- Database support is currently not implemented.
2.0.0@[6b720d5](https://github.com/ezTxmMC/LuckPrefix/commit/6b720d59b80b2c425d56e3fd7e2c7b6fa25953fe)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
### Added
- PlaceholderAPI** integration by [@ezTxmMC](https://github.com/ezTxmMC)
- Placeholders:
- %luckprefix_prefix%
- %luckprefix_suffix%
- %luckprefix_chatformat%
- %luckprefix_tabformat%
- %luckprefix_sortid%
- %luckprefix_namecolor%
- Leaf support by [@SyntaxJason](https://github.com/SyntaxJason)
- bStats integration by [@ezTxmMC](https://github.com/ezTxmMC) & [@SyntaxJason](https://github.com/SyntaxJason)
### Removed
- Complete database system has been removed, and we are targeting beta 11 for a rewrite.
### Fixes
- Fixed null error of bukkit task by [@ezTxmMC](https://github.com/ezTxmMC)
- Fixed tablist flickering by [@SyntaxJason](https://github.com/SyntaxJason)
- Fixed paper async issue by [@SyntaxJason](https://github.com/SyntaxJason)
## Known issues:
- Database support is currently not implemented.
2.0.0@[6b720d5](https://github.com/ezTxmMC/LuckPrefix/commit/6b720d59b80b2c425d56e3fd7e2c7b6fa25953fe)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
### Fixes
- Fixed 'NoClassDefFoundError' ci build error
2.0.0@[2664c69](https://github.com/ezTxmMC/LuckPrefix/tree/2664c69e89f5f278bd710763c452ebee25ae1293)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
### Fixes
- Fixed 'NoClassDefFoundError' ci build error
2.0.0@[2664c69](https://github.com/ezTxmMC/LuckPrefix/tree/2664c69e89f5f278bd710763c452ebee25ae1293)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
### Fixes
- Fixed 'NoClassDefFoundError' ci build error
2.0.0@[2664c69](https://github.com/ezTxmMC/LuckPrefix/tree/2664c69e89f5f278bd710763c452ebee25ae1293)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
### Changes
- AsyncPlayerChatEvent -> AsyncChatEvent
- ChatColor -> NamedTextColor & TextColor
- String -> Component
- and more
### Bugfixes
- /luckprefix command returns errors -> default activation of 'Auto-Add-Groups'
- Configuration errors with Auto-Add have been fixed -> check if data is missing and, if not, use default values.
- Fixed tablist error [#29](https://github.com/ezTxmMC/LuckPrefix/issues/29)
### Changes
- /luckprefix reloadconfig reverted to /luckprefix reloadconfigs
### Features
- Auto-Reload-Config has been added
### Current Issues
- Database connections do not work / only partially
- Reloading the configuration resets the data to the state before startup
2.0.0@[b6a9b80](https://github.com/ezTxmMC/LuckPrefix/tree/b6a9b80328fb0a7de32db2af027e71e6ea3a57c7)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
### Changes
- AsyncPlayerChatEvent -> AsyncChatEvent
- ChatColor -> NamedTextColor & TextColor
- String -> Component
- and more
### Bugfixes
- /luckprefix command returns errors -> default activation of 'Auto-Add-Groups'
- Configuration errors with Auto-Add have been fixed -> check if data is missing and, if not, use default values.
- Fixed tablist error [#29](https://github.com/ezTxmMC/LuckPrefix/issues/29)
### Changes
- /luckprefix reloadconfig reverted to /luckprefix reloadconfigs
### Features
- Auto-Reload-Config has been added
### Current Issues
- Database connections do not work / only partially
- Reloading the configuration resets the data to the state before startup
2.0.0@[b6a9b80](https://github.com/ezTxmMC/LuckPrefix/tree/b6a9b80328fb0a7de32db2af027e71e6ea3a57c7)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
### Changes
- AsyncPlayerChatEvent -> AsyncChatEvent
- ChatColor -> NamedTextColor & TextColor
- String -> Component
- and more
### Bugfixes
- /luckprefix command returns errors -> default activation of 'Auto-Add-Groups'
- Configuration errors with Auto-Add have been fixed -> check if data is missing and, if not, use default values.
- Fixed tablist error [#29](https://github.com/ezTxmMC/LuckPrefix/issues/29)
### Changes
- /luckprefix reloadconfig reverted to /luckprefix reloadconfigs
### Features
- Auto-Reload-Config has been added
### Current Issues
- Database connections do not work / only partially
- Reloading the configuration resets the data to the state before startup
2.0.0@[b6a9b80](https://github.com/ezTxmMC/LuckPrefix/tree/b6a9b80328fb0a7de32db2af027e71e6ea3a57c7)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
- Removed database support causing unexpected errors
- Fixed updating of group components - [#7](https://github.com/ezTxmMC/LuckPrefix/issues/7)
- Optimized the code
### Known issues
- Database can't be used
2.0.0@[90c01e3](https://github.com/ezTxmMC/LuckPrefix/tree/90c01e39f42523b266fd0e2a536f52b35d4d49a5)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
- Added database support for MariaDB, SQLite and MongoDB
- Optimized the code
- Fixed some messages
### Known issues
- You must add groups manually into the database
2.0.0@[eafa854](https://github.com/ezTxmMC/LuckPrefix/tree/eafa85498b49caf8a6d99cee46c9c3c5ed28c1f0)
It's an **beta** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
- Added auto-update values when changed with '/luckprefix'-command
- Fully completed '/luckprefix'-command
- Split subcommands into own classes for overview
- Fixed unknown color bug where input was N/A color
- Fixed display bug where custom tab styles would not display above player
### Known issues
- Database support currently not implemented
2.0.0@[a9c8a94](https://github.com/ezTxmMC/LuckPrefix/tree/a9c8a9436a609aa661c4b71f3c5e60da21fa58d0)
It's an **alpha** version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
- Added complete '/luckprefix'-command
- Added more options to toggle stuff in config.yml
- Optimizied messages with TextUtil
- Fixed '/luckprefix reloadconfigs' doesn't work
### Known issues
- The '/luckprefix'-command can throw warnings
- Database support currently not implemented
It's an alpha version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
- Added support for groups configuration
- Added update checker
- Moved groups and database in own configuration
- Optimized main class
### Known issues
- The command /luckprefix reloadconfigs don't work and will show erros
- Database support currently not implemented
It's an alpha version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
- Added complete support for legacy color-code format
- Added more information and examples to the config
- Fixed issues at setupGroups and setGroups
- Fixed player prefix not being set correctly
It's an alpha version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub.
- Complete recode of the code
- Textformat switch to [MiniMessage](https://docs.advntr.dev/minimessage/format.html)
It's an alpha version, please report any [issues](https://github.com/ezTxmMC/LuckPrefix/issues) at GitHub