Data Storage

How we store our data.

Our data is stored in a database hosted by MongoDB which allows for a large amount of data to be stored for free - 512MB, which is about 2,400,000 moderations worth of storage.


Server Config

Example Server Config
{
    "_id": "884351371095203850", // String - Discord server ID
    
    // Basic Information
    "Name": "Florida State Roleplay", // String
    "Abbreviation": "FSRP", // String
    "Type": "s", // String [s=server,w=whitelisted,d=department,m=mafia]
    
    // Economy
    "Budget": 0, // Integer
    
    // Roles
    "TraineeRoles": [], // Array - Role IDs
    "StaffRoles": [], // Array - Role IDs
    "AdministratorRoles": [], // Array - Role IDs
    "ManagementRoles": [], // Array - Role IDs
    
    // Staff Channels
    "StaffChannel": "887394542549078037", // String - Discord channel ID
    "ManagementChannel": "889327766623895552", // String - Discord channel ID
    "HubLogChannel": "986208568866906122", // String - Discord channel ID
    
    // Moderations
    "ModerationLogChannel": "914740295961284618", // String - Discord channel ID
    "BanRequestLogChannel": "1100868884917129339", // String - Discord channel ID
    
    // Shifts
    "OnDutyRole": "886263808438452235", // String - Discord role ID
    
    // Anti-raid
    "CommandAlerts": true, // Boolean
    "CommandLogChannel": "932425025271771156" // String - Discord channel ID
}

Moderations

Shifts

Ban Request

Last updated