Class PlotListener

java.lang.Object
com.plotsquared.core.listener.PlotListener

public class PlotListener extends Object
  • Constructor Details

  • Method Details

    • startRunnable

      public void startRunnable()
    • plotEntry

      public boolean plotEntry(PlotPlayer<?> player, Plot plot)
    • plotExit

      public boolean plotExit(PlotPlayer<?> player, Plot plot)
    • logout

      public void logout(UUID uuid)
    • addEffect

      public void addEffect(@NonNull UUID uuid, @NonNull String name, long expiresAt)
      Marks an effect as a status effect that will be removed on leaving a plot
      Parameters:
      uuid - The uuid of the player the effect belongs to
      name - The name of the status effect
      expiresAt - The time when the effect expires
      Since:
      6.10.0