You'd only 'have' to edit the Kits.json configuration file if you'd want/need to change the language the messages are written in or if you'd need to set a different permission group that is able run the admin commands to create kits. All the kits (Kits.json data file) can be created in-game by using the chat commands mentioned in the plugin overview.
Kits.json config:
Kits.json data:Code:{ "AdminMessages": { "KitAutoKitLimit": "You can only have one kit set as an AutoKit", "KitCreated": "You have created the kit '{0}'.", "KitCreatedInventoryFlag": "{0} items have been added to the kit.", "KitExists": "A kit with the name '{0}' already exists.", "KitItemAdded": "Added item {0} ({1}) to the kit {2}.", "KitItemDoesNotExist": "The item {0} does not exist. Check /itemlist for a list of available items.", "KitItemNotFound": "Couldn't find the item {0}.", "KitItemRemoved": "Removed item {0} from the kit {1}.", "KitRemoved": "You have removed the kit '{0}'.", "KitReset": "Kits data was reset for {0}", "KitValueUpdated": "You have set the {0} option on kit {1} to {2}." }, "Dictionary": { "AllKits": "all kits", "Cooldown": "Cooldown:", "Day": "day", "Days": "days", "Hour": "hour", "Hours": "hours", "Minute": "minute", "Minutes": "minutes", "Permission": "Permission:", "RemainingCooldown": "Remaining cooldown:", "RemainingUses": "Remaining uses:", "Reset": "Reset:", "Second": "second", "Seconds": "seconds", "Uses": "Uses:" }, "HelpMessages": { "RedeemKit": "You can redeem a kit by using the command [CCCCCC]/kit <name>[FFFFFF], where <name> is the kit you want to redeem.", "ShowKits": "You can view all the available kits by using the command [CCCCCC]/kit list" }, "Messages": { "InvalidArguments": "Invalid arguments supplied, check /kit help for the available options.", "KitCantRedeemAutokit": "You can't manually redeemed an autokit.", "KitList": "The following kits are available:", "KitNoPermission": "You are not allowed to redeem this kit.", "KitNoRoom": "You can't redeem the kit '{0}' because you don't have enough room in your inventory ({1} slots needed).", "KitNotFound": "A kit with the name '{0}' does not exist.", "KitNoUsesLeft": "You have reached your limit for this kit.", "KitOnCooldown": "This kit is on cooldown. You can't use this kit for another {0}.", "KitRedeemed": "You have redeemed a kit: {0}.", "KitUsesReset": "Uses reset after {0}.", "KitUsesResetRemaining": "{0} until your uses reset.", "NoKitsAvailable": "There are no kits available right now.", "NotAllowed": "You are not allowed to use this command!" }, "Permissions": { "UseOxidePermissions": false, "UseRoKPermissions": true }, "Settings": { "AdminPermission": "admin", "ChatPrefix": "Kits", "ChatPrefixColor": "950415", "LogToConsole": false } }
Code:{ "KitsData": [ { "Name": "Wood", "Description": "Some wood to get you started", "Enabled": false, "Permission": null, "Cooldown": 0, "Uses": 1, "UsesReset": 0, "Stacks": 2, "Items": [ { "Name": "Wood", "Amount": 2000 } ] } ], "KitsPlayerData": [] }
Kits
Allow players to redeem sets of items
Total Downloads: 3,383 - First Release: May 15, 2015 - Last Update: May 18, 2015
- 5/5, 19 likes
-
I was wondering if there is a way I can set a kit as Admin only, but have the ability to give the kit to people?
For example I can:
/give (item) 1 (username)
Can I (or is it even possible):
/kit (kitname) give (username)
[DOUBLEPOST=1433529641][/DOUBLEPOST]
I have "owner", "admin", "admin2", "admin3", and "admin4". Can I give permission for just owner and admin, but not the rest? -
Hey I was wondering if a plugin to control resource output from rocks, trees etc. was in the works. Also is a /tpr, /tpa plugin possible?
-
Great plugin!
Wondering if there is a plan to add Autokits?
Would eliminate a lot of the "How do I get a starting kit?" questions from new players. -
-
I understand. We all appreciate every plugin you make, Mughisi!
-
Well, I can't seem to get kits working I do /kit modify starterkit additem stone hatchet doesnt work cause of the space thing but I want a pre made someone can cook up for me thats a good starter kit. With only 1 time use because im having problems
-
i'm having an issue where any kit assigned to a group for example admin can't limit the uses so therefore it can be spammed. Trying to add donator kits but they can spam redeem them even tho I set a -uses and -reset command when I created the kit. -uses and -reset still work for non permission needed kits.
Last edited by a moderator: Jun 28, 2015 -
how i add Permissions to me owner ? ?
-
-permission owner
-
I'm having trouble with kits on my server, I'm not sure what to put under item name everytime i put it down it says item doesn't exist or something like that so I need someone to edit this kits.json I can send them 1 dollar via paypal if they do it.
Code:{ "KitsData": [ { "Name": "Steelkit", "Description": "Steel Kit", "Enabled": false, "Permission": null, "Cooldown": 0, "Uses": 1, "UsesReset": 0, "Stacks": 0, "Items": [] } ], "KitsPlayerData": [ { "Id": "76561198133113492", "Name": "Kyrotix", "Data": [] } ] }
(Full Steel Armor) + Steel Greatword + Steel sword
I also want the reinforced iron blocks to be 250 only 1 use.
A Leather kit reedemable every 30 minutes. Unlimted uses.
(Full leather armor) + Iron battle axe + Iron sword
Will raise the amount to $3 via paypal if someone can dedicate there time to do this.Last edited by a moderator: Jul 9, 2015 -
Hello Friends..
Sorry for mi bed Englisch, and so i have big Problems to Make a Start Kit for mi German Server.
I wont to make One Starter Kit for new People when there Tipe / Kit StarterKit , the become (all 7 Days) One Stone Pickacke, One Stone Axe One, One Lether Crest, 1K Wood and 1K Stone.
Can you Pls Help me to Write The Script?
Thank you werry mutch from www.rok-gaming.de -
Hello, I have uploaded the kits.cs but when i type any of the commands i get nothing .. the kits.cs is laoded here with the other plugins . /1171730/rok/ROK_Data/Plugins
what else do i have to do to get this working?
Thanks -
Wulf Community Admin
-
when you say console .. you mean ??? in game if i type /help kits .. i get nothing
-
Wulf Community Admin
-
i see a compiler
Code:[SERVER] Started as service [SERVER] Running as service [SERVER] Got Message: Ready [SERVER] Got Message: Compile [SERVER] Console: Kits.cs(149,25): warning CS0649: Field `Oxide.Plugins.Kits.KitData.Enabled' is never assigned to, and will always have its default value `false' [SERVER] Got Message: Compile [SERVER] Console: Jail.cs(226,17): warning CS0472: The result of comparing value type `UnityEngine.Vector3' with null is always `false' Jail.cs(226,38): warning CS0162: Unreachable code detected Jail.cs(501,21): warning CS0162: Unreachable code detected Jail.cs(74,14): warning CS0414: The private field `Oxide.Plugins.Jail.hasSpawns' is assigned but its value is never used [SERVER] Connection closed. Shutdown [SERVER] Started as service [SERVER] Running as service [SERVER] Got Message: Ready [SERVER] Got Message: Compile [SERVER] Console: Jail.cs(226,17): warning CS0472: The result of comparing value type `UnityEngine.Vector3' with null is always `false' Jail.cs(226,38): warning CS0162: Unreachable code detected Jail.cs(501,21): warning CS0162: Unreachable code detected Jail.cs(74,14): warning CS0414: The private field `Oxide.Plugins.Jail.hasSpawns' is assigned but its value is never used Kits.cs(149,25): warning CS0649: Field `Oxide.Plugins.Kits.KitData.Enabled' is never assigned to, and will always have its default value `false'
-
Our Kits seem to be doing something new that was not happening before. Several are set to reset every seven days and were giving the proper countdown. Now, they are staying at 7 days no matter what. Has anyone had this issue?
-
Any suggestions on my problem? I might have went about addign the plugin wrong .. but all the other ones seem to work ...
-
Wulf Community Admin