Class UserDataResetEvent

java.lang.Object
net.okocraft.box.api.event.BoxEvent
net.okocraft.box.api.event.user.UserDataResetEvent

public class UserDataResetEvent extends BoxEvent
An event called when /boxadmin resetall <username> is executed.
  • Constructor Details

    • UserDataResetEvent

      public UserDataResetEvent(@NotNull @NotNull BoxUser user)
      The constructor of a UserDataResetEvent.
      Parameters:
      user - the user of this event
  • Method Details

    • getUser

      @NotNull public @NotNull BoxUser getUser()
      Gets the user being reset
      Returns:
      the user being reset
    • toDebugLog

      @NotNull public @NotNull String toDebugLog()
      Description copied from class: BoxEvent
      Creates the debug log from this event.
      Overrides:
      toDebugLog in class BoxEvent
      Returns:
      the debug log
    • toString

      public String toString()
      Overrides:
      toString in class Object