Alright, I've been testing this plugin, seemed to work fine, created basic kit, added cooldown, it worked, until I start getting this error after saving and restarting server:
The fix I found is when I delete Kits_Data.json and after a while it starts again... /kit doesn't even show up anything and it does not reddem my desired kit until I repeat same process by removing Kits_data again...Code:00:05 [Error] Failed to call hook 'OnServerSave' on plugin 'Kits v3.1.7' (IOException: Invalid parameter) 00:05 [Debug] at System.IO.FileStream.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 at System.IO.Stream.Close () [0x00000] in <filename unknown>:0 at System.IO.StreamWriter.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 00:07 [Error] Failed to call hook 'OnServerSave' on plugin 'Kits v3.1.7' (IOException: Sharing violation on path /home/rust/serverfiles/server/rust-server/oxide/data/Kits_Data.json) 00:07 [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.Configuration.DynamicConfigFile.WriteObject[Dictionary`2] (System.Collections.Generic.Dictionary`2 config, Boolean sync, System.String filename) [0x00000] in <filename unknown>:0 at Oxide.Core.DataFileSystem.WriteObject[Dictionary`2] (System.String name, System.Collections.Generic.Dictionary`2 Object, Boolean sync) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.SaveKitsData () [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.OnServerSave () [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 00:08 [Info] Loading Oxide Core v2.0.1834... 00:08 [Info] Loading extensions... 00:08 [Info] Loaded extension CSharp v1.0.1834 by Oxide Team 00:08 [Info] Loaded extension JavaScript v1.0.1834 by Oxide Team 00:08 [Info] Loaded extension Lua v1.0.1834 by Oxide Team 00:08 [Info] Loaded extension MySql v1.0.1834 by Oxide Team 00:08 [Info] Loaded extension Python v1.0.1834 by Oxide Team 00:08 [Info] Loaded extension SQLite v1.0.1834 by Oxide Team 00:08 [Info] Loaded extension Unity v1.0.1834 by Oxide Team 00:08 [Info] Loaded extension Rust v1.0.1834 by Oxide Team 00:08 [Debug] Cleanup file: /home/rust/serverfiles/mono-2.0.dll 00:08 [Debug] Cleanup file: /home/rust/serverfiles/msvcr120.dll 00:08 [Info] Using Covalence provider for game 'Rust' 00:08 [Info] Loading plugins... 00:08 [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team 00:08 [Info] Loaded plugin Rust Core v1.0.0 by Oxide Team 00:08 [Info] GatherManager, Kits and StackSizeController were compiled successfully in 2349ms 00:08 [Info] Loaded plugin Gathering Manager v2.2.3 by Mughisi 00:08 [Info] Loaded plugin Kits v3.1.7 by Reneb 00:08 [Info] Loaded plugin Stack Size Controller v1.9.0 by AnExiledGod 00:13 [Error] Failed to call hook 'cmdChatKit' on plugin 'Kits v3.1.7' (NullReferenceException: Object reference not set to an instance of an object) 00:13 [Debug] at Oxide.Plugins.Kits.GetKitData (UInt64 userID, System.String kitname) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.CanSeeKit (.BasePlayer player, System.String kitname, Boolean fromNPC, System.String& reason) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.cmdChatKit (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 00:14 [Error] Failed to call hook 'cmdChatKit' on plugin 'Kits v3.1.7' (NullReferenceException: Object reference not set to an instance of an object) 00:14 [Debug] at Oxide.Plugins.Kits.GetKitData (UInt64 userID, System.String kitname) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.CanSeeKit (.BasePlayer player, System.String kitname, Boolean fromNPC, System.String& reason) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.cmdChatKit (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 00:15 [Info] Kits was compiled successfully in 2056ms 00:15 [Info] Unloaded plugin Kits v3.1.7 by Reneb 00:15 [Info] Loaded plugin Kits v3.1.7 by Reneb
Rust-Kits
Moved
Total Downloads: 70,199 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018
- 4.96216/5, 185 likes
-
Attached Files:
-
-
[DOUBLEPOST=1459117418][/DOUBLEPOST]Attached Files:
-
-
[DOUBLEPOST=1459173960,1459120850][/DOUBLEPOST]Okay...still getting error:
Code:Saved 4,047 ents, serialization(0.00), write(0.00), disk(0.00) totalstall(0.01). Saving complete [Oxide] 16:57 [Error] Failed to call hook 'OnServerSave' on plugin 'Kits v3.1.7' (IOException: Sharing violation on path /home/rust/serverfiles/server/rust-server/oxide/data/Kits_Data.json) [Oxide] 16:57 [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.Configuration.DynamicConfigFile.WriteObject[Dictionary`2] (System.Collections.Generic.Dictionary`2 config, Boolean sync, System.String filename) [0x00000] in <filename unknown>:0 at Oxide.Core.DataFileSystem.WriteObject[Dictionary`2] (System.String name, System.Collections.Generic.Dictionary`2 Object, Boolean sync) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.SaveKitsData () [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.OnServerSave () [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 Saved 4,048 ents, serialization(0.00), write(0.00), disk(0.00) totalstall(0.01). Saving complete [Oxide] 17:02 [Error] Failed to call hook 'OnServerSave' on plugin 'Kits v3.1.7' (IOException: Sharing violation on path /home/rust/serverfiles/server/rust-server/oxide/data/Kits_Data.json) [Oxide] 17:02 [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.Configuration.DynamicConfigFile.WriteObject[Dictionary`2] (System.Collections.Generic.Dictionary`2 config, Boolean sync, System.String filename) [0x00000] in <filename unknown>:0 at Oxide.Core.DataFileSystem.WriteObject[Dictionary`2] (System.String name, System.Collections.Generic.Dictionary`2 Object, Boolean sync) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.SaveKitsData () [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.OnServerSave () [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
how to hide kit from people that dont have perms?
-
-
-
It says I do not have permission to create kits, anyone know the permission node??
-
-
-
-
[DOUBLEPOST=1459219012][/DOUBLEPOST] -
tell me your steam64 id and in game name
-
76561198288604628 Silence
-
ownerid 76561198288604628 "Silence" "Owner"
Then type
server.writecfg
Then relog if in gameLast edited by a moderator: Mar 29, 2016 -
I came up with another issue after creating 2 kits I came across a problem when I try to create a kit saying " you are not creating a kit"
-
-
-
how to edit kits data? i wanna change max limit of my players after 30 times use, but when i change 30 to 0 and reload kit plugin nothing changed to max limit, plz help
-
is there a way to stop people from opening kits they dont have perms to even admins? as well some other questions would love help if someone wants to get on ts at ts3.xtcr.net
-
Ok so how do I make a kit for a specific usergroup like veterans or moderator?