---
description: >-
  This page explains how to setup your admins and all the configuration setups!
  Its very easy to use and simple to add more!
---

# Admin Setup

## Learning How To Add&#x20;

### Adding Admin Groups

Adding admin groups is very simple and just requires some creativity for the name and some good copy and pasting skills! You can create as many groups as you please but each group must have all the values.&#x20;

Example of what a admin group must have (true/false can be changed)

{% code title="admingroups.lua" %}
```lua
AdminGroups = {
    ["Owner"] = {
        AllPermissions = true,
        AdminChat = true,
        Reports = true,
        AdminSits = false,
        NoClip = false,

        Commands = {
            Goto = true,
            Bring = true,
            Freeze = true
        },

        OnlinePlayers = {
            Framework = {
                Revive = true,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false,
                ForceSkin = false,
                SetJob = false,
                OpenInventory = false
            },
            Heal = false,
            Hurt = false,
            Teleport = true,
            Freeze = false,
            Ragdoll = false,
            Message = true,
            Spectate = false,
            Screenshot = true,
            Mute = true,
            ScrnEffects = false,
            Warn = true,
            Kick = true,
            Ban = false,
            History = true,
            SpawnVehicle = false
        },
        CachedPlayers = {
            SeeIdentifiers = true,
            ReasonForLeave = true,
            Ban = false
        },
        SelfOptions = {
            Framework = {
                Revive = false,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false
            },
            AdminTag = false,
            Heal = false,
            Armor = false,
            Godmode = false,
            Invisible = false,
            NRagdoll = false,
            UnlimitedStam = false,
            FastRun = false,
            CDClothes = false,
            CPed = false,
            Suicide = false
        },
        VehicleOptions = {
            Framework = {
               GiveVehicle = false 
            },
            SpawnCar = false,
            DeleteCar = true,
            CleanCar = false,
            RepairCar = false,
            DoorControls = false,
            Colors = false,
            LicensePlate = false,
            VehGodmode = false,
            TorqueMod = false
        },
        DevOptions = {
            Coords = false,
            TP2Waypoint = false,
            Resources = false,
            Interior = false,
            Dimensions = false,
            DeleteGun = false
        },
        ServerOptions = {
            Framework = {
                ReviveAll = false,
                GiveItemAll = false,
                GiveMoneyAll = false
            },
            Announcement = false,
            HealAll = false,
            KickAll = false,
            UnBan = true,
            Wipes = true,
            Weather = false,
            PDensity = false,
            Backups = true
        },
        OACPlugins = {
            BanPlayer = true,
            KickPlayer = true
        },
        MiscOptions = {
            Minimap = true,
            TpLocations = true,
            ShowAllGhostUsers = true
        }
    }
}
```
{% endcode %}

### Adding Admins To A Group

Even though you created a group in the admin groups you need to add the same group inside of the admins file! This is so you can set your wonderful staff to their right roles! Please note this is a json file so you will have to follow json format!\
\
The admin system supports the following below:\
\- Discord ID | ex: **discord:267181487328067585**\
\- Game License | ex: **license:b57267ca8ac5ee2e6218821d610f9aa9ff30a1c2**\
\- Steam Hex | ex: **steam:11000010ed87479**\
\- Live ID | ex: **live:985153924654637**\
\- Xbox Live | ex: **xbl:2535467967978841**\
\- Ip | ex: **ip:240.121.222.0**\
\
Example Below

{% code title="admins.json" %}
```json
    "Admins": {
        "Owner": {
            "Hobo": "discord:267181487328067585"
        }
    },
```
{% endcode %}

Example of discord id roles

{% code title="admins.json" %}
```json
    "AdminsWDiscordRoles": {
        "Enabled": true,
        "Roles": [
            {"Rank": "Owner", "DID": "890017006932361277"}
        ]
    },
```
{% endcode %}

## Examples Of Multiples

### Multiple Admin Groups

This is an example of multiple groups to better help you understand adding more!

{% code title="admingroups.lua" %}
```lua
AdminGroups = {
    ["Owner"] = {
        AllPermissions = true,
        AdminChat = true,
        Reports = true,
        AdminSits = false,
        NoClip = false,

        Commands = {
            Goto = true,
            Bring = true,
            Freeze = true
        },

        OnlinePlayers = {
            Framework = {
                Revive = true,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false,
                ForceSkin = false,
                SetJob = false,
                OpenInventory = false
            },
            Heal = false,
            Hurt = false,
            Teleport = true,
            Freeze = false,
            Ragdoll = false,
            Message = true,
            Spectate = false,
            Screenshot = true,
            Mute = true,
            ScrnEffects = false,
            Warn = true,
            Kick = true,
            Ban = false,
            History = true,
            SpawnVehicle = false
        },
        CachedPlayers = {
            SeeIdentifiers = true,
            ReasonForLeave = true,
            Ban = false
        },
        SelfOptions = {
            Framework = {
                Revive = false,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false
            },
            AdminTag = false,
            Heal = false,
            Armor = false,
            Godmode = false,
            Invisible = false,
            NRagdoll = false,
            UnlimitedStam = false,
            FastRun = false,
            CDClothes = false,
            CPed = false,
            Suicide = false
        },
        VehicleOptions = {
            Framework = {
               GiveVehicle = false 
            },
            SpawnCar = false,
            DeleteCar = true,
            CleanCar = false,
            RepairCar = false,
            DoorControls = false,
            Colors = false,
            LicensePlate = false,
            VehGodmode = false,
            TorqueMod = false
        },
        DevOptions = {
            Coords = false,
            TP2Waypoint = false,
            Resources = false,
            Interior = false,
            Dimensions = false,
            DeleteGun = false
        },
        ServerOptions = {
            Framework = {
                ReviveAll = false,
                GiveItemAll = false,
                GiveMoneyAll = false
            },
            Announcement = false,
            HealAll = false,
            KickAll = false,
            UnBan = true,
            Wipes = true,
            Weather = false,
            PDensity = false,
            Backups = true
        },
        OACPlugins = {
            BanPlayer = true,
            KickPlayer = true
        },
        MiscOptions = {
            Minimap = true,
            TpLocations = true,
            ShowAllGhostUsers = true
        }
    },
    ["Dev"] = {
        AllPermissions = true,
        AdminChat = true,
        Reports = true,
        AdminSits = false,
        NoClip = false,

        Commands = {
            Goto = true,
            Bring = true,
            Freeze = true
        },

        OnlinePlayers = {
            Framework = {
                Revive = true,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false,
                ForceSkin = false,
                SetJob = false,
                OpenInventory = false
            },
            Heal = false,
            Hurt = false,
            Teleport = true,
            Freeze = false,
            Ragdoll = false,
            Message = true,
            Spectate = false,
            Screenshot = true,
            Mute = true,
            ScrnEffects = false,
            Warn = true,
            Kick = true,
            Ban = false,
            History = true,
            SpawnVehicle = false
        },
        CachedPlayers = {
            SeeIdentifiers = true,
            ReasonForLeave = true,
            Ban = false
        },
        SelfOptions = {
            Framework = {
                Revive = false,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false
            },
            AdminTag = false,
            Heal = false,
            Armor = false,
            Godmode = false,
            Invisible = false,
            NRagdoll = false,
            UnlimitedStam = false,
            FastRun = false,
            CDClothes = false,
            CPed = false,
            Suicide = false
        },
        VehicleOptions = {
            Framework = {
               GiveVehicle = false 
            },
            SpawnCar = false,
            DeleteCar = true,
            CleanCar = false,
            RepairCar = false,
            DoorControls = false,
            Colors = false,
            LicensePlate = false,
            VehGodmode = false,
            TorqueMod = false
        },
        DevOptions = {
            Coords = false,
            TP2Waypoint = false,
            Resources = false,
            Interior = false,
            Dimensions = false,
            DeleteGun = false
        },
        ServerOptions = {
            Framework = {
                ReviveAll = false,
                GiveItemAll = false,
                GiveMoneyAll = false
            },
            Announcement = false,
            HealAll = false,
            KickAll = false,
            UnBan = true,
            Wipes = true,
            Weather = false,
            PDensity = false,
            Backups = true
        },
        OACPlugins = {
            BanPlayer = true,
            KickPlayer = true
        },
        MiscOptions = {
            Minimap = true,
            TpLocations = true,
            ShowAllGhostUsers = true
        }
    },
    ["SuperAdmin"] = {
        AllPermissions = true,
        AdminChat = true,
        Reports = true,
        AdminSits = false,
        NoClip = false,

        Commands = {
            Goto = true,
            Bring = true,
            Freeze = true
        },

        OnlinePlayers = {
            Framework = {
                Revive = true,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false,
                ForceSkin = false,
                SetJob = false,
                OpenInventory = false
            },
            Heal = false,
            Hurt = false,
            Teleport = true,
            Freeze = false,
            Ragdoll = false,
            Message = true,
            Spectate = false,
            Screenshot = true,
            Mute = true,
            ScrnEffects = false,
            Warn = true,
            Kick = true,
            Ban = false,
            History = true,
            SpawnVehicle = false
        },
        CachedPlayers = {
            SeeIdentifiers = true,
            ReasonForLeave = true,
            Ban = false
        },
        SelfOptions = {
            Framework = {
                Revive = false,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false
            },
            AdminTag = false,
            Heal = false,
            Armor = false,
            Godmode = false,
            Invisible = false,
            NRagdoll = false,
            UnlimitedStam = false,
            FastRun = false,
            CDClothes = false,
            CPed = false,
            Suicide = false
        },
        VehicleOptions = {
            Framework = {
               GiveVehicle = false 
            },
            SpawnCar = false,
            DeleteCar = true,
            CleanCar = false,
            RepairCar = false,
            DoorControls = false,
            Colors = false,
            LicensePlate = false,
            VehGodmode = false,
            TorqueMod = false
        },
        DevOptions = {
            Coords = false,
            TP2Waypoint = false,
            Resources = false,
            Interior = false,
            Dimensions = false,
            DeleteGun = false
        },
        ServerOptions = {
            Framework = {
                ReviveAll = false,
                GiveItemAll = false,
                GiveMoneyAll = false
            },
            Announcement = false,
            HealAll = false,
            KickAll = false,
            UnBan = true,
            Wipes = true,
            Weather = false,
            PDensity = false,
            Backups = true
        },
        OACPlugins = {
            BanPlayer = true,
            KickPlayer = true
        },
        MiscOptions = {
            Minimap = true,
            TpLocations = true,
            ShowAllGhostUsers = true
        }
    },
    ["SuperAdmin"] = {
        AllPermissions = true,
        AdminChat = true,
        Reports = true,
        AdminSits = false,
        NoClip = false,

        Commands = {
            Goto = true,
            Bring = true,
            Freeze = true
        },

        OnlinePlayers = {
            Framework = {
                Revive = true,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false,
                ForceSkin = false,
                SetJob = false,
                OpenInventory = false
            },
            Heal = false,
            Hurt = false,
            Teleport = true,
            Freeze = false,
            Ragdoll = false,
            Message = true,
            Spectate = false,
            Screenshot = true,
            Mute = true,
            ScrnEffects = false,
            Warn = true,
            Kick = true,
            Ban = false,
            History = true,
            SpawnVehicle = false
        },
        CachedPlayers = {
            SeeIdentifiers = true,
            ReasonForLeave = true,
            Ban = false
        },
        SelfOptions = {
            Framework = {
                Revive = false,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false
            },
            AdminTag = false,
            Heal = false,
            Armor = false,
            Godmode = false,
            Invisible = false,
            NRagdoll = false,
            UnlimitedStam = false,
            FastRun = false,
            CDClothes = false,
            CPed = false,
            Suicide = false
        },
        VehicleOptions = {
            Framework = {
               GiveVehicle = false 
            },
            SpawnCar = false,
            DeleteCar = true,
            CleanCar = false,
            RepairCar = false,
            DoorControls = false,
            Colors = false,
            LicensePlate = false,
            VehGodmode = false,
            TorqueMod = false
        },
        DevOptions = {
            Coords = false,
            TP2Waypoint = false,
            Resources = false,
            Interior = false,
            Dimensions = false,
            DeleteGun = false
        },
        ServerOptions = {
            Framework = {
                ReviveAll = false,
                GiveItemAll = false,
                GiveMoneyAll = false
            },
            Announcement = false,
            HealAll = false,
            KickAll = false,
            UnBan = true,
            Wipes = true,
            Weather = false,
            PDensity = false,
            Backups = true
        },
        OACPlugins = {
            BanPlayer = true,
            KickPlayer = true
        },
        MiscOptions = {
            Minimap = true,
            TpLocations = true,
            ShowAllGhostUsers = true
        }
    },
    ["Admin"] = {
        AllPermissions = false,
        AdminChat = true,
        Reports = true,
        AdminSits = true,
        NoClip = true,

        Commands = {
            Goto = true,
            Bring = true,
            Freeze = true
        },

        OnlinePlayers = {
            Framework = {
                Revive = true,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = true,
                ForceSkin = true,
                SetJob = true,
                OpenInventory = true
            },
            Heal = true,
            Hurt = true,
            Teleport = true,
            Freeze = true,
            Ragdoll = true,
            Message = true,
            Spectate = true,
            Screenshot = true,
            Mute = true,
            ScrnEffects = true,
            Warn = true,
            Kick = true,
            Ban = true,
            History = true,
            SpawnVehicle = true
        },
        CachedPlayers = {
            SeeIdentifiers = true,
            ReasonForLeave = true,
            Ban = true
        },
        SelfOptions = {
            Framework = {
                Revive = true,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false
            },
            AdminTag = true,
            Heal = true,
            Armor = false,
            Godmode = false,
            Invisible = true,
            NRagdoll = true,
            UnlimitedStam = false,
            FastRun = false,
            CDClothes = false,
            CPed = false,
            Suicide = true
        },
        VehicleOptions = {
            Framework = {
               GiveVehicle = false 
            },
            SpawnCar = true,
            DeleteCar = true,
            CleanCar = true,
            RepairCar = true,
            DoorControls = true,
            Colors = true,
            LicensePlate = true,
            VehGodmode = false,
            TorqueMod = false
        },
        DevOptions = {
            Coords = true,
            TP2Waypoint = true,
            Resources = false,
            Interior = false,
            Dimensions = false,
            DeleteGun = false
        },
        ServerOptions = {
            Framework = {
                ReviveAll = true,
                GiveItemAll = false,
                GiveMoneyAll = false
            },
            Announcement = true,
            HealAll = true,
            KickAll = false,
            UnBan = false,
            Wipes = true,
            Weather = false,
            PDensity = false,
            Backups = true
        },
        OACPlugins = {
            BanPlayer = false,
            KickPlayer = true
        },
        MiscOptions = {
            Minimap = true,
            TpLocations = true,
            ShowAllGhostUsers = true
        }
    },
    ["Mod"] = {
        AllPermissions = false,
        AdminChat = true,
        Reports = true,
        AdminSits = true,
        NoClip = true,

        Commands = {
            Goto = true,
            Bring = true,
            Freeze = true
        },

        OnlinePlayers = {
            Framework = {
                Revive = true,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false,
                ForceSkin = true,
                SetJob = false,
                OpenInventory = true
            },
            Heal = true,
            Hurt = true,
            Teleport = true,
            Freeze = true,
            Ragdoll = true,
            Message = true,
            Spectate = true,
            Screenshot = true,
            Mute = true,
            ScrnEffects = true,
            Warn = true,
            Kick = true,
            Ban = false,
            History = true,
            SpawnVehicle = false
        },
        CachedPlayers = {
            SeeIdentifiers = true,
            ReasonForLeave = true,
            Ban = false
        },
        SelfOptions = {
            Framework = {
                Revive = true,
                GiveItem = false,
                TakeItem = false,
                GiveMoney = false,
                TakeMoney = false
            },
            AdminTag = false,
            Heal = true,
            Armor = false,
            Godmode = false,
            Invisible = true,
            NRagdoll = true,
            UnlimitedStam = false,
            FastRun = false,
            CDClothes = false,
            CPed = false,
            Suicide = true
        },
        VehicleOptions = {
            Framework = {
               GiveVehicle = false 
            },
            SpawnCar = false,
            DeleteCar = false,
            CleanCar = false,
            RepairCar = false,
            DoorControls = false,
            Colors = false,
            LicensePlate = false,
            VehGodmode = false,
            TorqueMod = false
        },
        DevOptions = {
            Coords = true,
            TP2Waypoint = true,
            Resources = false,
            Interior = false,
            Dimensions = false,
            DeleteGun = false
        },
        ServerOptions = {
            Framework = {
                ReviveAll = false,
                GiveItemAll = false,
                GiveMoneyAll = false
            },
            Announcement = true,
            HealAll = true,
            KickAll = false,
            UnBan = false,
            Wipes = false,
            Weather = false,
            PDensity = false,
            Backups = false
        },
        OACPlugins = {
            BanPlayer = false,
            KickPlayer = true
        },
        MiscOptions = {
            Minimap = false,
            TpLocations = true,
            ShowAllGhostUsers = true
        }
    }
}
```
{% endcode %}

### Multiple Admins

This is an example of how you could set up the admins for the example above. Below shows with discord role ids or with regular perms!\
\
Regular Method

{% code title="admins.json" %}
```json
    "Admins": {
        "Owner": {
            "Hobo": "discord:267181487328067585",
            "Tom": "discord:267181487325567585"
        },
        "Admin": {
            "Miller": "discord:376133235203244054"
        },
        "Mod": {
            "Jake": "discord:543821280743522304"
        }
    },
```
{% endcode %}

Discord Role Id Method

{% code title="admins.json" %}
```json
    "AdminsWDiscordRoles": {
        "Enabled": true,
        "Roles": [
            {"Rank": "Owner", "DID": "890017006932361277"},
            {"Rank": "Admin", "DID": "892998910405128276"},
            {"Rank": "Mod", "DID": "892998910396760072"}
        ]
    },
```
{% endcode %}

