Class SubStartEvent

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

public class SubStartEvent extends AbstractEvent implements SubEvent
Start Server Event
  • Constructor Details

    • SubStartEvent

      public SubStartEvent(UUID player, String server)
      Server Start Event
      Parameters:
      player - Player Starting Server
      server - Server Starting
  • Method Details

    • getServer

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

      public UUID getPlayer()
      Gets the player that triggered the Event
      Returns:
      The Player that triggered this Event or null if Console
    • getCause

      @Deprecated public Cause getCause()
      Deprecated.
      Use simplified methods where available
      Gets the cause of this Event
      Specified by:
      getCause in interface Event
      Returns:
      The player UUID who triggered this event