Skip to main content

config.lua

File: fivemora-core/config.lua

Fields

Runtime behavior

  • Logs are sent to https://api.fivemora.com/logs.
  • Log queue batches up to 10 entries per request.
  • Queue flush interval is 5000ms.

Auth headers sent by core

Every request from core includes:
  • x-api-key: Config.FiveMAuthKey
  • x-server-id: Config.ServerUniqueId

Local API authentication

fivemora-core also exposes local HTTP endpoints (via SetHttpHandler). Incoming local requests are authenticated with:

Security notes

  • Never share your auth key publicly.
  • Rotate the key if leaked.
  • Keep config.lua out of public commits in private deployments.