Thunder-Relay/MC/ThunderNickname
0 forks
id: 25986
1,185 Lines
  • Java 83.2%
  • Yaml 6.8%
  • Markdown 5.3%
  • XML 4.7%
README.md

ThunderNickname

Prefix and suffix management for player display names on Paper 26.2+.

API / platform (honest)

ItemValue
API usedPaper API (io.papermc.paper:paper-api)
Minecraft / Paper26.2 and newer (api-version: 26.2, dependency [26.2.build,))
Java25
AdventureMiniMessage colors in prefixes/suffixes, Player#displayName(Component)

Paper includes the Bukkit API, but the compile dependency and features used are Paper, not “Bukkit-only”.

Requirements

  • Paper 26.2 or newer (also fine on 26.3+)
  • Java 25
  • IntelliJ IDEA (or any Maven IDE)

Building (IntelliJ)

  1. File → Open the thundernickname folder (the one with pom.xml)
  2. Set Project SDK to JDK 25
  3. Maven tool window → package (or mvn clean package)
  4. Jar: target/ThunderNickname-1.0.0.jar
  5. Put it in the server plugins/ folder and restart

Commands (ops only by default)

CommandDescription
/prefix <player> <text>Set prefix (MiniMessage allowed)
/prefix <player> clearRemove prefix
/suffix <player> <text>Set suffix
/suffix <player> clearRemove suffix
/nickname <player>Show current prefix + suffix
/nickname <player> clearClear both
/tnhelpHelp

Permission: thundernickname.admin (default: op)

Examples

/prefix Steve <red>[Admin]</red>
/suffix Steve <gold>the Legend</gold>

Display becomes something like: [Admin] Steve the Legend (exact layout from config.ymlformat).

Data

  • plugins/ThunderNickname/config.yml — format, messages, max length
  • plugins/ThunderNickname/nicknames.yml — stored prefixes/suffixes by UUID

Notes

  • Display name is applied on join and when an admin changes prefix/suffix.
  • Chat plugins may still format chat their own way; this plugin sets Paper display name and player list name.
  • Only staff with the permission can change names — not regular players.
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover