Multicharacter
Logs
config/integrations.lua - character action logs to Discord, Fivemanage, or a custom API.
Config.Logs = { enabled = true, provider = 'none', events = { create = true, delete = true, select = true, forceDelete = true, setSlots = true, lockChar = true, unlockChar = true, security = true, }, discord = { webhookUrl = '', username = '', avatarUrl = '', }, fivemanage = { apiKey = '', }, custom = { url = '', headers = {}, },}Options
| Option | Description |
|---|---|
enabled | Enables logging. |
provider | 'discord', 'fivemanage', 'custom', or 'none'. Only that block is read. |
events | Which events to log. |
Events
| Event | When |
|---|---|
create | A player created a character |
delete | A player deleted a character |
select | A player selected a character |
forceDelete | An admin deleted a character with a command |
setSlots | An admin changed slots |
lockChar | An admin locked a character |
unlockChar | An admin unlocked a character |
security | A player was kicked for rejected requests |
Providers
provider = 'discord',discord = { webhookUrl = 'https://discord.com/api/webhooks/...', username = 'Characters', avatarUrl = '',},Create a webhook in the channel settings: Integrations - Webhooks - New Webhook - Copy Webhook URL. Each event has its own embed color.
provider = 'fivemanage',fivemanage = { apiKey = 'YOUR_KEY',},Use the project key from fivemanage.com (opens in a new tab).
provider = 'custom',custom = { url = 'https://your-site.com/api/logs', headers = { ['Authorization'] = 'Bearer TOKEN', },},The resource sends a POST with JSON:
{ "event": "create", "title": "Character created", "data": { "citizenid": "AB12CD34" }, "timestamp": "2026-10-08T12:00:00Z"}