Class QuitEvent

java.lang.Object
xyz.geik.farmer.listeners.backend.QuitEvent
All Implemented Interfaces:
org.bukkit.event.Listener

public class QuitEvent extends Object implements org.bukkit.event.Listener
Player quit event basically save farmer when player quits
  • Constructor Details

    • QuitEvent

      public QuitEvent()
      Constructor of class
  • Method Details

    • onQuitEvent

      public void onQuitEvent(@NotNull @NotNull org.bukkit.event.player.PlayerQuitEvent e)
      Update database when a player disconnects in a Farmer region. All farmers save on stop only. (No need to be a user of a farmer)
      Parameters:
      e - quit event