For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

1

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.

2

Add the resource

Download rm_watch from the Cfx Portal, unzip it and put the folder in your resources directory:

  • rm_watch

3

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 allow

Replace 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.

4

Database

Nothing to import. On the first start rm_watch creates its tables (all named rm_watch_...) and adds any missing column on later updates.

5

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.

6

First start

Restart the server and read the console:

Console line
Meaning

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.

7

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