1. Wulf

    Wulf Community Admin

    Try with their Steam ID instead of their name.
     
  2. If the player did not yet tried to connect to the server, it says user "SteamID" not found.. Any ideas? :/
     
  3. Wulf

    Wulf Community Admin

    What is the exact command you used?
     
  4. grant user SteamID whitelist.allowed (via RCON)
     
  5. Wulf

    Wulf Community Admin

    What is the exact example though?
     
  6. I typed into the Rcon "grant user XXXXXXXXXX whitelist.allowed"
    What else do you mean?
     
  7. Wulf

    Wulf Community Admin

    What is the exact Steam ID. ;)
     
  8. doesn't matter, I tried multiple ones..
     
  9. Wulf

    Wulf Community Admin

    I can't help without seeing the exact example.
     
  10. for example this one doesn't work:
    grant user 76561197996754757 whitelist.allowed

    (other question: where is the config file located? ^^)
     
  11. Wulf

    Wulf Community Admin

    It doesn't have a config file. It does look like granting doesn't work like it used to though, so I'll have to look at fixing that.
     
  12. So I can pretty much do nothing now?
     
  13. Wulf

    Wulf Community Admin

    Not without having them connected. The other option is using the older version of the plugin that used a datafile instead.
     
  14. which version would that be?

    And is it possible to save the whitelist in an SQL database? So it would be very easy to add/remove users..


    EDIT: never mind, found it..
     
  15. Wulf

    Wulf Community Admin

    SQL is a bit overkill for it, but it is possible. The .lua version from Version History would be the old one.
     
  16. Might be "overkill" but easy to make an interface, can you tell me how it's possible? :)
     
  17. Wulf

    Wulf Community Admin

    It isn't supported right now, me or someone else would have to re-write the plugin to support it.
     
  18. we will stay on the manual write into data file for today and write an own plugin with sql the next days then I guess.. But thanks for your help :)
     
  19. Hi Wulf, this is first time a run a server for Rust but I can't make work this mod... everyone can join the server and I want that specific guys do it...

    there are the files:
    Code:
    {
      "Settings": {
      "ChatName": "WHITELIST",
      "Whitelist": [
      "7656xxxxxxxxxxxxxx",
      "7656xxxxxxxxxxxxxx",
      "7656xxxxxxxxxxxxxx",
      "7656xxxxxxxxxxxxxx",
      "7656xxxxxxxxxxxxxx",
      "7656xxxxxxxxxxxxxx",
      "7656xxxxxxxxxxxxxx",
      "7656xxxxxxxxxxxxxx"
      ]
      },
      "Messages": {
      "UnknownTarget": "Unknown player or SteamID! Please try again",
      "UnknownAction": "Unknown command action! Use add or remove",
      "Rejected": "Sorry, you are not whitelisted!",
      "PlayerAdded": "{player} has been added to the whitelist!",
      "PlayerRemoved": "{player} has been removed from the whitelist!",
      "NoPermission": "You do not have permission to use this command!",
      "NotWhitelisted": "{player} is not whitelisted!",
      "AlreadyAdded": "{player} is already whitelisted!",
      "HelpText": "Use /whitelist action steamid (or player name)"
      }
    }
    and the log file gives me an error but I don't understand how to fix it..
    Code:
    13:04 [Info] Loading Oxide Core v2.0.1840...
    13:04 [Info] Loading extensions...
    13:04 [Info] Loaded extension CSharp v1.0.1840 by Oxide Team
    13:04 [Info] Loaded extension JavaScript v1.0.1840 by Oxide Team
    13:04 [Info] Loaded extension Lua v1.0.1840 by Oxide Team
    13:04 [Info] Loaded extension MySql v1.0.1840 by Oxide Team
    13:04 [Info] Loaded extension Python v1.0.1840 by Oxide Team
    13:04 [Info] Loaded extension SQLite v1.0.1840 by Oxide Team
    13:04 [Info] Loaded extension Unity v1.0.1840 by Oxide Team
    13:04 [Info] Loaded extension Rust v1.0.1840 by Oxide Team
    13:04 [Debug] Cleanup file: c:\games\108_61_102_90_28016\1157806\ruste\mono-2.0.dll
    13:04 [Debug] Cleanup file: c:\games\108_61_102_90_28016\1157806\ruste\msvcr120.dll
    13:04 [Info] Using Covalence provider for game 'Rust'
    13:04 [Info] Loading plugins...
    13:04 [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team
    13:04 [Info] Loaded plugin Rust Core v1.0.0 by Oxide Team
    13:04 [Info] Whitelist was compiled successfully in 1660ms
    13:04 [Info] Loaded plugin Whitelist v1.0.1 by Wulf/lukespragg
    13:04 [Error] Failed to initialize plugin 'Whitelist v1.0.1' (JsonReaderException: Error reading string. Unexpected token: StartObject. Path 'Settings', line 2, position 16.)
    13:04 [Debug]  at Newtonsoft.Json.JsonReader.ReadAsStringInternal () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00000] in <filename unknown>:0
    13:04 [Info] Unloaded plugin Whitelist v1.0.1 by Wulf/lukespragg
    13:04 [Info] No previous version to rollback plugin: Whitelist
    13:04 [Error] Failed to load plugin '1' (no source found)
    can you please help me?
     

    Attached Files:

    Last edited by a moderator: Mar 31, 2016
  20. Wulf

    Wulf Community Admin

    That is not the config for this plugin anymore. There is no config for the current version, only what is shown on the Overview.