When I put that in File Manager> \Legacy\save\oxide\data\cfg_kits.txt it does one of 2 things:
1. Doesn't let me connect to server at all. Just says Connected! in the place of the loading info (such is Growing trees, and all that). Never seen it before
2. When I load the kit is already has [] in the txt. If i put the default kit inside "[ ]" it will still let me connect, and when i am connected type in "/kit" it will say "Kits avialable: 1" But will not let me redeem a kit.
[DOUBLEPOST=1420227003][/DOUBLEPOST]Example: Using the "[ ]" that was already in the .txt. Screenshots: http://steamcommunity.com/id/streetw0lf/screenshots/
This one lets me connect to server.
Next, without the "[ ]" already in box. Doesn't let me connect. Screenshots are there also.
Code:[{ "Messages": { "KitList": "Avaible Kits", "CoolDown": "This kit is still in cooldown", "NoKitLeft": "You don't have any kits left for this kit", "NoPermissionKit": "You don't have enough permissions to use this kit", "NoKitAvaible": "You have no avaible kits", "ErrorKit": "This kit doesn't exist", "HelpMessage": "/kit - to get the list of kits" }, "Kits": { "twice": { "belt": [ { "amount": 1, "name": "Revolver" }, { "amount": 5, "name": "Large Medkit" } ], "wear": [ { "amount": 1, "name": "Hazmat Helmet" }, { "amount": 1, "name": "Hazmat Jacket" }, { "amount": 1, "name": "Hazmat Gloves" }, { "amount": 1, "name": "Hazmat Pants" }, { "amount": 1, "name": "Hazmat Boots" } ], "max": 2, "main": [ { "amount": 1, "name": "Foundation" }, { "amount": 250, "name": "Pistol Bullet" } ], "description": "Only 2 kits" }, "dayly": { "cooldown": 86400, "main": [ { "amount": 1, "name": "Foundation" }, { "amount": 250, "name": "Pistol Bullet" } ], "wear": [ { "amount": 1, "name": "Hazmat Helmet" }, { "amount": 1, "name": "Hazmat Jacket" }, { "amount": 1, "name": "Hazmat Gloves" }, { "amount": 1, "name": "Hazmat Pants" }, { "amount": 1, "name": "Hazmat Boots" } ], "belt": [ { "amount": 1, "name": "Revolver" }, { "amount": 5, "name": "Large Medkit" } ] }, "starter": { "belt": [ { "amount": 1, "name": "Revolver" }, { "amount": 5, "name": "Large Medkit" } ], "main": [ { "amount": 1, "name": "Foundation" }, { "amount": 250, "name": "Pistol Bullet" } ], "description": "infinite kit", "wear": [ { "amount": 1, "name": "Hazmat Helmet" }, { "amount": 1, "name": "Hazmat Jacket" }, { "amount": 1, "name": "Hazmat Gloves" }, { "amount": 1, "name": "Hazmat Pants" }, { "amount": 1, "name": "Hazmat Boots" } ] }, "moderator": { "belt": [ { "amount": 1, "name": "Revolver" }, { "amount": 5, "name": "Large Medkit" } ], "wear": [ { "amount": 1, "name": "Hazmat Helmet" }, { "amount": 1, "name": "Hazmat Jacket" }, { "amount": 1, "name": "Hazmat Gloves" }, { "amount": 1, "name": "Hazmat Pants" }, { "amount": 1, "name": "Hazmat Boots" } ], "moderator": true, "main": [ { "amount": 1, "name": "Foundation" }, { "amount": 250, "name": "Pistol Bullet" } ], "description": "for moderators" }, "admin": { "belt": [ { "amount": 1, "name": "Revolver" }, { "amount": 5, "name": "Large Medkit" } ], "wear": [ { "amount": 1, "name": "Hazmat Helmet" }, { "amount": 1, "name": "Hazmat Jacket" }, { "amount": 1, "name": "Hazmat Gloves" }, { "amount": 1, "name": "Hazmat Pants" }, { "amount": 1, "name": "Hazmat Boots" } ], "main": [ { "amount": 1, "name": "Foundation" }, { "amount": 250, "name": "Pistol Bullet" } ], "description": "for admins", "admin": true } }, "AutoKits": { "belt": [ { "amount": 1, "name": "Stone Hatchet" }, { "amount": 1, "name": "Foundation" }, { "amount": 1, "name": "Hammer" } ], "allowed": true, "RustDefaultKit": [ "Rock", "Torch" ], "overrideDefaultKit": true, "main": [], "wear": [] }, "AuthLevel": 1 }]
Rust-Kits
Moved
Total Downloads: 70,143 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018
- 4.96216/5, 185 likes
-
This is NOT à legacy plugin.
You need to go in resources to see the legacy plugins, not in plugins. -
Oh, I apologize for that. Thank you!
-
Has anyone got wood to spawn? I get this
Code:[Oxide] 4:46 PM [Error] kits: [string "kits.lua"]:208: attempt to index field 'A utoKits' (a nil value) at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unkn own>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System .Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (ob ject,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invoke
Last edited by a moderator: Jan 4, 2015 -
Your config is corrupted you need to delete it and let the plugin make it back.
-
It seems that Ive done 2 "starter" kits with different item results? Uncommon?
Im an admin on my server and did 2 tests. -
I know this is kinda nit-picky, and I fix it with my server, but could you fix the spelling mistakes? Makes my head hurt!
-
You can fix them in the configs
-
I know, I did, but being on other servers who don't just makes my OCD go nuts
At least fix the word "available". Thanks for the plugin Reneb, we all owe you a beer for all the work you did.
-
maybe a tool that creates a kits.lua file for you after selecting what you want in different kits?
-
Hi this plugin was working fine then all of a sudden it wasnt showing kits when i typed /kits, so i changed the data around in the config file of what the kits give, restarted server and then it was working again. then all of a sudden it doesnt show 2/3 kits i have for people. this is a error im getting now.
Code:[Oxide] 8:05 PM [Error] kits: [string "kits.lua"]:319: attempt to index global 'KitData' (a nil value) at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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: Jan 12, 2015 -
Wulf Community Admin
-
kits for VIPs, is it not yet?
-
Wulf Community Admin
-
anyone worked out if giving blueprints, what descriptive name to use?
-
Im having a issue with kits, Im using multiplay.
No matter what I do in the config file when i restart my server it always gives the default kit.
I want to remove the hazmat suit, add a key code and thasts it.
I go to the config and type 0 for the hazmat suit , add key code to the starter kit , no matter what , I could put zeros across the whole config , remove the revolver, no matter what I do it always goes back to the default after a restart.
What am I doing wrong because ive never had this problem before. -
Wulf Community Admin
-
Weird thing is I was changing the kits and it was working for a few restarts , then all of a sudden it went back to default and since then I cant seem to change it. -
Wulf Community Admin
-