Package net.lewmc.kryptonite.kos.config
Class PaperWorld
java.lang.Object
net.lewmc.kryptonite.kos.config.PaperWorld
The PaperWorld class manages the paper-world-defaults.yml configuration file.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumConfiguration values supported by this format. - 
Constructor Summary
ConstructorsConstructorDescriptionPaperWorld(Kryptonite plugin, org.bukkit.command.CommandSender user) Constructor for the PaperWorld class. - 
Method Summary
Modifier and TypeMethodDescriptionbooleangetBoolean(PaperWorld.Key key) Gets a requested key's value.intgetInt(PaperWorld.Key key) Gets a requested key's value.getObject(PaperWorld.Key key) Gets a requested key's value.getString(PaperWorld.Key key) Gets a requested key's value.voidsetBoolean(PaperWorld.Key key, boolean value) Sets a requested key to a requested value.voidsetInt(PaperWorld.Key key, int value) Sets a requested key to a requested value.voidsetString(PaperWorld.Key key, String value) Sets a requested key to a requested value. 
- 
Constructor Details
- 
PaperWorld
Constructor for the PaperWorld 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.
 - 
setBoolean
Sets a requested key to a requested value.- Parameters:
 key- Key - The requested key.value- int - The requested value.
 - 
getBoolean
Gets a requested key's value.- Parameters:
 key- Key - The requested key.
 - 
getObject
Gets a requested key's value.- Parameters:
 key- Key - The requested key.
 - 
getString
Gets a requested key's value.- Parameters:
 key- Key - The requested key.
 - 
setString
Sets a requested key to a requested value.- Parameters:
 key- Key - The requested key.value- int - The requested value.
 
 -