public class PlayerBestiaryConfigurationUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static WauzCore |
core
A direct reference to the main class.
|
Constructor and Description |
---|
PlayerBestiaryConfigurationUtils() |
Modifier and Type | Method and Description |
---|---|
private static java.io.File |
getPlayerBestiaryDataFile(org.bukkit.entity.Player player)
Gets a config file for a player bestiary.
|
protected static java.lang.Integer |
playerBestiaryConfigGetInt(org.bukkit.entity.Player player,
java.lang.String path)
Gets an int from a player bestiary config.
|
protected static void |
playerBestiaryConfigSet(org.bukkit.entity.Player player,
java.lang.String path,
java.lang.Object value)
Sets the given value in the player bestiary config.
|
private static WauzCore core
private static java.io.File getPlayerBestiaryDataFile(org.bukkit.entity.Player player)
player
- The player that owns the config file.protected static void playerBestiaryConfigSet(org.bukkit.entity.Player player, java.lang.String path, java.lang.Object value)
player
- The player that owns the config file.path
- The key path of the value to set.value
- The value to set.protected static java.lang.Integer playerBestiaryConfigGetInt(org.bukkit.entity.Player player, java.lang.String path)
player
- The player that owns the config file.path
- The key path of the value to get.