Skip to content

This plugin helps administrators identify duplicate accounts by monitoring player connections and sending notifications via Discord webhook.

Notifications You must be signed in to change notification settings

NaathySz/AccountDupFinder

Repository files navigation

AccountDupFinder

This plugin helps administrators identify duplicate accounts by monitoring player connections and sending notifications via Discord webhook.

Config

The config is located at the same place that dll is.

{
  "DatabaseHost": "localhost",
  "DatabasePort": "3306",
  "DatabaseUser": "your_username",
  "DatabasePassword": "your_password",
  "DatabaseName": "your_database_name",
  "DatabaseTableName": "player_data",
  "DiscordWebhookUrl": "https://discord.com/api/webhooks/xxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxx",
  "EmbedTitle": "Duplicate Account Detected!",
  "EmbedColor": 16711680,
  "PlayerFieldName": "Player Name",
  "IPAddressFieldName": "IP Address",
  "CurrentAccountFieldName": "Current Account",
  "AltAccountFieldName": "Alternate Account",
  "VpnEmbedTitle": "VPN Suspect!",
  "VpnEmbedColor": 16776960,
  "VpnAccountFieldName": "Account URL",
  "VpnNoteFieldName": "Warning",
  "VpnNoteFieldValue": "This player is suspected of using a VPN!"
  "VPNEnabled": true,
  "VpnNotificationMessage": "{blue}[AccountDupFinder] {white}Suspected VPN activity by player {red}{playerName} {white}(SteamID: {red}{steamId}{white}, IP: {red}{ipAddress})",
  "DuplicateAccountNotificationMessage": "{blue}[AccountDupFinder] {white}Player {red}{playerName} {white}(SteamID: {red}{steamId}{white}, IP: {red}{ipAddress}{white}) has connected with a duplicate account! Existing SteamID: {red}{DupSteamId}",
  "FlagToNotify": "@css/generic",
  "CacheTimeInMinutes": 5,
  "WhitelistIPs": [
    "192.168.0.1",
    "192.168.1.1"
    ],
  "WhitelistSteamIDs": [
    "76561198939064419"
  ]
}

Preview

Discord messages:

image

image

In-game messages:

image

image

Available colors

{default}
{white}
{darkred}
{green}
{lightyellow}
{lightblue}
{olive}
{lime}
{red}
{lightpurple}
{purple}
{grey}
{yellow}
{gold}
{silver}
{blue}
{darkblue}
{bluegrey}
{magenta}
{lightred}
{orange}

ko-fi

About

This plugin helps administrators identify duplicate accounts by monitoring player connections and sending notifications via Discord webhook.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages