public class PlayerManager extends SerializingComponent
Modifier and Type | Field and Description |
---|---|
protected FactionProvider |
factionProvider |
protected Map<UUID,io.lumine.utils.serialization.WrappedJsonFile<PlayerData>> |
playerData |
Constructor and Description |
---|
PlayerManager(MythicMobs core) |
Modifier and Type | Method and Description |
---|---|
PlayerData |
getPlayerData(AbstractPlayer player) |
void |
load(MythicMobs plugin) |
protected io.lumine.utils.serialization.WrappedJsonFile<PlayerData> |
loadPlayerData(AbstractPlayer player) |
void |
registerFactionProvider(FactionProvider provider) |
void |
saveAll() |
void |
unload() |
doBinding, getBasedir, getGSON, getModuleDirectory, getModuleFile, getModuleFiles, getModuleFiles, loadFile, loadJson, saveFile, saveJson
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected Map<UUID,io.lumine.utils.serialization.WrappedJsonFile<PlayerData>> playerData
protected FactionProvider factionProvider
public PlayerManager(MythicMobs core)
public void load(MythicMobs plugin)
load
in class io.lumine.utils.plugin.PluginModule<MythicMobs>
public void unload()
unload
in class io.lumine.utils.plugin.PluginModule<MythicMobs>
public void registerFactionProvider(FactionProvider provider)
public PlayerData getPlayerData(AbstractPlayer player)
protected io.lumine.utils.serialization.WrappedJsonFile<PlayerData> loadPlayerData(AbstractPlayer player)
public void saveAll()
Copyright © 2020. All rights reserved.