Configuration

Configuration

Framework

The script automatically detects your framework. If this for some reason doesn't work, you can set it manually by changing Config.Framework.

Language

You can set the language by changing Config.Language. To create your own language, copy the locales/en.lua file and change the values.

Job

To change the job required for the app, edit Config.JobName. To change permissions for different grades, edit Config.Permissions.

Logs

To enable logs, set Config.Logs.Enabled to true.

To change the service used for logs, change Config.Logs.Service. By default, fivemanage (opens in a new tab), ox_lib (opens in a new tab) and discord are supported. You can edit this in server/logs.lua.

Discord Notifications

You can enable discord webhooks to send a message whenever a new article is published, or when an article is edited. To do so, change Config.DiscordNotifications. To set your webhook link, do so in server/apiKeys.lua.

App Design

You can change the header of the app by changing Config.Header. You can change the text, color, font-size and optionally set an image. If you use an image, text has to be set to nil.