Go to file
2022-08-20 15:27:52 -04:00
lua improve configuration loading 2022-08-20 15:27:52 -04:00
LICENSE Initial commit 2020-10-13 18:03:32 -04:00
README.md improve configuration loading 2022-08-20 15:27:52 -04:00

cfc_cl_http_whitelist

Configuring

Configuration is loaded from lua files in files in the data folder on the client Each config thats loaded will overwrite values in the previous config, unless permanent=true is set on that config option

Configuration load order on client

  • lua/cfc_http_retrictions/default_config.lua
  • lua/cfc_http_restrictions/configs/*.lua
  • data/cfc_cl_http_whitelist_config.json

Configuration options

name type description
noisy bool mark the domain as noisy, hiding it from logs, this can be used for internal domains that will be called frequently on the client
allowed bool Is the domain allowed, if false block the domain, if true allow the domain
permanent bool Is the domain permanent, if true the domain can not be removed by the users own config
_edited bool DO NOT SET, internal field used to track if a config option has been edited by the client