Skip to main content

Overview

The Prefixes Plugin handles rank displays on your servers. Every player belongs to a group, and that group defines how the player appears in chat, in the tab list and above their head. The plugin:
  • Applies prefixes, suffixes, colors and display names to chat, tab list and name tags
  • Reads groups either from its own config.yml or from LuckPerms
  • Syncs chat messages and tab list entries across the servers of your network
  • Provides an API to read prefix data and register custom groups

Supported Software

Want to add support for another server software? Submit a pull request on GitHub!

Quick Setup

  1. Download the plugin from GitHub
  2. Place it in your server template’s plugins folder
  3. Start your server
  4. Edit config.yml and messages.yml to your needs

Configuration

config.yml

The main configuration file. It controls the group source, the groups themselves, individual plugin features and cross-server sync.
LuckPerms mapping When source is LUCKPERMS, every value is read from the LuckPerms group:

Placeholders

Here is a list of all available placeholders.
Use <color> instead of writing the same hex code into every value. It is applied as a style, so everything after it inherits the group color.

Feature switches

Use features to enable or disable each local part of the plugin:
  • chat formats local chat messages with the group’s chat-format
  • tablist applies the group’s prefix, suffix, color and priority to the tab list
  • display-name applies the configured display-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
Set 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:
  • CURRENT receives updates from the current server group, or only this persistent server when running as a persistent server
  • ALL receives 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
You can combine multiple group names and persistent server IDs. To exchange updates in both directions, configure each participating server to receive from the other server’s group or ID.

Commands


API

The API lets you read the prefix data of a player and register your own groups.

Dependency

Access the API

Player Management

Get the group of a player:
Get the display values of a player:
Check whether a player is in a specific group:

Group Management

List all groups, highest priority first:
Register your own group:

Best Practices

  • Keep priorities unique so the tab list order stays predictable
  • Give every group the same chat-format unless a rank should visibly stand out in chat
  • Use <color> in display-name and chat-format instead of repeating hex codes
  • Point default-group at a group with an empty permission so every player matches something