Project Zomboid

Project Zomboid

评价数不足
[B41] Role Display System
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
184.984 KB
8 月 10 日 上午 11:40
1 项改动说明 ( 查看 )

订阅以下载
[B41] Role Display System

描述
A lightweight, server-friendly way to show player roles across chat, nameplates, and maps. Designed for multiplayer servers with admin hierarchies or custom communities.

What it does
  • Chat: Adds colored role tags before usernames in messages.
  • Nameplates: Renders role tags next to player usernames above their heads with distance-based fading.
  • Map + Mini-Map: Draws role tags near player markers with a subtle background for readability; uses vehicle position when driving.
  • Multi-role support: Show all roles or only the highest priority.
  • Formatting: Choose bracket styles: [Role], (Role), {Role}, <Role>, Role:, or none. Per-role color via RGB.

Admin tools
Open Admin Panel > Role Manager to configure:
  • Create / rename / delete roles.
  • Set color, bracket style, and numeric priority.
  • Assign players via Online list or Manual input (usernames separated by semicolons).
  • See player counts per role and update in real time when changes are pushed.

Visibility & rules
  • Respects DisplayUserName, ShowFirstAndLastName, and MouseOverToSeeDisplayName server settings.
  • Enforces line of sight for world rendering and hides invisible players from non-admins.
  • Map rendering follows MapRemotePlayerVisibility server settings.

Sandbox options
  • Chat Integration: enable/disable chat role tags.
  • Map Integration: enable/disable map role tags.
  • Show Multiple Roles: show all roles or only the highest priority.
Note: World nameplate role display is always on and follows server visibility rules.

Performance
  • Client-side caching for chat and rendering.
  • Distance-based fading and off-screen cleanup.

How to use
  • In-game as admin: open Admin Panel and click Role Manager.
  • Create one or more roles; set color, brackets, and priority.
  • Add players (online list or manual usernames) to each role.
  • Optionally adjust Sandbox: Chat/Map integrations and Multi-role display.

Known notes
  • Role changes may take a few seconds to propagate due to client caching.
  • Very long role names can affect positioning in rare cases.



Frequently Asked Question:

Is it compatible with Multiplayer?
Absolutely! Extensively tested and fully functional on MP servers.

Does it work on existing saves?
Absolutely! Enable it mid-save without issues.

Does it work for all game versions?
Only tested and working on the latest game version (v41.78.16).

Developer Note: This mod is in development, featuring the latest improvements and experimental features. While thoroughly tested, some features may be refined in future stable releases.

This mod was commissioned by the Dawn of the Dead community. I'm open to new commissions - contact me on Discord .ely0n or find me in the PZ Modding Discord.



[discord.gg]

[github.com][ko-fi.com]
引用自 author
This mod's permissions fall under TIS's policy On Lockdown [theindiestone.com]
This mod cannot be modified by anyone else, for anything else, at all, ever. Even if the user disappears, they would much rather you didn't touch the fruits of their hard labour.
[theindiestone.com]

Workshop ID: 3546349044
Mod ID: RoleDisplaySystem
1 条留言
Gojita 8 月 18 日 下午 10:42 
Pretty neat mod! Quick question though—does it work with the Total Immersive Chat System? No offense, I’ve grown quite fond of that one, but I really like some of the features in your system too, especially from a server owner’s perspective.