Class PlanFabricEvents

java.lang.Object
net.playeranalytics.plan.gathering.listeners.events.PlanFabricEvents

public class PlanFabricEvents extends Object
  • Field Details

    • ON_KILLED

      public static final net.fabricmc.fabric.api.event.Event<PlanFabricEvents.OnKilled> ON_KILLED
    • ON_COMMAND

      public static final net.fabricmc.fabric.api.event.Event<PlanFabricEvents.OnCommand> ON_COMMAND
    • ON_MOVE

      public static final net.fabricmc.fabric.api.event.Event<PlanFabricEvents.OnMove> ON_MOVE
    • ON_GAMEMODE_CHANGE

      public static final net.fabricmc.fabric.api.event.Event<PlanFabricEvents.OnGameModeChange> ON_GAMEMODE_CHANGE
    • ON_KICKED

      public static final net.fabricmc.fabric.api.event.Event<PlanFabricEvents.OnPlayerKicked> ON_KICKED
    • ON_LOGIN

      public static final net.fabricmc.fabric.api.event.Event<PlanFabricEvents.OnLogin> ON_LOGIN
    • ON_HANDSHAKE

      public static final net.fabricmc.fabric.api.event.Event<PlanFabricEvents.OnClientHandshake> ON_HANDSHAKE
    • ON_ENABLE

      public static final net.fabricmc.fabric.api.event.Event<PlanFabricEvents.OnEnable> ON_ENABLE
      Called when Plan is enabled.

      This includes, but might not be limited to:

      • First time the plugin enables successfully
      • Plan is reloaded
      • Plan is enabled after it was disabled

      This event provides full access to the Plan instance. However, it is advised to only call PlanPlugin.isSystemEnabled() to determine if the enable was successful. It is not guaranteed that this event is called when the plugin fails to enable properly.

  • Constructor Details

    • PlanFabricEvents

      public PlanFabricEvents()