Package net.lewmc.kryptonite.kos.config
Class Bukkit
java.lang.Object
net.lewmc.kryptonite.kos.config.Bukkit
The Bukkit class manages the bukkit.yml configuration file.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumConfiguration values supported by this format. -
Constructor Summary
ConstructorsConstructorDescriptionBukkit(Kryptonite plugin, org.bukkit.command.CommandSender user) Constructor for the Bukkit class. -
Method Summary
Modifier and TypeMethodDescriptionintgetInt(Bukkit.Key key) Gets a requested key's value.voidsetInt(Bukkit.Key key, int value) Sets a requested key to a requested value.
-
Constructor Details
-
Bukkit
Constructor for the Bukkit class.- Parameters:
plugin- Kryptonite - Reference to the main plugin class.user- CommandSender - The user who sent the command.
-
-
Method Details
-
setInt
Sets a requested key to a requested value.- Parameters:
key- Key - The requested key.value- int - The requested value.
-
getInt
Gets a requested key's value.- Parameters:
key- Key - The requested key.
-