Can you show us exactly how to do this in the files?
Rust-Kits
Moved
Total Downloads: 70,145 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018
- 4.96216/5, 185 likes
-
Follow these steps
- unload plugin
- delete kits_data.json file
- upload files I fixed
- reload plugin
- login to game type /kit and add them if server needs a restart do it
Attached Files:
-
-
-
Attached Files:
-
-
-
Put Kits.json in the path \\oxide\data
reload Kits.cs pluginAttached Files:
-
-
-
Seems like thats not working for me either... As i have done it before.
Do you have discord maybe? -
-
-
-
-
Go to this link to see the items
say you want Shorts
if you scroll down you see all custom ones so we will pick Homemade Shorts copy the name and paste it into the search box on this Site then add it to the item for the kit so it looks like this
Code:"itemid": -1695367501, "container": "wear", "amount": 1, "skinid": 818068257, "weapon": false, "mods": [] },
Last edited by a moderator: Jun 12, 2018 -
Attached Files:
-
-
-
[DOUBLEPOST=1528837894][/DOUBLEPOST]Attached Files:
-
-
Follow these steps
- unload plugin
- delete kits_data.json file
- upload files I fixed
- reload plugin
- login to game type /kit and add them if server needs a restart do it
Attached Files:
-
Thanks for your help i wont bother you anymore. -
You must have the items on your char before making each kit
After you make a kit with a permission it will have the kits. in front of it so for vip it will be Kits.vip for donator it will be Kits.donator just do what I posted below and it will auto add the Kits. in front of the permission.
The permission that you will now find in your kits.json file found in your oxide/data folder is what you will need to add to the new group you have set up for the special kit
/kit add "autokit"
/kit items description "This is the autokit" authlevel 2
/kit hide true
/kit add "daily"
/kit items description "Daily resources for being so devoted" cooldown 86400
/kit add "starter"
/kit items description "Help to get started, usable twice at 1hour interval" cooldown 3600
/kit add "sniper"
/kit items description "Help for them raids, usable twice at 1hour interval" cooldown 3600
/kit add "hunter"
/kit items description "Help to hunt them beasts, usable twice at 1hour interval" cooldown 3600
/kit add "blueprints"
/kit items description "Couple blueprints to help you start"
/kit add "donatorreward"
/kit items description "Donator reward" permission donator
/kit add "vip"
/kit items description "VIP reward" permission vip
/kit add "moderator"
/kit items description "Moderator Kit" authlevel 1
/kit add "admin"
/kit items description "Admin Kit" authlevel 2
There are unlimited AutoKits, there is now the ability to add as many "AutoKits" as you want.
"AutoKits extends the default autokit functionality but gives the customization of having multiple different autokits. On respawn this plugin will check any entries in the config and if the player has permission will give the kit. To configure an autokit simply provide a permission name (you can make this up --> see example) and a kit name (this kit must exist). So for example, if you have a kit named guns.. you might make an autokit of: "guns", "guns". Once you reload Kits it will automatically register permission: Kits.guns ... if you give this permission to a group or player they will get the gun kit on EVERY respawn."
Here is an example of what the config could look like:
Code:"AutoKits": { "autoadmin": "autoadmin", "autovip": "autovip", "autoyoutube": "autoyoutube", "defaultauto": "defaultauto" }
On reload of Kits it will automatically register "Kits.the value on the left side"... so Kits.autoadmin .. Kits.autovip.
Now, this can sound confusing but that is because it is so simple that we all overthink it.
So the left hand side is the permission that will be created... be default ALL permissions must be registered with the Plugins name.. therefore it makes it Kits. + your permission name...
YOU DO NOT NEED TO CREATE PERMISSIONS.. the plugin does it automatically on load.
The right hand side is the kit, which you have already created and exists in the Kits.json within the Data folder.
Now, if a player has say Kits.autoadmin .. then on respawn they will get the autoadmin kit.
If they have more then one, they get them both/all.
I find its easier to add the permission to the group this way you don't need to add it to every user on your server the default group will get whatever autokit you decide then you have the option to add better auto kits to custom groups like Vip or Donation groups
Make sure you remove the kit1 and kit2 and replace with your real kit names from the kits.json in your data folder