Supported software
Install the plugin
1
Install the server plugins
Download Prefixes from GitHub and place it in the Paper server template’s
plugins/ folder. Standard SimpleCloud templates already include simplecloud-api; add it through the target’s Plugins setting or the CLI if you use a custom template.Install LuckPerms as well if you plan to use general.source: LUCKPERMS.2
Generate the configuration
Start a matching server. Prefixes creates
config.yml and messages.yml under plugins/simplecloud-prefixes/.3
Keep the configuration in the template
For a group server, copy
plugins/simplecloud-prefixes/ from the running server to the same path in its template before the server stops. Then edit the template copy.See Templates for the complete workflow.4
Apply and verify the configuration
Run
/scprefix reload after editing files on a running server. If you edited the template, start a new server instead.Join the server and confirm that your group prefix appears in chat, the tab list, and your display name for each enabled feature.
Configuration
Every player belongs to a group whose settings define these displays. Prefixes reads groups from its own configuration or from LuckPerms.config.yml
The main configuration file controls the group source, group definitions, individual features, and cross-server synchronization.source is LUCKPERMS, every value is read from the LuckPerms group:
Placeholders
The following placeholders are available:Feature switches
Usefeatures to enable or disable each local part of the plugin:
chatformats local chat messages with the group’schat-formattablistapplies the group’s prefix, suffix, color and priority to the tab listdisplay-nameapplies the configureddisplay-name; when disabled, the normal Minecraft name is used
Cross-server sync
Sync can share two things over the SimpleCloud network:- Chat: formatted chat messages from players on other servers
- Tab list: tab list entries for players on other servers
sync.enabled to false to disable all cross-server communication without disabling local formatting. Under channels, choose whether chat, tab list entries or both are synchronized. A channel only works when its matching option under features is also enabled.
The sources list controls which servers this server receives updates from:
CURRENTreceives updates from the current server group, or only this persistent server when running as a persistent serverALLreceives updates from every server in the network and must be the only list entry- A server group name or persistent server ID receives updates from that specific source
Commands
API
Use the API to read a player’s prefix data and register custom groups.Add the dependency
Access the API
- Paper
The short examples below assume the
api instance above and a platform player named player. Place them inside your plugin’s methods. The custom group example is a complete class.Player management
Get the group of a player:Group management
List all groups, highest priority first:Best practices
- Keep priorities unique so the tab list order stays predictable
- Give every group the same
chat-formatunless a rank should visibly stand out in chat - Use
<color>indisplay-nameandchat-formatinstead of repeating hex codes - Point
default-groupat a group with an emptypermissionso every player matches something