Logs admin commands usage in a file and console

Supported Games

Admin Logger logs the usage of almost all default admin commands and stores it in a file. It can also log admin plugins usage (Vanish, AdminRadar etc.). Useful for server owners that want to keep an eye on their admins. Fully customizable through config file. Logs are stored under the oxide/logs/AdminLogger folder.

Configuration

{
  "Log to console (true/false)": true,
  "Update frequency (s)": 5.0,
  "Log filename": "adminlog",
  "Enable Discord Messages (true/false)": true,
  "Discord Messages webhook": "",
  "Exclude List": [
    "76561197960279927",
    "76561197960287930"
  ],
  "Default admin commands": {
    "Admin connections logging (true/false)": true,
    "Noclip logging (true/false)": true,
    "GodMode logging (true/false)": true,
    "Spectate logging (true/false)": true,
    "Kill player logging (true/false)": true,
    "Admin events logging (true/false)": true,
    "Admin event commands": {
      "[Attack Heli] heli.call": true,
      "[Attack Heli] heli.calltome": true,
      "[Attack Heli] drop": true,
      "[Airdrop] supply.call": true,
      "[Airdrop] supply.drop": true
    },
    "Kick logging (true/false)": true,
    "Kick commands": {
      "kick": true,
      "kickall": true
    },
    "Ban logging (true/false)": true,
    "Ban commands": {
      "ban": true,
      "unban": true
    },
    "Mute logging (true/false)": true,
    "Mute commands": {
      "mute": true,
      "unmute": true
    },
    "Entity logging (true/false)": true,
    "Entity commands": {
      "ent kill": true,
      "ent who": true,
      "ent lock": true,
      "ent unlock": true,
      "ent auth": true
    },
    "Teleport logging (true/false)": true,
    "Teleport commands": {
      "teleport": true,
      "teleportpos": true,
      "teleport2me": true
    },
    "Give items logging (true/false)": true,
    "Give commands": {
      "give": true,
      "giveid": true,
      "givearm": true,
      "giveto": true,
      "giveall": true
    },
    "Spawn logging (true/false)": true,
    "Spawn commands": {
      "spawn": true,
      "spawnat": true,
      "spawnhere": true,
      "spawnitem": true
    }
  },
  "Admin plugins": {
    "Vanish logging (true/false)": true,
    "Admin Radar logging (true/false)": true,
    "Night Vision logging (true/false)": true,
    "Convert Status logging (true/false)": true,
    "Inventory Viewer logging (true/false)": true,
    "Backpacks logging (true/false)": true,
    "Freeze logging (true/false)": true,
    "Freeze commands": {
      "freeze": true,
      "unfreeze": true,
      "freezeall": true,
      "unfreezeall": true
    },
    "Player Administration logging (true/false)": true,
    "Player Administration commands": {
      "OpenPadminCmd": true,
      "ClosePadminCmd": true,
      "BanUserCmd": true,
      "UnbanUserCmd": true,
      "KickUserCmd": true,
      "MuteUserCmd": true,
      "UnmuteUserCmd": true,
      "FreezeCmd": true,
      "UnreezeCmd": true,
      "BackpackViewCmd": true,
      "InventoryViewCmd": true,
      "ClearUserInventoryCmd": true,
      "ResetUserBPCmd": true,
      "ResetUserMetabolismCmd": true,
      "RecoverUserMetabolismCmd": true,
      "TeleportToUserCmd": true,
      "TeleportUserCmd": true,
      "SpectateUserCmd": true,
      "PermsCmd": true,
      "HurtUserCmd": true,
      "KillUserCmd": true,
      "HealUserCmd": true
    }
  }
}

Localization

MIT License

Copyright (c) 2021 1AK1

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.