Core
The CMS core maintains common utility functions and push event handling.
This resource does nothing on its own and is simply a dependency for other resources.
Extracting the folder [sonorancms] into the resources folder.
Open
sonorancms\config.CHANGEME.lua
, update the values, then save it as config.lua
.Default configuration is below:
Config Option | Description |
---|---|
APIKey | API Key found in the API Integration section of the Administrative Panel |
CommID | Community ID found in the API Integration section of the Administrative Panel |
allowAutoUpdate | When enabled, the resource will update itself. When disabled, it will simply show an update notification every 2 hours. |
debug_mode | When set to true , useful debugging information it outputted to the console.
Keep disabled in production due to console spam. |
Add the following to your
server.cfg
It is very important that the sonorancms_updatehelper resource is not started manually. Doing so may cause a server crash if updates are available due to a race condition. DO NOT start the whole [sonorancms] folder as that will also start the sonorancms_updatehelper which might cause crashing if it is started manually. Example of not what to do ensure [sonorancms]
ensure sonorancms
# permissions for SonoranCMS auto-updater (REQUIRED)
add_ace resource.sonorancms command allow
add_ace resource.sonorancms_updatehelper command allow
Sonoran CMS's core will automatically update with the latest features, fixes, and changes!
1. Check to make sure
sonorancms_updatehelper
is not being started in your server.cfg.It is very important that the
sonorancms_updatehelper
resource is not started manually. Doing so may cause a server crash if updates are available due to a race condition.Last modified 1mo ago