All Superinterfaces:
AccessProvider
All Known Implementing Classes:
AbstractBan, InfiniteBan, TimedBan

public interface Ban extends AccessProvider
  • Method Details

    • getTarget

      UUID getTarget()
    • getBy

      UUID getBy()
    • getTimestamp

      Instant getTimestamp()
    • isInEffect

      boolean isInEffect()
    • getReason

      Optional<String> getReason()
    • getType

      String getType()
    • toJsonObject

      com.google.gson.JsonObject toJsonObject()