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. Thx Wulf, gona try it now
    [DOUBLEPOST=1431632436][/DOUBLEPOST]
    solved!
     
  2. Hey guys, just installed this plugin, it seems me and some of my players are getting stuck at downloading characters for ROK. Is there something I did wrong to cause this?
     
  3. Wulf

    Wulf Community Admin

    Any errors in your Oxide logs?
     
  4. No errors
     
  5. Wulf

    Wulf Community Admin

    Could you upload your config for the plugin and latest Oxide and server log here please?
     
  6. Code:
    {
      "FamilyShareBlocker": {
        "Enabled": true
      },
      "Messages": {
        "FamilyShareKickMessage": "Family Shared accounts are not allowed.",
        "FamilyShareServerAnnouncement": "{0} was not allowed on the server because of a shared game.",
        "PrivateProfileKickMessage": "Accounts with private profiles are not allowed.",
        "PrivateProfileKickServerAnnouncement": "{0} was not allowed on the server because of a private profile.",
        "VACBanKickMessage": "VAC banned accounts are not allowed.",
        "VACBanKickServerAnnouncement": "{0} was not allowed on the server because of one or more VAC bans."
      },
      "Options": {
        "Whitelist": ["76561198106479531"]
      },
      "PrivateProfileBlocker": {
        "Enabled": false
      },
      "Settings": {
        "AnnounceToServer": false,
        "ChatPrefix": "Server",
        "ChatPrefixColor": "950415",
        "LogToConsole": true,
        "SteamAPIKey": "B40FA8CCE08D5F1F956668B879D6B856"
      },
      "VACBanBlocker": {
        "Enabled": true,
        "MinimumDaysSinceLastBan": 1,
        "NumberOfAllowedVACBans": 0
      }
    }
    [DOUBLEPOST=1431983930][/DOUBLEPOST]
    Code:
    4:57 PM [Info] Loading plugins...
    4:57 PM [Info] Loaded plugin Reign of Kings Core v1.0.0 by Oxide Team
    4:57 PM [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team
    4:57 PM [Info] Announcer, Kits and SteamProfiler were compiled successfully in 1287ms
    4:57 PM [Info] Loaded plugin Server Information Announcer v1.0.2 by Mughisi
    4:57 PM [Info] Loaded plugin Kits v1.0.1 by Mughisi
    4:57 PM [Info] Loaded plugin Steam Profiler v1.0.0 by Mughisi
    4:57 PM [Info] Server Information Announcer : Server has arisen to fight their way once more, their is promise in this one.
    5:01 PM [Info] Loading Oxide core v2.0.886...
    5:01 PM [Info] Loading extensions...
    5:01 PM [Info] Loaded extension CSharp v1.0.886 by Oxide Team
    5:01 PM [Info] Loaded extension JavaScript v1.0.886 by Oxide Team
    5:01 PM [Info] Loaded extension Lua v1.0.886 by Oxide Team
    5:01 PM [Info] Loaded extension MySql v1.0.886 by Oxide Team
    5:01 PM [Info] Loaded extension Python v1.0.886 by Oxide Team
    5:01 PM [Info] Loaded extension ReignOfKings v1.0.886 by Oxide Team
    5:01 PM [Info] Loaded extension SQLite v1.0.886 by Oxide Team
    5:01 PM [Info] Loaded extension Unity v1.0.886 by Oxide Team
    5:01 PM [Info] Loading plugins...
    5:01 PM [Info] Loaded plugin Reign of Kings Core v1.0.0 by Oxide Team
    5:01 PM [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team
    5:01 PM [Info] Announcer, Kits and SteamProfiler were compiled successfully in 1381ms
    5:01 PM [Info] Loaded plugin Server Information Announcer v1.0.2 by Mughisi
    5:01 PM [Info] Loaded plugin Kits v1.0.1 by Mughisi
    5:01 PM [Info] Loaded plugin Steam Profiler v1.0.0 by Mughisi
    5:01 PM [Info] Server Information Announcer : Server has arisen to fight their way once more, their is promise in this one.
    5:02 PM [Info] Loading Oxide core v2.0.886...
    5:02 PM [Info] Loading extensions...
    5:02 PM [Info] Loaded extension CSharp v1.0.886 by Oxide Team
    5:02 PM [Info] Loaded extension JavaScript v1.0.886 by Oxide Team
    5:02 PM [Info] Loaded extension Lua v1.0.886 by Oxide Team
    5:02 PM [Info] Loaded extension MySql v1.0.886 by Oxide Team
    5:02 PM [Info] Loaded extension Python v1.0.886 by Oxide Team
    5:02 PM [Info] Loaded extension ReignOfKings v1.0.886 by Oxide Team
    5:02 PM [Info] Loaded extension SQLite v1.0.886 by Oxide Team
    5:02 PM [Info] Loaded extension Unity v1.0.886 by Oxide Team
    5:02 PM [Info] Loading plugins...
    5:02 PM [Info] Loaded plugin Reign of Kings Core v1.0.0 by Oxide Team
    5:02 PM [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team
    5:02 PM [Info] Announcer, Kits and SteamProfiler were compiled successfully in 1300ms
    5:02 PM [Info] Loaded plugin Server Information Announcer v1.0.2 by Mughisi
    5:02 PM [Info] Loaded plugin Kits v1.0.1 by Mughisi
    5:02 PM [Info] Loaded plugin Steam Profiler v1.0.0 by Mughisi
    5:02 PM [Info] Server Information Announcer : Server has arisen to fight their way once more, their is promise in this one.
    5:06 PM [Info] Server Information Announcer : Lord King has arisen to fight their way once more, their is promise in this one.
    5:06 PM [Info] Steam Profiler : Lord King with Steam Id 76561198106479531 is whitelisted, allowing the player to join.
    5:14 PM [Info] Server Information Announcer : Agnar Twolken has arisen to fight their way once more, their is promise in this one.
    5:14 PM [Info] Server Information Announcer : Lord King has decided to give up and rest their weak mind from this forsaken world.
    
    [DOUBLEPOST=1431984361][/DOUBLEPOST]can it be the permissions file?
     
  7. for some reason it still kicks players with only one VAC ban for me

    Code:
    {
      "FamilyShareBlocker": {
        "Enabled": true
      },
      "Messages": {
        "FamilyShareKickMessage": "Family Shared accounts are not allowed.",
        "FamilyShareServerAnnouncement": "{0} was not allowed on the server because of a shared game.",
        "PrivateProfileKickMessage": "Accounts with private profiles are not allowed.",
        "PrivateProfileKickServerAnnouncement": "{0} was not allowed on the server because of a private profile.",
        "VACBanKickMessage": "VAC banned accounts are not allowed.",
        "VACBanKickServerAnnouncement": "{0} was not allowed on the server because of one or more VAC bans."
      },
      "Options": {
        "Whitelist": ["76561198099646690", "76561198112743227"]
      },
      "PrivateProfileBlocker": {
        "Enabled": true
      },
      "Settings": {
        "AnnounceToServer": true,
        "ChatPrefix": "Server",
        "ChatPrefixColor": "950415",
        "LogToConsole": true,
        "SteamAPIKey": "2D270BE8901E8F39E5AEE05FF244F04E"
      },
      "VACBanBlocker": {
        "Enabled": true,
        "MinimumDaysSinceLastBan": 100,
        "NumberOfAllowedVACBans": 1
      }
    }
    also it kicks the player while in the whitelist

    11:00 PM [Info] SteamProfiler was compiled successfully in 438ms
    11:00 PM [Info] Unloaded plugin Steam Profiler v1.0.0 by Mughisi
    11:00 PM [Debug] Plugin is already being loaded: SteamProfiler
    11:00 PM [Info] Loaded plugin Steam Profiler v1.0.0 by Mughisi
    11:00 PM [Info] Server Information Announcer : Peasant : kin6z has joined the server!
    11:00 PM [Info] Steam Profiler : Peasant : kin6z with Steam Id 76561198099646690 is whitelisted, allowing the player to join.
    11:00 PM [Info] Server Information Announcer : Peasant : kin6z has left the server

    Please help :D
     
  8. Something else is probably keeping him out of the server, if the whitelisted message shows up than the webrequests are never fired so it will never check if he has a VAC ban or anything else, the plugin would also mention that the player was kicked in the console if the plugin would be stopping him from joining so I'm not sure what's going on here
    [DOUBLEPOST=1432761725][/DOUBLEPOST]And regarding kicking people with 1 vac ban, the amount & age check are separate, so even if you are allowing players with 1 vac ban, they won't be allowed if that ban was recent (100 days for your config)
     
  9. Not really sure whats going on here:

    Code:
    1:52 PM [Info] [Steam Profiler] Steam Profiler : Error! No Steam API key found.
    1:52 PM [Info] [Steam Profiler] Steam Profiler : You need to set your API key in the configuration file for this plugin to work!
    1:52 PM [Info] [Steam Profiler] Steam Profiler : To obtain an API key browse to http://steamcommunity.com/dev/apikey
    SteamProfiler.json: (Has my correct API Key as per what im using on my Rust servers and whats on the dev apikey link)

    Code:
    {
      "FamilyShareBlocker": {
        "Enabled": true
      },
      "Messages": {
        "FamilyShareKickMessage": "Family Shared accounts are not allowed.",
        "FamilyShareServerAnnouncement": "{0} was not allowed on the server because of a shared game.",
        "PrivateProfileKickMessage": "Accounts with private profiles are not allowed.",
        "PrivateProfileKickServerAnnouncement": "{0} was not allowed on the server because of a private profile.",
        "VACBanKickMessage": "VAC banned accounts are not allowed.",
        "VACBanKickServerAnnouncement": "{0} was not allowed on the server because of one or more VAC bans."
      },
      "Options": {
        "Whitelist": []
      },
      "PrivateProfileBlocker": {
        "Enabled": true
      },
      "Settings": {
        "AnnounceToServer": false,
        "ChatPrefix": "Elements",
        "ChatPrefixColor": "950415",
        "LogToConsole": true,
        "SteamAPIKey": ""XXXXXXC474D9705D64DED6D5XXXXXX""
      },
      "VACBanBlocker": {
        "Enabled": true,
        "MinimumDaysSinceLastBan": 365,
        "NumberOfAllowedVACBans": 1
      }
    }
     
  10. Wulf

    Wulf Community Admin

    You have too many quotation marks around the API key.
     
  11. Cant believe I didn't notice that before -.-
    Sometimes it takes a fresh pair of eyes
     
  12. Does this still work?
     
  13. Wulf

    Wulf Community Admin

    Are you getting any errors?
     
  14. No errors, Ive not even tried it, Just wanted to know if it were still working.
     
  15. this should also kick players who have account without profiler.now some hackers go around this plugins that way.
     
  16. its not keep private profiler account out anymore.its kick 1time then they can join
     
  17. its not block anymore.its block vac banned players also 2 times then they go in.need to ban options this also.then its not goming another change
     
  18. plugins shutdown after 1 kick

    Code:
    23:18 [Error] Failed to call hook 'OnUserApprove' on plugin 'SteamProfiler v1.0.0' (InvalidCastException: Cannot cast from source type to destination type.)
    23:18 [Debug]  at Oxide.Plugins.SteamProfiler.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Jun 26, 2016
  19. this is important plugins for rok.its keep almost all cheaters out.but need also kick players without profiler.they have real proplem now.hackers who not create steam profile yet
     
    Last edited by a moderator: Jul 2, 2016
  20. 11:02 [Info] [Announcer] Announcer : ????? has joined the [8B0000]????!
    11:02 [Info] [GuildInfo] GuildInfo : Saving data for guildinfo
    11:02 [Warning] [Steam Profiler] Steam Profiler : [20B2AA]?????[00CC00] (76561198188505639) was not allowed on the server because of a private profile.
    11:02 [Info] [Announcer] Announcer : ????? has left the [8B0000]??????
    11:03 [Error] Failed to call hook 'OnUserApprove' on plugin 'SteamProfiler v1.0.0' (InvalidCastException: Cannot cast from source type to destination type.)
    11:03 [Debug] at Oxide.Plugins.SteamProfiler.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    11:03 [Info] [Announcer] Announcer : ??????? has joined the [8B0000]??????!
    11:05 [Info] [Kits] Kits : [20B2AA]?????[00CC00] ran the command /kit list
    11:05 [Info] [Kits] Kits : [20B2AA]??????[00CC00] ran the command /kit hourkit
    [DOUBLEPOST=1467533527][/DOUBLEPOST]?????=player or server name