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