💂
AceGuard
Discord
  • Setup
  • Adding Administrators
  • Utilizing Commands
  • Additional Recommendations
Powered by GitBook
On this page

Adding Administrators

Adding administrators to your server is an important step in ensuring effective management and moderation. Here's how you can add administrators using the provided admin.json file:

1. Open admin.json File: Locate the admin.json file within the script's resources. This file is used to define the list of administrators who will have access to special privileges on your FiveM server.

2. Add Admin Information: Inside the admins array, add a new object for each administrator you want to add. Each object should contain the following information:

  • "name": The name associated with the administrator. This could be their Discord username or any identifier you prefer.

  • "discord": The administrator's Discord ID in the format discord:id. Make sure to include discord: before the actual ID. This ID is used to link the administrator's Discord account to their privileges.

Here's an example:

{
  "admins": [
    {
      "name": "JohnDoe",
      "discord": "discord:123456789012345678"
    },
    {
      "name": "AdminUser",
      "discord": "discord:987654321098765432"
    }
  ]
}

3. Save the File: After adding the necessary administrator information, save the admin.json file.

PreviousSetupNextUtilizing Commands

Last updated 1 year ago