Package net.lewmc.essence.utils
Class KitUtil
java.lang.Object
net.lewmc.essence.utils.KitUtil
The Essence Kit utility.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
KitUtil
Constructor for the KitUtil class.- Parameters:
plugin
- Reference to the main Essence class.player
- The player the class should reference.
-
-
Method Details
-
giveKit
Gives the user referenced in the constructor the kit specified.- Parameters:
kit
- String - the kit to give the user.- Returns:
- int - Result of operation. 0 = Successful, 1 = No Permission, 2 = Kit is missing.
-