Hides the original identity of admins by masking their steam profiles

Supported Games
GameServerKingsGameServerKings
works with

Hides the original identity of admins by masking their steam profiles, ensuring an absolute deep cover experience in game chat, death screens, combat logs, steam players list and even when being offline.

Demo

Permissions

  • admindeepcover.use -- Allows using chat commands

Chat Commands

  • /deepcover -- Become hidden and deep covered
  • /deepcover <Profile> -- Picks a fake identity using its profile number

Configuration

{
  "Change Identity In Order": true,
  "Remain Deep Covered After Reconnect": true,
  "Remain Deep Covered In Team Chat": false,
  "Remove Admin Flag When Deep Covered": false,
  "Discord - Enabled": true,
  "Discord - Webhook URL": null,
  "Discord - Embed Color": "#2F3136",
  "Discord - Message": "Admin Deep Cover",
  "Discord - Embed - Description": "{0} {1} has become deep covered\n\nIdentity Used\n{2} {3}\n\nLocation\n{4}",
  "Discord - Roles To Mention": [],
  "Fake Identities": [
    {
      "Profile": 1,
      "Name": "garry",
      "UserId": 76561197960279927,
      "Better Chat Group": "default",
      "Required Permission": "admindeepcover.use"
    },
    {
      "Profile": 2,
      "Name": "Alistair",
      "UserId": 76561198240345356,
      "Better Chat Group": "default",
      "Required Permission": "admindeepcover.use"
    },
    {
      "Profile": 3,
      "Name": "Helk",
      "UserId": 76561197992746895,
      "Better Chat Group": "default",
      "Required Permission": "admindeepcover.use"
    },
    {
      "Profile": 4,
      "Name": "Holmzy",
      "UserId": 76561198002789398,
      "Better Chat Group": "default",
      "Required Permission": "admindeepcover.use"
    }
  ]
}

Fake Identities

You can have as many fake identities as you want by duplicating this config and giving it a new profile number.

    {
      "Profile": 4,
      "Name": "Holmzy",
      "UserId": 76561198002789398,
      "Better Chat Group": "default",
      "Required Permission": "admindeepcover.use"
    }

Reservation System

When having the config "Remain Deep Covered After Reconnect" enabled, used fake identities by admins will be reserved after they disconnect, unless these identities are used by others.

Localization

{
  "No Permission": "<size=12>You don't have permission to use this command</size>",
  "Deep Cover Enabled": "<size=12>Admin deep cover has been <color=#00fa9a>Enabled</color></size>",
  "Deep Cover Disabled": "<size=12>Admin deep cover has been <color=#00fa9a>Disabled</color></size>",
  "Deep Cover Changed": "<size=12>Fake identity has changed to <color=#00fa9a>{0}</color></size>",
  "Requested Fake Identify Not Found": "<size=12>Requested fake identity is not found</size>",
  "No Fake Identities Available": "<size=12>No fake identities available</size></size>",
  "Fake Identify Not Found": "<size=12>Fake identity is not found</size>",
  "Data Corrupted Up": "<size=12>Data is corrupt</size>"
}

Data

The plugin stores data of deep covered admins under oxide/data/AdminDeepCover.json to prevent any potential data loss.

{
  "PlayerData": {
    "76561198840242413": {
      "IsEnabled": true,
      "IsRemoved": false,
      "WasAdmin": true,
      "Groups": [
        "default",
        "admin"
      ],
      "RestoreName": "Dana",
      "RestoreUserId": 76561198840242413,
      "Profile": 1,
      "Name": "garry",
      "UserId": 76561197960279927,
      "Better Chat Group": "NPC"
    }
  }
}

API

private bool API_IsDeepCovered(BasePlayer player)

Credit

Tricky, the previous maintainer of rewrite version 2.0.0 to 2.0.4
TheBandolero, the original author of version 1.0.0

MIT License


Copyright (c) 2020 Dana


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.