Raised This Month: $ Target: $400
 0% 

[ANY] Profile Status v2.3.5 (08/02/2020)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ratawar
Member
Join Date: Dec 2017
Location: Argentina
Plugin ID:
7050
Plugin Version:
2.3.5
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Allows server owners to control entrance to their servers based on hours, bans, Steam level and private profile.
    Old 04-19-2020 , 02:34   [ANY] Profile Status v2.3.5 (08/02/2020)
    Reply With Quote #1

    Profile Status

    Profile Status allows server owners to control entrance to their servers.
    Not maintained by me anymore.

    FEATURES

    Hour Check Module

    If users enter with their game hours visible, and they meet the specified minimum of hours, they are allowed into the server and whitelisted so they only get checked once (can be toggled off for no whitelisting).

    If users enter with their game hours hidden, or they do not meet the specified minimum of hours, they won't be allowed into the server. However, if they are added manually into the whitelist, they will be able to bypass the hour check safely.

    Ban Check Module

    Plugin is able to allow/deny entrance based on the following criteria:
    • VAC Ban
    • Amount of days since last VAC Ban
    • Amount of VAC Bans
    • Community Bans
    • Economy Bans
    • Amount of Game Bans
    All of which can be configured through the auto-generated cfg/sourcemod/ProfileStatus.cfg file.

    Steam Level Module

    Plugin can block users if they do not meet the minimum or maximum Steam level configured, with its respective whitelist.

    Private Profile Module

    At the moment, the plugin can only block fully private profiles. This is due to the nature of the visibility the Steam API Key "has", in relation to the key owner's visibility to other profiles. Read here to learn more.

    CONVARS
    • sm_profilestatus_version - Plugin version
    • sm_profilestatus_enable - 1 = Enable | 0 = Disable (Default: 1)
    • sm_profilestatus_apikey - Your Steam API Key (https://steamcommunity.com/dev/apikey)
    • sm_profilestatus_database - Database name. Change this value only if you're using another database set in databases.cfg
    • sm_profilestatus_hours_enable - Enable Hour Checking functions?
    • sm_profilestatus_minhours - Minimum of hours requiered to enter the server
    • sm_profilestatus_whitelist_enable - Enable or disable Hours Whitelist - 1 = Enable | 0 = Disable (Default: 1)
    • sm_profilestatus_whitelist_auto - Enable or disable automatic whitelisting - 1 = Enable | 0 = Disable (Default: 1)
    • sm_profilestatus_bans_enable - Enable Ban Check module? (Default = 1)
    • sm_profilestatus_bans_whitelist - Enable Bans Whitelist? (Default = 1)
    • sm_profilestatus_vac_days - Minimum days since the last VAC ban to be allowed into the server (0 for zero tolerance).
    • sm_profilestatus_vac_amount - Amount of VAC bans tolerated until prohibition (0 for zero tolerance).
    • sm_profilestatus_community_ban - 0- Don't kick if there's a community ban | 1- Kick if there's a community ban.
    • sm_profilestatus_game_bans - Amount of game bans tolerated until prohibition (0 for zero tolerance).
    • sm_profilestatus_economy_bans - 0- Don't check for economy bans | 1- Kick if user is economy "banned" only. | 2- Kick if user is in either "banned" or "probation" state.
    • sm_profilestatus_level_enable - Enable Steam Level Checking functions?
    • sm_profilestatus_level_whitelist_enable - Enable Steam Level Check Whitelist?
    • sm_profilestatus_level_whitelist_auto - Whitelist members that have been checked automatically?
    • sm_profilestatus_minlevel - Minimum level required to enter the server.
    • sm_profilestatus_maxlevel - Maximum level tolerated to enter the server (can be left blank for no maximum).

    COMMANDS
    • sm_ps <hours|bans|level> add <STEAMID64> - Add user to the whitelist. For example: !ps hours add 76561198179807307
    • sm_ps <hours|bans|level> remove <STEAMID64> - Remove a user from the whitelist. For example: !ps bans remove 76561198179807307
    • sm_ps <hours|bans|level> check <STEAMID64> - Check if a user is in the whitelist. For example: !ps hours check 76561198179807307
    • sm_ps whitelist - Opens whitelist menu.

    INSTALLATION
    1. Download the zip file in Releases and drag its contents into your /addons/sourcemod/ folder.
    2. If you're using a custom database, make sure to add it in /addons/sourcemod/configs/databases.cfg by creating a new entry, and using that name in the plugin's cvar, along with the database credentials.
    3. Start your server so the plugin creates the config file, in /cfg/sourcemod/ProfileStatus.cfg
    4. Set up the requirements in the config file and restart the server.

    CHANGELOG
    • v1.0 (Apr 19, 2020)
      • Initial release.
    • v1.1 (Apr 20, 2020)
      • Changed commands to delete the underscore between arguments.
      • Code polish.
    • v1.1.1 (Apr 21, 2020)
      • Fixed translations.
      • Code polish.
    • v2.0 (Apr 26, 2020)
      • Added VAC/Steam Bans Module.
      • Added sm_profilestatus_database for external databases support.
      • Rewrote some console debug messages.
      • Fixed sm_ps command description.
      • Code comment, order and polish.
    • v2.1 (Apr 28, 2020)
      • Fixed wrong Steam API Key check.
    • v2.2 (May 4, 2020)
      • Changed plugin URL
      • Fixed custom database feature
      • Improved cvars flexibility
      • Added Bans Module Whitelist
      • Now commands require hours or bans as first argument
      • Added Whitelist Menu
      • Include file profilestatus.inc added
    • v2.3 (June 15, 2020)
      • Added MySQL support.
      • Added Steam level checking module and its whitelist.
      • Added private profile checking module.
      • Fixed whitelist menu not showing entries properly.
      • Added Impact's AutoExecConfig include to prevent having to delete the config upon new cvars.
      • Added a check for real clients, so plugin doesn't check on bots.
      • Deleted regex handles, now performing simple regex matches.
      • Renamed a few functions, variables, cvar and command descriptions.
      • Deleted a few debug messages.
    • v2.3.1 (June 17, 2020)
      • Replaced morecolors with Bara's multicolors include to improve compatibility (#5)
      • Added #include <regex> (#5)
    • v2.3.2 (June 20, 2020)
      • Replaced client indexes with Userids, by Impact
    • v2.3.3 (June 23, 2020)
      • Fully transitioned from client indexes to userids, by Impact
    • v2.3.4 (July 19, 2020)
      • Fixed plugin ignoring cvar values to disable certain checks, thanks to Erik Minekus (#12)
    • v2.3.5 (August 2, 2020)
      • Fixed not being able to perform commands from console
      • Code cleanup and polish
      • Added polish translations, thanks to @fejmek

    EXTRAS

    Keep track of the plugin's development on GitHub! If you like my work feel free to leave a star.

    This plugin is in constant growth and improvement. If you have any problems or questions you can leave them down below at the comments and on GitHub.

    Thanks to these people and the SourceMod Discord server, this plugin exists:
    • alphaearth
    • The Doggy
    • nosoop
    • Impact
    • Bara
    Attached Files
    File Type: zip profilestatus_2.3.4.zip (405.3 KB, 130 views)
    File Type: zip profilestatus_2.3.5.zip (399.9 KB, 334 views)
    __________________

    Last edited by ratawar; 06-02-2021 at 08:59.
    ratawar is offline
    Trum
    AlliedModders Donor
    Join Date: Jan 2017
    Old 04-19-2020 , 06:44   Re: [ANY] Profile Status
    Reply With Quote #2

    Cool, good job!
    Trum is offline
    Mayor Gamer
    Senior Member
    Join Date: Nov 2012
    Location: GetLocationOfUser(me);
    Old 04-19-2020 , 13:19   Re: [ANY] Profile Status
    Reply With Quote #3

    You went up from small plugins to this. Told you that you had to keep striving for this. Congratulations on this miraculous piece of work
    Mayor Gamer is offline
    paulo_crash
    AlliedModders Donor
    Join Date: May 2016
    Location: Brazil
    Old 04-24-2020 , 14:27   Re: [ANY] Profile Status
    Reply With Quote #4

    Thanks for this release, enjoy it a lot, I can make some of my servers more private.

    But I would have a suggestion. Could create some CVAR, something that the client can have full control of the players on the server.

    For example, I just want players added to the whitelist to connect to the server, no matter how long, whoever is not on the whitelist will be expelled, even if they have the time to connect to the server.

    Was something like this possible?
    paulo_crash is offline
    ratawar
    Member
    Join Date: Dec 2017
    Location: Argentina
    Old 04-24-2020 , 16:50   Re: [ANY] Profile Status
    Reply With Quote #5

    Quote:
    Originally Posted by paulo_crash View Post
    Thanks for this release, enjoy it a lot, I can make some of my servers more private.

    But I would have a suggestion. Could create some CVAR, something that the client can have full control of the players on the server.

    For example, I just want players added to the whitelist to connect to the server, no matter how long, whoever is not on the whitelist will be expelled, even if they have the time to connect to the server.

    Was something like this possible?
    Thank you for your comments!
    I'm not sure of what you mean by 'full control' over the players in the server. I've been thinking about implementing an in-game menu for server admins to check the whitelist in detail, which is the closest answer I can give you regarding what you're asking for.

    And if your intentions are expelling someone from your server despite them having enough hours, aren't you better off just banning them from the server?
    ratawar is offline
    paulo_crash
    AlliedModders Donor
    Join Date: May 2016
    Location: Brazil
    Old 04-24-2020 , 16:58   Re: [ANY] Profile Status
    Reply With Quote #6

    Quote:
    Originally Posted by ratawar View Post
    I'm not sure of what you mean by 'full control' over the players in the server. I've been thinking about implementing an in-game menu for server admins to check the whitelist in detail, which is the closest answer I can give you regarding what you're asking for.
    Good idea, it would be interesting.
    Quote:
    Originally Posted by ratawar View Post
    And if your intentions are expelling someone from your server despite them having enough hours, aren't you better off just banning them from the server?
    Yes, I have this option, but I don't want it to even connect to the server.

    That is, he will not check the player's time, he will only check if the player is on the whitelist, if he is not on the whitelist, he cannot connect.

    Last edited by paulo_crash; 04-24-2020 at 16:59.
    paulo_crash is offline
    ratawar
    Member
    Join Date: Dec 2017
    Location: Argentina
    Old 04-25-2020 , 00:04   Re: [ANY] Profile Status
    Reply With Quote #7

    Quote:
    Originally Posted by paulo_crash View Post
    Good idea, it would be interesting.

    Yes, I have this option, but I don't want it to even connect to the server.

    That is, he will not check the player's time, he will only check if the player is on the whitelist, if he is not on the whitelist, he cannot connect.
    Sadly this is a feature that escapes the purpose of the plugin - apart from being reduntant, since there already is an in-built Source functionality called "bans", where you can ban a player for a certain amount of time. What you're asking for is a reverse ban system.
    ratawar is offline
    TiTz
    Member
    Join Date: Jan 2020
    Old 04-27-2020 , 15:51   Re: [ANY] Profile Status
    Reply With Quote #8

    Hi,
    I am running a srcds L4D1 server
    I get this error in my error log ... and the server bombs out

    Code:
    L 04/27/2020 - 20:31:44: SourceMod error session started
    L 04/27/2020 - 20:31:44: Info (map "l4d_airport01_greenhouse") (file "D:\servl4dt1\left4dead\addons\sourcemod\logs\errors_20200427.log")
    L 04/27/2020 - 20:31:44: [SM] Exception reported: [PS] Please set your Steam API Key properly!
    L 04/27/2020 - 20:31:44: [SM] Blaming: profilestatus.smx
    L 04/27/2020 - 20:31:44: [SM] Call stack trace:
    L 04/27/2020 - 20:31:44: [SM]   [0] SetFailState
    L 04/27/2020 - 20:31:44: [SM]   [1] Line 120, C:\Users\Usuario\Documents\SOURCEMOD GLOBAL\profilestatus zip\scripting\profilestatus.sp::OnMapStart
    I installed to the following directorys:

    \left4dead\addons\sourcemod\extensions\SteamW orks.ext.dll
    \left4dead\addons\sourcemod\plugins\profilest atus.smx
    \left4dead\addons\sourcemod\translations\prof ilestatus.phrases.txt

    I edited my ProfileStatus.cfg \left4dead\cfg\sourcemod\ProfileStatus.cfg

    I added my Steam API number to the ProfileStatus.cfg
    Code:
    // Your Steam API key (https://steamcommunity.com/dev/apikey).
    // -
    // Default: ""
    sm_profilestatus_apikey "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    But still i get the error and the server just bombs out.

    Any ideas what I maybe doing wrong ?

    Regards

    TiTz
    TiTz is offline
    SlavON
    Junior Member
    Join Date: Jul 2015
    Location: Belarus
    Old 04-27-2020 , 20:57   Re: [ANY] Profile Status
    Reply With Quote #9

    Confirming the error [SM] Exception reported: [PS] Please set your Steam API Key properly! (CSGO)
    I also added my Steam API number to the ProfileStatus.cfg
    SlavON is offline
    Send a message via Skype™ to SlavON
    ratawar
    Member
    Join Date: Dec 2017
    Location: Argentina
    Old 04-28-2020 , 20:21   Re: [ANY] Profile Status
    Reply With Quote #10

    Quote:
    Originally Posted by TiTz View Post
    Hi,
    I am running a srcds L4D1 server
    I get this error in my error log ... and the server bombs out

    Code:
    L 04/27/2020 - 20:31:44: SourceMod error session started
    L 04/27/2020 - 20:31:44: Info (map "l4d_airport01_greenhouse") (file "D:\servl4dt1\left4dead\addons\sourcemod\logs\errors_20200427.log")
    L 04/27/2020 - 20:31:44: [SM] Exception reported: [PS] Please set your Steam API Key properly!
    L 04/27/2020 - 20:31:44: [SM] Blaming: profilestatus.smx
    L 04/27/2020 - 20:31:44: [SM] Call stack trace:
    L 04/27/2020 - 20:31:44: [SM]   [0] SetFailState
    L 04/27/2020 - 20:31:44: [SM]   [1] Line 120, C:\Users\Usuario\Documents\SOURCEMOD GLOBAL\profilestatus zip\scripting\profilestatus.sp::OnMapStart
    I installed to the following directorys:

    \left4dead\addons\sourcemod\extensions\SteamW orks.ext.dll
    \left4dead\addons\sourcemod\plugins\profilest atus.smx
    \left4dead\addons\sourcemod\translations\prof ilestatus.phrases.txt

    I edited my ProfileStatus.cfg \left4dead\cfg\sourcemod\ProfileStatus.cfg

    I added my Steam API number to the ProfileStatus.cfg
    Code:
    // Your Steam API key (https://steamcommunity.com/dev/apikey).
    // -
    // Default: ""
    sm_profilestatus_apikey "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    But still i get the error and the server just bombs out.

    Any ideas what I maybe doing wrong ?

    Regards

    TiTz
    Quote:
    Originally Posted by SlavON View Post
    Confirming the error [SM] Exception reported: [PS] Please set your Steam API Key properly! (CSGO)
    I also added my Steam API number to the ProfileStatus.cfg
    Fixed in version 2.1! Please let me know if it's working properly.
    ratawar 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 04:13.


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