Raised This Month: $120 Target: $400
 30% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarkSoroush
Member
Join Date: Jan 2015
Plugin ID:
4496
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    "Veterans Only" (or simply "veterans") is a Plugin for SourceMod to restrict access of players based on their playtime in a specific game
    Old 01-21-2015 , 17:36   [Any] Veterans Only (v1.0, 2015-01-22)
    Reply With Quote #1

    Veterans Only
    (veterans)

    v1.0

    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 account.

    • 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 play time
    • Banning players: Instead of kicking players you can ban them for a short time. Very useful to prevent 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)
    Known bugs:
    • Non known

    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 it 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

    Changelog
    :
    • v1.0 - 2015-01-22: Initial release
    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]
    Attached Files
    File Type: sp Get Plugin or Get Source (veterans.sp - 387 views - 11.6 KB)
    DarkSoroush is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Location: Source SDK
    Old 01-21-2015 , 19:30   Re: [Any] Veterans Only (v1.0, 2015-01-22)
    Reply With Quote #2

    Anyone can just use Steam Achievement Manager to modify their playtime values.
    __________________

    Last edited by Sreaper; 01-21-2015 at 19:33.
    Sreaper is offline
    DarkSoroush
    Member
    Join Date: Jan 2015
    Old 01-21-2015 , 19:33   Re: [Any] Veterans Only (v1.0, 2015-01-22)
    Reply With Quote #3

    Thats the time saved on their client, not steam servers. you can't change your profile playtime.

    Last edited by DarkSoroush; 01-21-2015 at 19:33.
    DarkSoroush is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 01-21-2015 , 20:10   Re: [Any] Veterans Only (v1.0, 2015-01-22)
    Reply With Quote #4

    Possible to get stuff like steam card level?
    __________________
    Chdata is offline
    Potato Uno
    Veteran Member
    Join Date: Jan 2014
    Location: Atlanta, Georgia
    Old 01-21-2015 , 20:28   Re: [Any] Veterans Only (v1.0, 2015-01-22)
    Reply With Quote #5

    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.

    Last edited by Potato Uno; 01-21-2015 at 20:31. Reason: Deleted stupid question
    Potato Uno is offline
    DarkSoroush
    Member
    Join Date: Jan 2015
    Old 01-21-2015 , 21:01   Re: [Any] Veterans Only (v1.0, 2015-01-22)
    Reply With Quote #6

    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.

    Last edited by DarkSoroush; 01-21-2015 at 21:30. Reason: added more options
    DarkSoroush is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 01-21-2015 , 21:03   Re: [Any] Veterans Only (v1.0, 2015-01-22)
    Reply With Quote #7

    @Subscribed groups - Can you differentiate between someone being in a group and someone being invited?

    I hear that's a problem or something.
    __________________
    Chdata is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Location: Source SDK
    Old 01-21-2015 , 21:06   Re: [Any] Veterans Only (v1.0, 2015-01-22)
    Reply With Quote #8

    Quote:
    Originally Posted by DarkSoroush View Post
    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.
    __________________
    Sreaper is offline
    DarkSoroush
    Member
    Join Date: Jan 2015
    Old 01-21-2015 , 21:20   Re: [Any] Veterans Only (v1.0, 2015-01-22)
    Reply With Quote #9

    Quote:
    Originally Posted by Chdata View Post
    @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.

    Last edited by DarkSoroush; 01-21-2015 at 21:26.
    DarkSoroush is offline
    DarkSoroush
    Member
    Join Date: Jan 2015
    Old 01-22-2015 , 02:31   Re: [Any] Veterans Only (v1.0, 2015-01-22)
    Reply With Quote #10

    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.
    DarkSoroush is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


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


    Powered by vBulletin®
    Copyright ©2000 - 2018, vBulletin Solutions, Inc.
    Theme made by Freecode