OK, so I started over. Reloaded the lua file, then let it create a new json file.
I went to the web console and typed in:
oxide.grant user 76561197985710728 whitelist
My json file did not change...so I either have the wrong syntax or I am doing this in the wrong place.
Whitelist [Unmaintained]
Discussion in 'Plugin Support' started by Wulf, Oct 16, 2014.
-
Wulf Community Admin
-
ownerid "76561197985710728" "Ben4jammin"
Added owner Ben4jammin, steamid 76561197985710728
[Oxide] 7:23 PM [Info] Loaded plugin Whitelist v0.3.1 by Wulfspider
> oxide.grant user 76561197985710728 whitelist
User '76561197985710728' not found
> oxide.grant user Ben4jammin whitelist
User 'Ben4jammin' not found
> oxide.grant user ben4jammin whitelist
User 'ben4jammin' not found
No idea why I am not found once I am added as owner
[DOUBLEPOST=1437190895][/DOUBLEPOST]Ok, as I suspected it was my "newbness" that was causing me to miss a step that may be assumed by more experienced people running Rust servers. Everything worked great...when I did it AFTER I LOGGED INTO THE SERVER AS A PLAYER
So, log into the server as a player (which will give you access to the chat commands)
THEN upload the file to install the whitelist plugin.
then all the commands work.
Just wanted to note this in case someone else was having the same issue. I saw one commenter that mentioned not being able to log into their server after installing whitelist.
My problem was I am starting a new server so I was looking at whitelist as part of the setup I would do BEFORE playing the server.
Anyway, thank you Wulf for making this plugin. I am not much of a programmer beyond the odd powershell script so this plugin is great and much appreciated -
Wulf Community Admin
-
Any chance of getting an example of what the DATA json file looks like? Plugin loads just fine, but my user data is empty - so even I can't get on the server to add players. You told one guy he could edit the file and reload the plugin at will. I just need to know what that format would look like so I can edit the file and add my users. Thanks
-
Wulf Community Admin
I have provided an example of the oxide/data/Whitelist.json file below, but I would recommend familiarizing yourself with the command method instead.
Code:{ "76561197960634567": "Wulf", "72581928381893892": "YourName" }
-
Thx Wulf. That got me up and running! Yay!
-
Hello , i just want to start off first with how new i am to the server admin/plugin side of things. i downloaded Whitlist and had it working perfectly fine but now it seems to have stoppd working and is allowing anyone to join? Is there something i should be looking at? or is it because after the latest update it stopped the pluggin from working/ out of date? any help would be greatly appreciated. Dont want randoms to join my server as its a family fun server to build and explore. Thanks again
-
Wulf Community Admin
-
Last edited by a moderator: Jul 29, 2015
-
Wulf Community Admin
-
I get this error... Please advise
Code:10:21 PM [Info] Loading Oxide core v2.0.1217... 10:21 PM [Info] Loading extensions... 10:21 PM [Info] Loaded extension CSharp v1.0.1217 by Oxide Team 10:21 PM [Info] Loaded extension JavaScript v1.0.1217 by Oxide Team 10:21 PM [Info] Loaded extension Lua v1.0.1217 by Oxide Team 10:21 PM [Info] Loaded extension MySql v1.0.1217 by Oxide Team 10:21 PM [Info] Loaded extension Python v1.0.1217 by Oxide Team 10:21 PM [Info] Loaded extension SQLite v1.0.1217 by Oxide Team 10:21 PM [Info] Loaded extension Unity v1.0.1217 by Oxide Team 10:21 PM [Info] Loaded extension Rust v1.0.1217 by Oxide Team 10:21 PM [Info] Using Covalence provider for game 'Rust' 10:21 PM [Info] Loading plugins... 10:21 PM [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team 10:21 PM [Info] Loaded plugin Rust Core v1.0.0 by Oxide Team 10:21 PM [Error] Failed to load plugin '1' (no source found) 11:22 PM [Info] Loaded plugin Whitelist v0.3.1 by Wulfspider 11:23 PM [Info] Loading Oxide core v2.0.1217... 11:23 PM [Info] Loading extensions... 11:23 PM [Info] Loaded extension CSharp v1.0.1217 by Oxide Team 11:23 PM [Info] Loaded extension JavaScript v1.0.1217 by Oxide Team 11:23 PM [Info] Loaded extension Lua v1.0.1217 by Oxide Team 11:23 PM [Info] Loaded extension MySql v1.0.1217 by Oxide Team 11:23 PM [Info] Loaded extension Python v1.0.1217 by Oxide Team 11:23 PM [Info] Loaded extension SQLite v1.0.1217 by Oxide Team 11:23 PM [Info] Loaded extension Unity v1.0.1217 by Oxide Team 11:23 PM [Info] Loaded extension Rust v1.0.1217 by Oxide Team 11:23 PM [Info] Using Covalence provider for game 'Rust' 11:23 PM [Info] Loading plugins... 11:23 PM [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team 11:23 PM [Info] Loaded plugin Rust Core v1.0.0 by Oxide Team 11:23 PM [Info] Loaded plugin Whitelist v0.3.1 by Wulfspider 11:23 PM [Error] Failed to load plugin '1' (no source found)
Last edited by a moderator: Jul 30, 2015 -
I downloaded the Whitelist.lua file from the site and added it to plugins folder via FTP. Then restarted the server. Other then that this oxide plugin site doesn't offer much help on how to get any of these plugins working. Or i'm just not seeing directions.
[DOUBLEPOST=1438229606][/DOUBLEPOST]latest log
Code:12:08 AM [Error] Failed to call hook 'cmdGrant' on plugin 'Rust Core' (DirectoryNotFoundException: Could not find a part of the path "c:\games\8_2_122_183_28016\1148501\ruste\server\1148501\oxide\data\oxide.users.json".) 12:08 AM [Debug] at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0 at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding) at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0 at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0 at Oxide.Core.DataFileSystem.WriteObject[Dictionary`2] (System.String name, System.Collections.Generic.Dictionary`2 Object) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.SaveUsers () [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.Permission.GrantUserPermission (System.String userid, System.String perm, Oxide.Core.Plugins.Plugin owner) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.cmdGrant (.Arg arg) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 12:11 AM [Error] Failed to call hook 'ConsoleCommand' on plugin 'Whitelist' File: Whitelist.lua Line: 129 Could not find a part of the path "c:\games\8_2_122_183_28016\1148501\ruste\server\1148501\oxide\data\Whitelist.json".: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0 at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding) at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0 at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0 at Oxide.Core.Configuration.DynamicConfigFile.Save (System.String filename) [0x00000] in <filename unknown>:0 at Oxide.Core.DataFileSystem.GetDatafile (System.String name) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Libraries.LuaDatafile.SaveDataTable (System.String name) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: Jul 30, 2015 -
Wulf Community Admin
-
my server does not show on the servers browser
pleaseeeee helpppppp!!!!! -
Wulf Community Admin
-
Wulf; I had whitelist working before the latest update....anyway I ran the command oxide.grant user nocturnalj whitelist from Rusty, it added whitelist permission to the oxide.user.json file in the data sub directory but did not add any information to the whitelist.json file in the data sub directory. I tried to add manually but I am still denied access due to not being whitelisted.
Appreciate any help, thank you -
Wulf Community Admin
-
Wulf...made some progress, was able to add myself using steam id, but got the following ([Oxide] 1:18 PM [Info] [Whitelist] Invalid player or Steam ID! Please try again) when trying to use the command whitelist add Nocturnalj I also tried whitelist add user Nocturnalj and whitelist add player Nocturnalj
Thoughts on what the issue is? -
Wulf Community Admin