mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Resource: add new LiveAPI configuration file
Executed on server launch.
This commit is contained in:
parent
39191f445f
commit
51e4a11bdb
18
r5dev/resource/cfg/liveapi.cfg
Normal file
18
r5dev/resource/cfg/liveapi.cfg
Normal file
@ -0,0 +1,18 @@
|
||||
///////////////// LiveAPI system configuration file.
|
||||
// This file is executed automatically on startup.
|
||||
|
||||
liveapi_enabled "0" // Enable LiveAPI functionality.
|
||||
liveapi_session_name "" // LiveAPI session name to identify this connection.
|
||||
|
||||
liveapi_websocket_enabled "0" // Whether to use WebSocket to transmit LiveAPI events.
|
||||
liveapi_servers "" // Comma separated list of addresses to connect to; format: ws://domain.suffix:port.
|
||||
liveapi_retry_count "5" // Amount of times to retry connecting before marking the connection as unavailable.
|
||||
liveapi_retry_time "30" // Amount of time between each retry.
|
||||
|
||||
liveapi_timeout "300" // WebSocket connection timeout in seconds.
|
||||
liveapi_keepalive "30" // Interval of time to send Pong to any connected server.
|
||||
liveapi_lax_ssl "1" // Skip SSL certificate validation for all WSS connections (allows the use of self-signed certificates).
|
||||
|
||||
liveapi_print_enabled "0" // Whether to enable the printing of all events to a LiveAPI JSON file.
|
||||
liveapi_print_pretty "0" // Whether to print events in a formatted manner to the LiveAPI JSON file.
|
||||
liveapi_print_primitive "0" // Whether to print primitive event fields to the LiveAPI JSON file.
|
Loading…
x
Reference in New Issue
Block a user