public class PlayerRelationConfigurator extends PlayerRelationConfigurationUtils
Constructor and Description |
---|
PlayerRelationConfigurator() |
Modifier and Type | Method and Description |
---|---|
static int |
getRelationProgress(org.bukkit.entity.Player player,
java.lang.String citizen) |
static void |
setRelationProgress(org.bukkit.entity.Player player,
java.lang.String citizen,
int progress) |
playerRelationConfigGetInt, playerRelationConfigSet
public static int getRelationProgress(org.bukkit.entity.Player player, java.lang.String citizen)
player
- The player that owns the config file.citizen
- The citizen that the config belongs to.public static void setRelationProgress(org.bukkit.entity.Player player, java.lang.String citizen, int progress)
player
- The player that owns the config file.citizen
- The citizen that the config belongs to.progress
- The new relation progress between player and citizen.