Skip to content

Cave System Config API

james edited this page Nov 5, 2017 · 1 revision

These methods are part of the cave JavaScript API, they provide access to System Settings information such as region and language.

Methods

cfg_getCountry

cfg_getCountryName

cfg_getRegionCodeA3

  • Returns: {String}

  • Usage:

    Get the user's 3-letter region code.

cfg_getCountryCodeA2

cfg_getLanguageCodeA2