Sending In Game Player Reports to a Discord Channel - Alderon-Games/pot-community-servers GitHub Wiki

[!CAUTION] We have moved our documentation to a new location! Please visit In-Game Player Reports for the most up-to-date information for this page.

If your community server has a big Discord community, it may be useful to have player reports sent directly to your Discord server. This way you can have moderators or admins easily access all reports at a glance.

Editing the Game.ini

Important Note: The server must be stopped while editing server files. You must save your edits and restart your server for any edits to take effect.

To setup In-Game Player reports, you must edit the Game.ini file.

Path: Config/WindowsServer/Game.ini

Underneath the [ServerWebhooks] header, create an entry PlayerReport="https://discord-webhook-url-here/"

Example Game.ini

[ServerWebhooks]
bEnabled=true
Format="Discord"
PlayerReport="https://discord-webhook-url-here/"

Creating Discord Webhooks

You can create a Discord webhook for your Discord channel by following these steps:

  1. Go into your desired channel settings and select "Integrations"
  2. Create a new webhook.
  3. Copy the webhook URL and paste it into your Game.ini file.

In-Game Player Reports

When on a community server, player reports will not be sent to Alderon Games, and will instead be sent to the community server admins. When in-game, players can press the "P" button to bring up the Player Report feature. They can choose the report type and enter more information about their report. We suggest you encourage your players to use the in-game report feature, as it will automatically grab important information like Alderon Game IDs and map locations.