Summary
HFS-Custom Nametag Roles is a server-side mod designed for dedicated servers, allowing you to assign custom roles that appear under player names.
Description
Created for HeliFlightSchool+ (Feel free to use on your servers)
-----Know Conflicts-----
If using server admin tools auto login feature, the setrole command will not detect you as a valid admin. You must use #login to become an admin. Thanks to Chaos-_-SOG for letting me know about this.
Will not work with CSI mods or any mods that changes a players nametag.
Use server commands to set a players role in game.
#setrole playername role
Example:
#setrole cal Admin
Player name is not case sensitive, a minimum of 3 characters can be used to find a player.
To remove a players role, type #setrole playername remove.
User must be an admin to run the commands.
Setup Instructions:
No complex setup is required.
Upon first run, the mod will automatically generate a JSON file inside your server under the Profiles directory. Alternatively, you can manually create a JSON file named CustomRoles.json and place it in your profile directory.
CustomRoles.json Example:
{
"players": [
{"UID": "YOUR GUID HERE", "Role": "YOUR CUSTOM ROLE HERE"},
{"UID": "YOUR GUID HERE", "Role": "YOUR CUSTOM ROLE HERE"}
]
}
To ensure the mod is functioning correctly, take control of an AI character and view your player. The assigned role should now display under the character’s name.
Modifying the scripts in any way is strictly prohibited. If you encounter any issues or need assistance, please contact Cal via Discord: https://discord.gg/m9wWYVhtfmLicense
Arma Public License No Derivatives (APL-ND)