GUI reporting for players after being killed

Supported Games
depends on

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

Permissions

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

Configuration

{
  "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 data/PlayerReport.json file. Deleting this file would cause any stored reports from players to be wiped.

Localization

  • {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

MIT License


Copyright (c) 2019 Hoppel


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.