Player Report allows players to easily report a player after they kill them with GUI buttons on the death screen.

Dependencies

Optional

  • Discord Messages -- Enables Discord notifications; make sure to add webhook URL to config

Required

  • Ticket System -- Used to report the player; can also be used for Slack notifications

Permissions

  • playerreport.use -- Allows player to use the GUI and reporting
  • playerreport.block -- Prevents player from using the GUI and reporting

Configuration

copy
            {
  "Button 1": {
    "Button 1 AnchorMax": "0.25 0.75",
    "Button 1 AnchorMin": "0 0.283",
    "Button 1 Color": "0.41 0.5 0.25 1",
    "Button 1 Enabled": true
  },
  "Button 2": {
    "Button 2 AnchorMax": "0.625 0.75",
    "Button 2 AnchorMin": "0.375 0.283",
    "Button 2 Color": "0.12 0.38 0.57 1",
    "Button 2 Enabled": true
  },
  "Button 3": {
    "Button 3 AnchorMax": "1 0.75",
    "Button 3 AnchorMin": "0.75 0.283",
    "Button 3 Color": "0.57 0.21 0.11 1",
    "Button 3 Enabled": true
  },
  "Settings": {
    "Discord Webhook URL": "DISCORD WEBHOOK URL",
    "Enable @here Message in Discord": true,
    "Enable DiscordMessages": true,
    "Enable Ticket Reports": true,
    "GUI Cooldown": 50.0,
    "Reports needed to send a Report": 1,
    "Your servername (for discord messages)": "Servername"
  }
}

          

Stored Data

This plugin stores data in the oxide/data/PlayerReport.json file. Deleting this file would cause any stored reports from players to be wiped.

Localization

The default messages are in the PlayerReport.json file under the oxide/lang/en directory. To add support for another language, create a new language folder (ex. de for German) if not already created, copy the default language file to the new folder, and then customize the messages.

  • {0} = SteamID from the Killer
  • {1} = Distance
  • {2} = Name of the Killer

Credits

  • Thanks to Ryan, redBDGR, and Kappasaurus for helping me out in every possible way