Class SystemInterruptionEvent

java.lang.Object
net.clementraynaud.skoice.common.api.events.system.SystemInterruptionEvent
All Implemented Interfaces:
SkoiceEvent

public class SystemInterruptionEvent extends Object implements SkoiceEvent
Called when the proximity voice chat system is interrupted.

This event is fired when proximity voice chat stops running. After this event, SkoiceAPI.isSystemReady() will return false, and all players will be considered disconnected from proximity chat.

A SystemReadyEvent will be fired if proximity chat becomes operational again.

Example usage:

eventBus.subscribe(SystemInterruptionEvent.class, event -> {
    // Proximity chat is no longer running
});
See Also:
  • Constructor Details

    • SystemInterruptionEvent

      public SystemInterruptionEvent()