Installation
Install the dependencies
Make sure everything under Required on the Requirements page is installed and starts before rm_watch: ox_lib, oxmysql, your framework, and your inventory and voice scripts if you run them.
Add the resource
Download rm_watch from the Cfx Portal, unzip it and put the folder in your resources directory:
rm_watch
Add it to server.cfg
Below its dependencies, with the key and the ace lines:
ensure ox_lib
ensure oxmysql
ensure qbx_core # your framework, inventory and voice scripts first
ensure pma-voice
ensure screenshot-basic # optional
set rm_watch_key "rmw_..." # your licence key, see Linking the web panel
ensure rm_watch
# you, as owner
add_ace group.rm_watch_owner rm_watch.owner allow
add_principal identifier.license:YOUR_LICENSE group.rm_watch_owner
# dashboard: per resource profiling and the server restart
add_ace resource.rm_watch command.profiler allow
add_ace resource.rm_watch command.quit allowReplace YOUR_LICENSE with your own license identifier (txAdmin shows it on your player card). Any identifier works as the principal: license:, discord:, steam:, fivem:.
Every line of this block is explained on server.cfg lines.
Check the bridges
The defaults in cfg.lua detect your framework, inventory, keys, medical, clothing and weather scripts. Most servers change nothing. If you run a script under another name, set it by hand in cfg.bridge, see Bridges.
First start
Restart the server and read the console:
Connected to fivemad.com/watch.
The key works and the web panel is live.
rm_watch_key is not set, so the live map is off.
No key yet. Everything in game still works.
fivemad refused the rm_watch_key
The key is wrong. Copy it again from fivemad.com/watch.
Join the server and press F6, or type /watch. The menu opens and shows your role as Owner.
Optional: Discord logs
Staff actions can go to Discord channels. Paste your webhook URLs in server/discord_log.lua (never in cfg.lua, which every player downloads). See server.cfg lines.
Next
Roles and groups: give your staff their roles.