Scripts built on Fivemanage's SDK (fmsdk)
Scripts that call exports.fmsdk:Log, Info, Warn, Error or LogMessage keep
working with no edits. Each line goes to the dataset the script names, and
LogMessage goes to default. fmsdk's config.json keeps working.
Their log calls are stored only with fxvault resource 1.1.0 or later, which is the
current download, and a key that can send logs (fxvault:logsKey, else fxvault:key,
with Send logs). An older zip drops the calls. With a Media-only key, each batch is
refused and a red line prints in the console once a minute: give fxvault:logsKey a
key with Send logs, or remove the fmsdk log calls.
- Keep the
config.jsonfrom Fivemanage'sfmsdkfolder, then remove their folder. - Put our
fmsdkfolder, from the fxvault zip, in its place, and put thatconfig.jsonin it. - In
server.cfg:
ensure fxvault
ensure fmsdkFIVEMANAGE_LOGS_API_KEY is no longer read. The key is fxvault:logsKey, else
fxvault:key, with Send logs. See
The fxvault resource for the convars.
Turning an event group on in both fxvault:logs:events and fmsdk's config.json
stores each event twice.
Source: Fivemanage's SDK.
Scripts that call Fivemanage's log API
Change the address and the key.
https://api.fivemanage.com/api → https://api.fxvault.link/api- Sending, with
POST /api/v3/logs,/api/logs/batchand/api/logs, needs a key with Send logs. - Reading, with
GET /api/v3/logsand/api/v3/logs/{traceId}, needs a key with Read logs.
Source: Fivemanage's log API.