OnlineUI
A simple OnlineUI for Total Players, Police and Staff

OnlineUI is a RocketMod plugin designed to seamlessly display an on screen HUD for players connecting to your Unturned server. It provides real time counts for total players online, as well as dynamic counts for specific RocketMod permission groups (e.g., admins on duty and active police).
Note on UI Assets: This plugin works with a specific workshop UI mod (Workshop ID 1616418181). Please note that this UI was originally developed as a private commission, which is why there is a "Legion" helmet logo permanently baked into the background image asset.
Features
- Live Player & Job Tracking: Displays the total player count (
Online/Max) alongside counters for specific configurable permission groups (e.g.admin,police). - Duty Support: Built-in background timer that polls for permission changes. If a player toggles their duty status, the UI will automatically update the count for everyone without requiring a player to disconnect or connect.
- Anti-Flicker Efficiency: Only sends network UI updates when the group/player counts actually change, preserving server performance and eliminating annoying UI flashing.
Installation
- Subscribe to the UI Mod on the Steam Workshop:
1616418181and add it to your server'sWorkshopDownloadConfig.json. - Place the
OnlineUI.dllinside your server'sServers/<ServerName>/Rocket/Plugins/directory. - Start your server once to generate the default configuration file, then stop or use
/rocket reload OnlineUIafter configuring.
Configuration
The OnlineUI.configuration.xml allows you to customize the effect IDs, UI keys, update interval, and what permission groups map to each slot on the UI.
<?xml version="1.0" encoding="utf-8"?>
<OnlineUIConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UIEffectIdBg>39851</UIEffectIdBg>
<UIEffectIdFg>39852</UIEffectIdFg>
<UIKeyBg>20001</UIKeyBg>
<UIKeyFg>20002</UIKeyFg>
<UpdateInterval>5</UpdateInterval>
<Permissions>
<Permission>TotalPlayers</Permission>
<Permission>job.admin</Permission>
<Permission>job.police</Permission>
</Permissions>
</OnlineUIConfiguration>
Configuration Breakdown
UIEffectIdBg/UIEffectIdFg: The Unturned effect IDs for the background and foreground UIs from the workshop mod.UIKeyBg/UIKeyFg: Internal UI keys used to uniquely identify the UI on the player's screen (can be changed if they conflict with another UI plugin).UpdateInterval: How often (in seconds) the plugin will scan players for permission updates. Defaults to5seconds.Permissions: An ordered list mapping to the{0},{1}, and{2}slots in the UI:- Slot 0:
TotalPlayersis a hardcoded keyword that outputs the server capacity format (e.g.10/24). This is not a real permission and does not need to be assigned to anyone! - Slot 1:
job.admincounts how many connected players currently have thejob.adminRocketMod permission. - Slot 2:
job.policecounts how many connected players currently have thejob.policeRocketMod permission.
(Note: You can replacejob.adminorjob.policewith any permission node used on your server)
- Slot 0:
OnlineUI
Required Workshop
Latest Changes
v1.0.0