Class KickManager
java.lang.Object
com.gamersafer.minecraft.auth.common.kick.KickManager
-
Constructor Summary
ConstructorDescriptionKickManager
(IKickStorage db, ReportLogManager reportLogManager, IntegrationManager integrationManager) -
Method Summary
Modifier and TypeMethodDescriptiongetKicks
(UserIdentity identity) importKicks
(List<Kick> kicks) kickUser
(String organization, @Nullable String uniqueServerId, Date kickTime, @Nullable String guildMemberId, UUID playerUuid, String playerName, @Nullable String reporterGuildMemberId, UUID reporterPlayerUuid, String reporterPlayerName, Category category, boolean wasChildInvolved, String reason) void
shutdown()
-
Constructor Details
-
KickManager
public KickManager(IKickStorage db, ReportLogManager reportLogManager, IntegrationManager integrationManager)
-
-
Method Details
-
kickUser
public CompletableFuture<Kick> kickUser(String organization, @Nullable String uniqueServerId, Date kickTime, @Nullable String guildMemberId, UUID playerUuid, String playerName, @Nullable String reporterGuildMemberId, UUID reporterPlayerUuid, String reporterPlayerName, Category category, boolean wasChildInvolved, String reason) -
getKicks
-
importKicks
-
shutdown
public void shutdown()
-