Steam Profiler

Block players from connecting with VAC banned accounts, shared games or private profiles

Total Downloads: 652 - First Release: May 8, 2015 - Last Update: May 14, 2015

5/5, 6 likes
  1. Mughisi submitted a new resource:

    VAC Kicker - Reign of Kings: Block players from connecting with VAC banned accounts

    Read more about this resource...
     
  2. Mughisi updated VAC Kicker with a new update entry:

    Optional announcement

     
  3. nice one Mug ... gona test it right now! tyvm
    [DOUBLEPOST=1431209697,1431196352][/DOUBLEPOST]it works GREAT! Some suggestions for you to add options to block also "private profile" and "Shared Account" !

    thx
     
  4. Was thinking of doing it, just not sure yet if I should make separate plugins for that or add it to this one and rename it :p
     
  5. Wulf

    Wulf Community Admin

    I'd probably make a single "Steam Profiler" plugin, but it'd be the same amount of web requests in the end anyways.
     
  6. I guess i found a mistake:
    Code:
                            if (json.Players[0].DaysSinceLastBan < minimumAge)
                                denyAccess = true;                            {
    It would kick players when the last ban days amount is bigger then the minimumAge.
    So when you had 365 in configs and someone joined with 700 days VAC ban: 700>365 - 700 would be bigger and would trigger the "denyAccess = true"
    To fix this just use "<" smaller then instead of ">" bigger then.
     
  7. Yea, noticed that earlier today when I was removing a few other things from the plugin, was planning to add a few other things before updating here first as no one had noticed until now :p
     
  8. Pretty much just started with this modding stuff - was so excited as i found this mistake and then also was able to fix it :D

    Thanks for your work Mughisi nice plugins ;)
     
  9. what happens if ur best friend has a VAC. how can he join the server still?
     
  10. Wulf

    Wulf Community Admin

    He'd be blocked if he has more VAC bans than you have configured.
     
  11. You can add the steamid of that person to the whitelist, this would skip the check on that player when he connects to the server.
     
  12. Code:
    Error] Exception raised in web request callback (IndexOutOfRangeException: Array index is out of range.)
    6:09 PM [Debug]   at Oxide.Plugins.VACKicker.IsVACBanned (Int32 code, System.String response, CodeHatch.Engine.Networking.Player player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.VACKicker+<OnPlayerConnected>c__AnonStorey0.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0
     
  13. thanks Mughisi it worked. on the Rust Plugin i know its not the same. but use the same PLUGINS from rust to reign of kings.
     
  14. Mughisi updated VAC Kicker with a new update entry:

    VAC Kicker to Steam Profiler

     
  15. how do i add myfriend to the whitelist. its the User ID for Reign of Kings?
     
  16. Im having problem with the config., it keeps reloading it to the default one, here is the error:
    4:23 PM [Error] SteamProfiler: Failed to load config file (is the config file corrupt?) (Value is greater than Int32.MaxValue or less than Int32.MinValue)

    and here is my file:
    Code:
    {
      "FamilyShareBlocker": {
        "Enabled": true
      },
      "Messages": {
        "FamilyShareKickMessage": "Conta compartilhada não é permitido.",
        "FamilyShareServerAnnouncement": "{0} não foi liberado por usar conta compartilhada.",
        "PrivateProfileKickMessage": "Contas com perfil privado não são permitidas.",
        "PrivateProfileKickServerAnnouncement": "{0} não foi liberado por ter um perfil privado.",
        "VACBanKickMessage": "Contas com VAC ban não são permitidas.",
        "VACBanKickServerAnnouncement": "{0} não foi liberado por possuir VAC ban."
      },
      "Options": {
        "Whitelist": [76561198090636964]
      },
      "PrivateProfileBlocker": {
        "Enabled": true
      },
      "Settings": {
        "AnnounceToServer": true,
        "ChatPrefix": "GUILDHOST",
        "ChatPrefixColor": "950415",
        "LogToConsole": true,
        "SteamAPIKey": "5F255B202404556F083DD8C368E8102A"
      },
      "VACBanBlocker": {
        "Enabled": true,
        "MinimumDaysSinceLastBan": 365,
        "NumberOfAllowedVACBans": 0
      }
    }
     
  17. Wulf

    Wulf Community Admin

    Your whitelist is no the proper format, so your config became invalid. See http://oxidemod.org/plugins/steam-profiler.1009/.

    Hint: Quotation marks. ;)
     
  18. Tring to use the default one now, I set the API key but it resets the file and says that there is no api key. lol
     
  19. Wulf

    Wulf Community Admin

    Because your whitelist format is invalid, you corrupted the whole config. ;)