Class AccountUnlinkEvent
java.lang.Object
net.clementraynaud.skoice.common.api.events.SkoiceEventMinecraft
net.clementraynaud.skoice.common.api.events.account.AccountUnlinkEvent
- All Implemented Interfaces:
SkoiceEvent
Called when a Minecraft account is unlinked from its Discord account through in-game or Discord commands.
This event is fired after a link between a Minecraft player and Discord user
has been removed through the in-game or Discord commands. It is not fired when using
SkoiceAPI.unlinkUser(UUID).
Example usage:
eventBus.subscribe(AccountUnlinkEvent.class, event -> {
UUID minecraftId = event.getMinecraftId();
// Handle the account unlinking
});
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SkoiceEventMinecraft
getMinecraftId
-
Constructor Details
-
AccountUnlinkEvent
-