📝Settings

Our Tip: Our product handles servers with hundreds of members, roles and configuration. We recommend sorting the permissions into an organized system.

The configuration file is below, you require entering your Guild ID (Server ID). Including your discord bot token and disabling Beta.

{
    "GuildID": "Set-Discord-Guild-ID-Here",
    "BotToken": "Set-Discord-Token-Here",
    "Beta": "true",
    "AceGroups": {
        "Group-Name": [
            "Set-Discord-Role-ID-Here",
            "Set-Discord-Role-ID-Here",
            "Set-Discord-Role-ID-Here"
        ]
    },
    
    "AcePermissions": {
      "Discord-ID": [
          "Ace-Permission-Here"
      ]
    },

    "ActiveDebug": true,

    "BetaSettings": {
      "discordWhitelist": true,
      "discordWhitelistRole": "Change-Me",
      "enableChatRoles": true,
      "enableIDTags": true,
      "enableWeaponPerms": true,
      "enableVehiclePerms": true,
      "BadgerReplacement": true
    }
}

What are Ace Groups?

We've decided to go with this simple organizing system, an Ace Group is a group which is given to discord roles to work with your original system of permissions. We do not have any support for adding permissions to groups at the moment.

Below you will find a working example:

  "AceGroups": {
    "Group-ID": ["805245688514478084"],
    "Group-ID2": ["805245688514478084"],
    "Group-ID3": ["805245688514478084"],
    "Group-ID4": ["805245688514478084"],
    "Group-ID5": ["805245688514478084"]
  },

Following the above, This would be giving the following role:

805245688514478084

The groups of the Group-ID to Group-ID5


What are Ace Permissions?

We've decided to go with this simple organizing system, an Ace Permission is adding the discord role id with all the ace permissions. This will add all the ace permissions to the discord role id. We do not currently support adding all these permissions to normal ace groups, in the next update we will.

Below you will find a working example:

    "805245688514478084": [
      "ocrp-spawner.spawn-vehicle",
      "police.onDuty",
      "duty.police",
      "duty.ems",
      "duty.mechanic",
      "duty.weazel",
      "command.lspd",
      "command.bcso",
      "command.sahp",
      "command.sast",
      "command.sadot",
      "command.usm",
      "command.fbi",
      "command.safr",
      "command.pubcop"
    ]

Following the above, This would be giving the following role:

805245688514478084

The following ace permissions:

      "ocrp-spawner.spawn-vehicle",
      "police.onDuty",
      "duty.police",
      "duty.ems",
      "duty.mechanic",
      "duty.weazel",
      "command.lspd",
      "command.bcso",
      "command.sahp",
      "command.sast",
      "command.sadot",
      "command.usm",
      "command.fbi",
      "command.safr",
      "command.pubcop"

Last updated