Class SubStartedEvent

java.lang.Object
org.spongepowered.api.event.impl.AbstractEvent
net.ME1312.SubServers.Client.Sponge.Event.SubStartedEvent
All Implemented Interfaces:
SubEvent, Event

public class SubStartedEvent extends AbstractEvent implements SubEvent
Server Started Event
  • Constructor Details

    • SubStartedEvent

      public SubStartedEvent(String server)
      Server Started Event
      This event can only be called when a SubData connection is made!
      Parameters:
      server - Server that Started
  • Method Details

    • getServer

      public String getServer()
      Gets the Server Effected
      Returns:
      The Server Effected
    • getCause

      @Deprecated public Cause getCause()
      Deprecated.
      Use simplified methods where available
      Gets the cause of this Event
      Specified by:
      getCause in interface Event
      Returns:
      An empty cause list