Guides
Enforce Style
HUD element position and colors can be enforced, applying a specific style for all players upon joining the server.
Prepare Permission
To set up an enforced style, you will need to make sure you have the necessary permission to export position and color options in the config panel.
By default, rHUD's permissions.cfg file includes the rhud.config.export permission for the admin group.
Export Options
- Open the in-game config panel.
- Adjust the position and color options of each module to your liking.
- Click the
Export Positionsand/orExport Colorsbuttons at the bottom of the config panel.- This will write to
rhud/data/hud_locations.jsonandrhud/data/hud_colors.jsonrespectively.
- This will write to
Enforce Options
- Open the
rhud/config.luafile. - Set the
config > modules > enforce_locationand/orconfig > modules > enforce_coloroptions totrue.1 - Restart
rhudor the server for the changes to take effect.
Footnotes
-
Once enforcement options are set to
true, the respective options in the config panel will be disabled for all players, including those with theconfigpermission. ↩