SaulKits
This kits plugin is fairly simple, allows servers to add kits via the configure with their custom items. This is still a work in progress and this is just a base release.
Features Planned
- Kit enchants
- Vault API support [ADDED]
The features should be added soon.
If you need help my discord is GKasparov#0001
Configuration File
To gain a better understanding of how to configure SaulKits; please consult the configuration file carefully. Please note that by default Vault hook is disabled (To prevent crashing when the plugin is first added if Vault.jar isn't present). Vault Support requires Vault.jar in your plugins folder to work and can be toggled by setting vaultEnabled to true in the config.yml
Vault can be retrieved from https://www.spigotmc.org/resources/vault.34315/
Since the documentation is minimal, if you can read over the source code, it will give you a better idea of how this plugin works and how to hook it into other plugins.
Code (YAML):
clearInventory
: false
#Wether or not the player's inventory is cleared when the kit is given
kitSounds
: true
#Whether a sound is played from the kit
kitsListColor
: WHITE
#Color of the kits list. Ensure you use valid Bukkit ChatColor names which can be found in https://hub.spigotmc.org/javadocs/spigot/org/bukkit/ChatColor.html
#Create Kits here following the same structure as the 2 example kits. #In the "items" areas, ensure you put a semicolon and the amount you want of that given after each item name.
#For example, APPLE;3 . Furthermore, ensure you keep the same hierarchy in the configs. All Kit names should line up, the "items" words should line up, etc. The item names must be
#all caps. Item names can be found at https://www.digminecraft.com/lists/item_id_list_pc_1_12.php. Ensure you use the name not the IDs
vaultEnabled
: false
# Whether economy is added -- REQUIRES Vault IN PLUGINS FOLDER
kits:
Archer:
price
: 100
# price of the kit (Vault)
items
:
- GOLDEN_APPLE;1
- BOW;1
- ARROW;2
description
: Items for archers
#Ensure you set a valid description, even if empty, for each kit
SwordsMan:
price
: 100
# price of the kit (Vault)
items
:
- IRON_SWORD;1
- APPLE;1
description
: Items for swordsmen
#Ensure you set a valid description, even if empty, for each kit
#KIT PERMISSIONS WILL BE ADDED BASED ON THE NAMES OF EACH KIT
Permissions
Out-of-the-box, server operators have permissions to use any kit. Otherwise the permission nodes are in the format:
kits.kit.[KitName]
to use each kit