AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] No Dupe Account (1.5.2, 2023-03-02) (https://forums.alliedmods.net/showthread.php?t=330779)

azalty 02-20-2021 16:14

[CS:GO] No Dupe Account (1.5.2, 2023-03-02)
 
No Dupe Account (NDA)

Prevents players from joining the server if they have a duplicate or recent account.

How does it work?

You can set a combination of factors that defines wether a user is accepted or refused, including (for now):
  • CS:GO Level
  • CS:GO active profile Coin
  • Prime status (Requires SteamWorks)
  • CS:GO Playtime (Requires SteamWorks)
  • VPN (Requires SteamWorks)
  • Steam Level (Requires SteamWorks)
  • Steam Account Age (Requires SteamWorks)
  • Steam Bans (Requires SteamWorks)
  • Country (based on IPs)
Other methods are already planned! If you want to get more methods, please post a comment :)

Additional features:
  • Discord integration through webhooks (no bot needed, fast setup). Requires Discord API by Deathknife
  • English and French languages officially supported!
  • Portuguese and Russian supported by the community (+ Support custom translations)
  • sm_nda (or !nda | /nda) command that displays a menu with a list of infos, including connected players using a VPN [default flag: 'd']
  • A database system that acts like a 'cache' (supports both MySQL and SQLite!)
  • A whitelisting system that supports admin flags, countries, IPs or SteamIDs
  • sm_checkmepls (or !checkmepls| /checkmepls) command that forces a new verification on you, only useful for testing without having to disconnect [default flag: 'z']
  • Will be updated
Cvars:

no_dupe_account.cfg (outdated, but should be close to the current one)


How to install
(X-X-X is the latest NDA version, not the latest version of each plugin/dependency)

Disclaimer: To get the latest version of dependencies, you should download them directly from their post/github repo instead of getting them here, though I'll do my best to keep them updated.

More in depth installation guide here

To learn how to set up the database, or to see FAQ, check the wiki

I don't understand what is a 'check'?

In this plugin, a 'check' works like this:
  • If user passed none of the checks, kick them
  • If user passed at least 1 check, allow them
  • The kick punishment will apply once all checks are done
Some methods can also be set to 'kick' mode, in this case, if the verification is not passed, the player will be kicked, even if they passed at least 1 check

Tips

For maximum efficiency, use SourceSleuth (ban duplicate accounts based on their IP) if you use SourceBans++

What does 'dupe' mean?

Credits


Github repository

ScoobyDev77 02-20-2021 16:28

Re: [CS:GO] No Dupe Account (1.0.0, 2021-02-18)
 
Omg dude!!!! Thanks

NanoC 02-20-2021 16:37

Re: [CS:GO] No Dupe Account (1.0.0, 2021-02-18)
 
Is there a way to check Steam level? Like if a player has level 0 or level 1 on steam, he can't connect to the server.
Also what's that discord integration? What does it do?

azalty 02-20-2021 17:39

Re: [CS:GO] No Dupe Account (1.0.0, 2021-02-18)
 
Quote:

Originally Posted by ScoobyDev77 (Post 2737638)
Omg dude!!!! Thanks

No problem! If you have any question or suggestion for the future please tell me :)

Quote:

Originally Posted by NanoC (Post 2737640)
Is there a way to check Steam level? Like if a player has level 0 or level 1 on steam, he can't connect to the server.
Also what's that discord integration? What does it do?

It's not currently possible but planned. I can start working on it now.
Discord integration sends a webhook when a warning is triggered. As of now, it is only used by 'nda_vpn 1', but I might add other events or moderation logging. Give me your ideas!

Here is how it looks like: https://i.imgur.com/c0CxFYw.png

NanoC 02-20-2021 17:51

Re: [CS:GO] No Dupe Account (1.0.0, 2021-02-18)
 
Great!
I'll be waiting for steam level feature :)

azalty 02-20-2021 19:42

Re: [CS:GO] No Dupe Account (1.0.0, 2021-02-18)
 
Quote:

Originally Posted by NanoC (Post 2737645)
Great!
I'll be waiting for steam level feature :)

Feature added, you can download the latest release here!

--

Version 1.1.0 released:
  • Added a new Steam Level module (new cvar: nda_steam_level)
  • Improved code efficiency in OnClientPostAdminCheck
  • Corrected a warning message
  • Reduced requests URLs
  • Corrected phrase Kicked_PrivatePlaytime

This version adds 2 new phrases: Kicked_PrivateProfile and Kicked_NotEnoughSteamLevel

Note: you don't need to remove no_dupe_account.cfg, the new cvar should automatically append without deleting your old config

NanoC 02-20-2021 22:17

Re: [CS:GO] No Dupe Account (1.1.0, 2021-02-21)
 
Amazing azalty, thank you so much

Rugal 02-20-2021 22:51

Re: [CS:GO] No Dupe Account (1.1.0, 2021-02-21)
 
1 Attachment(s)
Added Portuguese translation!

eyal282 02-21-2021 05:00

Re: [CS:GO] No Dupe Account (1.1.0, 2021-02-21)
 
Quote:

Originally Posted by azalty (Post 2737637)
No Dupe Account (NDA)

Prevents players from joining the server if they have a duplicate or recent account.

How does it work?

You can set a combination of factors, including (for now):
  • CS:GO Level
  • Prime status (Requires SteamWorks)
  • CS:GO Playtime (Requires SteamWorks)
  • VPN (Requires SteamWorks)
  • Steam Level (Requires SteamWorks)
Other methods are already planned! If you want to get more methods, please post a comment :)

Additional features:
  • Discord integration through webhooks (no bot needed, fast setup). Requires Discord API by Deathknife
  • English and French languages supported! (Translation support)
  • Will be updated
Cvars:

no_dupe_account.cfg


How to install
(X-X-X is the latest NDA version, not the latest version of each plugin/dependency)

Disclaimer: To get the latest version of dependencies, you should download them directly from their post/github repo instead of getting them here, though I'll do my best to keep them updated.

Tips

For maximum efficiency, use SourceSleuth (ban duplicate accounts based on their IP) if you use SourceBans++


Credits


Github repository

You should look at Useful Commands' method of approximating level. This with making 5 and 10 year coin auto accepted will be enough.

Google alliedmods csgo useful commands.

azalty 02-21-2021 08:36

Re: [CS:GO] No Dupe Account (1.1.0, 2021-02-21)
 
Quote:

Originally Posted by NanoC (Post 2737659)
Amazing azalty, thank you so much

No problem! If you want anything else, just ask :)

Quote:

Originally Posted by Rugal (Post 2737660)
Added Portuguese translation!

Thanks! It will be added in the next update.

Quote:

Originally Posted by eyal282 (Post 2737677)
You should look at Useful Commands' method of approximating level. This with making 5 and 10 year coin auto accepted will be enough.

Google alliedmods csgo useful commands.

I'm already aware of this method (and of your plugin) and it's already planned!


All times are GMT -4. The time now is 11:19.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.