Class PlayersDB
java.lang.Object
com.gamersafer.minecraft.auth.common.db.repo.PlayersDB
- All Implemented Interfaces:
IPlayerStorage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(PlayerEntry player) exists
(UserIdentity identity) get
(UserIdentity identity) getAltsForGuildMemberId
(String guildMemberId) getAltsForHostAddress
(String hostAddress) getOrCreate
(UserIdentity identity) getUUIDForPlayerName
(String playerName) void
shutdown()
update
(PlayerEntry player) update
(PlayerEntry player, @NonNull String oldGuildMemberId)
-
Constructor Details
-
PlayersDB
-
-
Method Details
-
shutdown
public void shutdown()- Specified by:
shutdown
in interfaceIPlayerStorage
-
add
- Specified by:
add
in interfaceIPlayerStorage
-
update
- Specified by:
update
in interfaceIPlayerStorage
-
update
- Specified by:
update
in interfaceIPlayerStorage
-
getAltsForGuildMemberId
- Specified by:
getAltsForGuildMemberId
in interfaceIPlayerStorage
-
getAltsForHostAddress
- Specified by:
getAltsForHostAddress
in interfaceIPlayerStorage
-
getAllPlayerNames
- Specified by:
getAllPlayerNames
in interfaceIPlayerStorage
-
getUUIDForPlayerName
- Specified by:
getUUIDForPlayerName
in interfaceIPlayerStorage
-