Change the Config to show kits with permission to non permission holders true or false,
{
"Currency used for purchase costs (Scrap, Economics, ServerRewards)": "Scrap",
"Log kits given": true,
"Wipe player data when the server is wiped": false,
"Use the Kits UI menu": true,
"Allow players to toggle auto-kits on spawn": false,
"Show kits with permissions assigned to players without the permission": true,
"Autokits ordered by priority": [
"autokit",
"OtherKitName"
Edit the DATA file with the plugin
unloaded or the server down or it will not save any changes,The files are now in a folder in data section and contains two json files
kits_data.json (which you edit)
player_data.json (which you can delete after the wipe to clear players usage(s) it is recreated when server reloads plugin on startup
I always (with files this large) copy/paste it into a "new text" file so i can edit it the way i want it then (making sure plugin is unloaded) replace the original with the edited one/save/reload plugin.
"_kits": {
"autokit": {
"Name": "autokit",
"Description": "a nice surprise",
"RequiredPermission": "",
"MaximumUses": 10,
"RequiredAuth": 0,
"Cooldown": 3600,
"Cost": 0,
"IsHidden": true,
"CopyPasteFile": "",
"KitImage": "",
"MainItems": [
{
"Shortname": "blueberries",
"Skin": 0,
"Amount": 200,
"Condition": 0.0,
"MaxCondition": 0.0,
"Ammo": 0,
"Ammotype": null,
"Position": 0,
"Frequency": -1,
"BlueprintShortname": null,
"Contents": null
},
{
*testing
I removed my permission as admin and got the chat message "You must either be a admin, or have the admin permission to use that command" when i typed /kit add <kitname> ,
When i typed /kit list it only showed me the kits that were available to me or i had the permissions for (not admin or autokit)