Mods / Simple Roleplay Nametag

Category: #QoL #Simplification #Utility
Author: Fatigue
Side: Server
Created: Aug 23rd at 1:33 AM
Last modified: Aug 23rd at 1:35 AM
Downloads: 184
Follow Unfollow 10

Latest file for v1.19.8:
RoleplayName.zip 1-click install


Installed serverside.
Clients don't need this installed.
Player's nametag defaults to "A Stranger" if it is not set by the player. Moderators can use this to quickly see who has and has not set their name.

Usage:
/rpname Grundle

Developer Notes:

This is a simple command wrapper for a function call. If you want to add more or less functionality, you can use

public static void SetDisplayName(IPlayer player, string name)
=> player.Entity.GetBehavior<EntityBehaviorNameTag>().SetName(name);

The fact this is quite compact source and doesn't need to be a complex mod with bells and whistles (it fixes a single issue with a simple solution), I will not be taking requests on it's alteration unless it's a really really good idea.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.0 184 Aug 23rd at 1:35 AM Show RoleplayName.zip Install now

1 Comments (oldest first | newest first)

💬 Cantos, Aug 26th at 9:33 PM

Hey, thinking about putting this mod on my server.

Is it possible to keep track of player name changes in the join and/or audit log as well?
Like see both the display name and their actual username on the backend.

(edit comment delete)