View Single Post
Author Message
DarkSoroush
Member
Join Date: Jan 2015
Old 01-21-2015 , 16:36   [Any] Veterans Only (v1.3, 2020-06-10)
Reply With Quote #1

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]

Last edited by DarkSoroush; 06-09-2020 at 21:33.
DarkSoroush is offline