Rust-Kits
Moved
Total Downloads: 70,148 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018
- 4.96216/5, 185 likes
-
What you put into the config it will work just make sure you reload the plugin after editing the json file
-
@Resistance - Yeah I tried that, still no workie
-
upload the file so I can see what you done
-
Here you go, thank you!
Attached Files:
-
-
try this I set it to k and also fixed your GUI as you had it wrong
Attached Files:
-
-
Everytime I make a kit no one can redeem it, Its there and says kit redeemed but nobody gets anything
-
You only made the kit name but never saved the items to it see my post on page 324
-
Hello, I wanted to know how to withdraw the permission of people without admin on the server, because normal players are able to create and remove kits.
-
only admins can so you must of made them an admin or did you edit the plugin script
-
Does anyone know if Kits you've already made stay after a server wipe?
-
Kits data is stored under the Oxide/Data folder, so if you do not delete the files in that folder your kits will remain available after a wipe.
-
Thank you @Resistance I appreciate the help. I'll take a look at this tonight when I'm home.
-
Every time I add a kit to the GUI my GUI stops working, all I see is a blank GUI with no text on it, I have remove the plugin and loaded it fresh and made a new kit and added it to the GUI and still get the same thing, I have checked the JSON files for validity and they are fine
-
kit removing with error and data doesn't clear
Attached Files:
-
-
Non platform assembly: data-00000000D388B040 (this message is harmless)
Fallback handler could not load library D:/TCAFiles/Users/DavidD/505/RustDedicated_Data/Mono/data-00000000D388B040.dll
Failed to initialize plugin 'Kits v3.2.9' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits.Init () [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 (Oxide.Core.Plugins.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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
[DOUBLEPOST=1517619720][/DOUBLEPOST]
I think I worked out how to fix. As to the cause? I have no idea. For some reason, the "config/kits.json" file was 0 size. So I deleted it, as well as the "plugin/kits.cs" file, then reinstalled it, and things are back to normal.
Added this in case, it helps anyone. -
Any one else have a blank GUI on Kits and know of a fix? I currently have it disabled but for some reason I can't see kits nor see Add Kit button or Close Button ultimately forcing a relaod using o.reload Kits each time. I have also ran o.grant group admin kits.admin
Attached Files:
-
-
I'm having the same problem. If I remove the cs file and all it's config files and then re-upload the cs file it works but if I add a kit to the GUI it stops working again
-
Yep. Exactly what I've noticed. For now, until someone knows of a fix for the Kits GUI, I changed the 0 to a 1 in the .json config file. (So it doesn't all break for users and can still use Kits Plugin via Chat).
Code:{ "NPC - GUI Kits": { "1": { <---- This line to a 1 instead of 0 to use Kits in Chat vs. GUI. "description": "Welcome on this server! Here is a list of free kits that you can get.<color=green>Enjoy your stay</color>", "kits": [ "kit1", "kit2", "autokit" ] -
Please people remove the
"kit1",
"kit2"
From the kit GUI part of the config these are only samples if you get errors or problems you only have yourself to blame


