Interface VoicechatServerStartingEvent

All Superinterfaces:
Event, ServerEvent

public interface VoicechatServerStartingEvent extends ServerEvent
  • Method Details

    • setSocketImplementation

      void setSocketImplementation(VoicechatSocket socket)
      Sets a custom implementation of the socket used for voice chat traffic.
      Parameters:
      socket - the custom socket implementation
    • getSocketImplementation

      @Nullable VoicechatSocket getSocketImplementation()
      Returns:
      the custom socket implementation or null to use voice chats default one