Whitelist

Moved

Total Downloads: 3,808 - First Release: May 25, 2016 - Last Update: Oct 25, 2016

5/5, 12 likes
  1. Wulf

    Wulf Community Admin

    Yes, that should be fine. If you're in the group after 60 seconds, it should let you in just fine. If you leave the group, you won't be able to connect once the plugin updates the list after 60 seconds. If you are in the 'admin' permissions group, you'll be allow to connect to matter what when AdminExcluded is set to true.
     
  2. okay all right .... i check it again its going or not :)
    [DOUBLEPOST=1471532761][/DOUBLEPOST]hey wulf :)

    thanks for your time man :)

    now its all the best ... the whitelist its working :)

    THANKS
     
  3. Wulf

    Wulf Community Admin

    Wulf updated Whitelist with a new update entry:

    2.2.1

     
  4. Nice, thanks for update!

    One more thing... please put in description that "UpdateInterval": 60 is in seconds, cuz now ppl can guessing this value is in minutes, hours, weeks :p
     
  5. Wulf

    Wulf Community Admin

    Pretty much all plugin time settings are in seconds, but okay. :p
     
  6. Hi guys,

    I've added this to our new server and i'm not whitelisted, yet i've added the STEAM Group ID i believe.

    {
    "AdminExcluded": true,
    "SteamGroup": "vortex-esports",
    "UpdateInterval": 60
    }

    Is this right? Restarted the server, I don't have access (yet i'm the owner of it). Once this is sorted then I can work on getting my other members auth'd but I can't auth myself as I can't get in game.

    cheers

    BTW What's the config text to add a users STEAM ID?
    {
    "AdminExcluded": true,
    "SteamID": "STEAM_0:0:00000000",
    "UpdateInterval": 60
    }
     
  7. Wulf

    Wulf Community Admin

    Steam IDs are not supposed in the config, the plugin uses the permission listed on the Overview instead; you'd simply grant that permission like the examples explain. The group thing should work fine though. http://steamcommunity.com/groups/vortex-esports/memberslistxml/?xml=1
     
  8. I'm doing something wrong (I assume) but after a few days of messing around, I'm not seeing it. I have this setup, but anyone looking up my server can access it still, whether they are in my steam group or not. Here's what I have (and I have reset the server and reloaded, etc)...

    Whitelist.json
    Code:
    {
      "AdminExcluded": true,
      "SteamGroup": "weemrs",
      "UpdateInterval": 60
    }
    
    Group URL: https://steamcommunity.com/groups/weemrs/memberslistxml/?xml=1

    I have the latest whitelist.cs in (have tried each of those last updated files, etc) and reloaded.

    I get the feeling I need to use the grant command to grant whitelist access to a group - but the group in Overview seems to relate to groups such as "admin" etc - and I don't see a way to associate a group like that to a steam group, such that I could then whitelist the grouped... group. The Overview gives me the impression I should be good, but random public players accessing the server tells me otherwise.

    Any help would be appreciated ;)
     
  9. I hope I'm not overstepping any rules or anything, but I thought I would give that previous post a bump having let it sit for a few days. Not to put a rush to anyone, I'm just excited to get it working ;)

    UPDATE:

    My logs today: At 21:32 I deleted the .cs and .json files I had (was testing the steamgroup plugin prior) but when I went back to the config, I saw the json for whitelist there again, so I deleted all files again, and grabbed a download again of the cs.

    At least this time it is failing "whitelist" vs "1" - something new (for me). [Seeing now this meant it was seeing no plugins - but it is now, so we continue]

    Code:
    21:24 [Info] Loading Oxide Core v2.0.2309...
    21:24 [Info] Loading extensions...
    21:24 [Info] Loaded extension CSharp v1.0.2309 by Oxide Team
    21:24 [Info] Loaded extension JavaScript v1.0.2309 by Oxide Team
    21:24 [Info] Loaded extension Lua v1.0.2309 by Oxide Team
    21:24 [Info] Loaded extension MySql v1.0.2309 by Oxide Team
    21:24 [Info] Loaded extension Python v1.0.2309 by Oxide Team
    21:24 [Info] Loaded extension SQLite v1.0.2309 by Oxide Team
    21:24 [Info] Loaded extension Unity v1.0.2309 by Oxide Team
    21:24 [Info] Loaded extension Rust v1.0.2309 by Oxide Team
    21:24 [Info] Using Covalence provider for game 'Rust'
    21:24 [Info] Loading plugins...
    21:24 [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team
    21:24 [Info] Loaded plugin Rust v1.0.0 by Oxide Team
    21:24 [Info] SteamGroup and Whitelist were compiled successfully in 2508ms
    21:24 [Info] Loaded plugin SteamGroup v0.1.0 by Wulf/lukespragg
    21:24 [Info] Loaded plugin Whitelist v2.2.1 by Wulf/lukespragg
    21:24 [Warning] The 'load' variable is unused and can be removed
    21:24 [Error] Failed to load plugin '1' (no source found)
    21:32 [Info] Unloaded plugin Whitelist v2.2.1 by Wulf/lukespragg
    21:32 [Info] Unloaded plugin SteamGroup v0.1.0 by Wulf/lukespragg
    21:36 [Info] Whitelist was compiled successfully in 2395ms
    21:36 [Info] Loaded plugin Whitelist v2.2.1 by Wulf/lukespragg
    21:36 [Info] Unloaded plugin Whitelist v2.2.1 by Wulf/lukespragg
    21:36 [Info] Loaded plugin Whitelist v2.2.1 by Wulf/lukespragg
    21:38 [Error] Failed to load plugin 'whitelist' (no source found)
    UPDATE 2: Confirmations

    1) I am on gameservers.com, and the server does support (and uses) Oxide 2.

    2) When I use "oxide.reload whitelist" via RCON I get the following (same as above):
    [Oxide] 21:44 [Error] Failed to load plugin 'whitelist' (no source found)

    But this seems good to me as well since prior to the download/reloading earlier tonight, I was getting an "Invalid Command" error.

    UPDATE 3: Might be set!

    Digging around here (another thread) I found something related to removing the -load from the start up commands. Doing that seems to have removed all errors, and I am even seeing a "Connected to Steam" message from RCON. About to do some tests now.
     
    Last edited by a moderator: Aug 24, 2016
  10. Wulf

    Wulf Community Admin

    Plugin names are case-sensitive. You can't use "reload whitelist" when the filename is Whitelist with a capital W, it'd need to be "reload Whitelist" instead.
    [DOUBLEPOST=1472041547,1472041466][/DOUBLEPOST]
    I've been working on the Steam group stuff for this and my other plugin, trying to work out some issues with them both. It should be working fine, but I'm trying to improve performance with large groups.
     
  11. Wulf

    Wulf Community Admin

    Wulf updated Whitelist with a new update entry:

    3.0.0

     
  12. I'm having a really strange issue. One of my instances of rust is a tiny 4 person version. One of the users was killed, the server kicked, and now they can't rejoin. People are also not allowed back in if they disconnect and try to rejoin. From the console:
    Code:
    96.60.163.67:62065/76561198284652519/PurplePrincess Rejecting connection - Told you. Now go away.
    Group 'whitelist.allowed' users: 76561198090375236 (Esplodin), 76561198102455152 (DrunkDrivin), 76561198243729222 (PunchBucket), 76561198284652519 (PurplePrincess)
    
    A server restart allows logins again, but when a user logs in I get this at the console:
    Code:
    [Oxide] 16:10 [Error] Failed to call hook 'CanUserLogin' on plugin 'Whitelist v3.0.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 16:10 [Debug]   at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsAdmin () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Whitelist.IsWhitelisted (System.String id) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Whitelist.CanUserLogin (System.String name, System.String id) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Whitelist.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
    (546.1, 11.6, 298.2)
    96.60.163.67:60274/76561198284652519/PurplePrincess joined [windows/76561198284652519]
     
    Last edited by a moderator: Aug 28, 2016
  13. Wulf

    Wulf Community Admin

    Which Oxide version are you using?
     
  14. Oxide 2.0.2321 for Rust 988.73 (1491)
     
  15. Wulf

    Wulf Community Admin

    Could you test this version please?
     
  16. I'll test it, but the file you linked is identical to the one I have on the server.
     
  17. Wulf

    Wulf Community Admin

    It isn't, there are minor changes.
     
  18. Same result. Here is a diff of the two files. The only change I see is in whitespace between the two. is this the right version of the file?
    Edit: trying not to sound like a dick :)
    Capture.PNG
     
  19. Wulf

    Wulf Community Admin

    Hmm, looks like I undid some changes and then re-did them. :p

    So nevermind, back to the drawing board.
     
  20. lol. Appreciate what you do!