Class SubStoppedEvent

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

public class SubStoppedEvent extends AbstractEvent implements SubEvent
Server Shell Exit Event
  • Constructor Details

    • SubStoppedEvent

      public SubStoppedEvent(String server)
      Server Shell Exit Event
      Parameters:
      server - Server that Stopped
  • 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