AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [Any] Veterans Only (v1.3, 2020-06-10) (https://forums.alliedmods.net/showthread.php?t=255871)

DarkSoroush 01-21-2015 16:36

[Any] Veterans Only (v1.3, 2020-06-10)
 
Veterans Only
(veterans)

v1.3

Introduction/Features:

Sale after sale we have more cheaters in the servers and more accounts dedicated to cheating. And Valve's VAC system is not very helpful with its two weeks ban-waves strategy when it comes to cheap or F2P games. In these circumstances, if you have a community of experienced users who hate cheaters you can use this plugin to prevent joining of the inexperienced players including cheaters and players with new accounts.

  • Kick players based on their TF2 or CSGO prime status
  • Kick players based on their Playtime
  • Kick players based on their playtime minus their last 2 weeks activities: Useful when dealing with those players that leave their game open for some days to gain some playtime
  • Banning players: Instead of kicking players, you can ban them for a short time. Very useful to prevent an attack against your server
  • Check against another game: It is possible to let the players join to your CSGO server if they are already experienced in CSS (or any other Steam game)
  • Exclude all privileged users or only ones with reserved slot
  • Exclude CSGO and TF2 prime users
Known bugs:
CVars:
  • sm_veterans_version: Version of plugin
  • sm_veterans_enable: (0/1) Enabling and disabling of the plugin
  • sm_veterans_gameid: (0/99999999) Steam Store Id of the game you want to check against (default is CSGO, 730)
  • sm_veterans_kickfailure: (0/1) Kick the player if plugin failed to retrieve the information
  • sm_veterans_kickprivate: (0/1) Kick the player if his/her profile was private/friend only/not created
  • sm_veterans_timeout: (1/300) Maximum number of seconds that plugin should wait for a connection to respond
  • sm_veterans_bantime: (0/31536000) Duration of the ban (zero to disable - kick)
  • sm_veterans_mintotal: (0/600000) Minimum playtime of the user to accept (in minutes, zero to disable check)
  • sm_veterans_mintotalminuslastweek: (0/600000) Minimum playtime of the user minus his/her last 2 weeks activities to let him join the server (in minutes, zero to disable check)
  • sm_veterans_cachetime: (0/31536000) Number of seconds we should wait before requesting a duplicate query. Happens only when user's playtime is less than minimum required
  • sm_veterans_excludereservedslots: (0/1) Excludes players that have a reserved slot from punishment
  • sm_veterans_excludeprivileged: (0/1) Excludes privileged players from punishment
  • sm_veterans_excludeprimes: (0/1) Excludes prime players from punishment
  • sm_veterans_kickf2p: (0/1) Kicks non-prime (F2P) players
Commands:
  • sm_veterans_exclude: Adds one or more steam id to the exclusion list
  • sm_veterans_include: Removes one or more steam id from the exclusion list
  • sm_veterans_clear: Forcefully clears the player playtime cache mid-game

Changelog
:
  • v1.0 - 2015-01-22: Initial release
  • v1.1 - 2016-07-01: New CVAR to change the address of the PHP file handling the played time requests
  • v1.2 - 2020-06-10: Added support for excluding players and whitelisting + fixed some problems with caching of responses
  • v1.3 - 2020-06-10: Prime check for CSGO and TF2 servers
Dependencies:

How to install
:
  • Download the latest version of the plugin ONLY from the following link: [Github - veterans' Releases]
  • Extract both "plugins" and "translations" folders to the addons/sourcemod path
  • Change "sm_veterans_gameid" value to your game's Steam Store ID
Source:

Source code of this plugin is available at the following address: [Github - veterans]

Sreaper 01-21-2015 18:30

Re: [Any] Veterans Only (v1.0, 2015-01-22)
 
Anyone can just use Steam Achievement Manager to modify their playtime values.

DarkSoroush 01-21-2015 18:33

Re: [Any] Veterans Only (v1.0, 2015-01-22)
 
Thats the time saved on their client, not steam servers. you can't change your profile playtime.

Chdata 01-21-2015 19:10

Re: [Any] Veterans Only (v1.0, 2015-01-22)
 
Possible to get stuff like steam card level?

Potato Uno 01-21-2015 19:28

Re: [Any] Veterans Only (v1.0, 2015-01-22)
 
I think my MvM crew and one (for now, not all) MvM server is dying to have a plugin like this. Maybe.

I agree with Chdata, be able to obtain the steam card level.

DarkSoroush 01-21-2015 20:01

Re: [Any] Veterans Only (v1.0, 2015-01-22)
 
It is possible to expand this plugin with the following options:
  1. Reject or accept based on Steam Community Level
  2. Reject or accept based on a specific Badge Level
  3. Reject or accept based on Steam Join Date
  4. Reject or accept based on Subscribed Groups
  5. Reject or accept based on Friends
  6. Reject or accept based on number of purchased games
  7. Reject or accept based on estimated value of account (price of items)
  8. Reject or accept based on total playtime in all games
  9. Reject or accept based on a specific achievement
  10. Reject or accept based on owning/wishlisting/following a specific game
  11. Reject or accept based on achievement unlocked ratio of a specific game
  12. Reject based on Community Ban
  13. Reject based on Trade Ban
I may add some of this features to the plugin if enough people ask for them.

Chdata 01-21-2015 20:03

Re: [Any] Veterans Only (v1.0, 2015-01-22)
 
@Subscribed groups - Can you differentiate between someone being in a group and someone being invited?

I hear that's a problem or something.

Sreaper 01-21-2015 20:06

Re: [Any] Veterans Only (v1.0, 2015-01-22)
 
Quote:

Originally Posted by DarkSoroush (Post 2252160)
It is possible to expand this plugin with the following options:
  1. Reject or accept based on Steam Community Level
  2. Reject or accept based on a specific Badge Level
  3. Reject or accept based on Steam Join Date
  4. Reject or accept based on Subscribed Groups
  5. Reject or accept based on Friends
  6. Reject or accept based on number of purchased games
  7. Reject or accept based on estimated value of account (price of items)
  8. Reject or accept based on total playtime in all games
  9. Reject based on Community Ban
  10. Reject based on Trade Ban
I may add some of this features to the plugin if enough peoples ask for them.

Yes, those would be great. I was going to have something like this written long ago but scrapped it due to SAM. I didn't know those times were different.

DarkSoroush 01-21-2015 20:20

Re: [Any] Veterans Only (v1.0, 2015-01-22)
 
Quote:

Originally Posted by Chdata (Post 2252161)
@Subscribed groups - Can you differentiate between someone being in a group and someone being invited?

I hear that's a problem or something.

hmm, whats the tricky part about that? I didn't heard anything regarding any issue related to group invites.

Following is my steam profile, if you have any group that I don't and can invite me to, do that and let me check it. A invite only group would be better.
http://steamcommunity.com/id/darkplayer

Quote:

I didn't know those times were different.
Yep they are. I am still not sure if the playtimes in the tf2 special stat page is fake-able or not. But if they are also immune to editing, we can use them as well as a great feature. For example:

- Most points by specific class
- Most kills by specific class
- Most damages by specific class
- Longest life as specific class
- Playtime as specific class

Of cource these are limited to TF2.

DarkSoroush 01-22-2015 01:31

Re: [Any] Veterans Only (v1.0, 2015-01-22)
 
About the groups:
We are only able to detect if user, currently is in a specific group.
We cant guess if user invited and accepted, or have a pending invite, etc.


All times are GMT -4. The time now is 00:27.

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