Giter Site home page Giter Site logo

naathysz / accountdupfinder Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 0.0 1.36 MB

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

C# 100.00%
addon counterstrikesharp cs2 css cssharp metamod plugin

accountdupfinder's Introduction

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}

accountdupfinder's People

Contributors

naathysz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.