Interface BanService

  • public interface BanService
    Represents a service with which to ban things, such as GameProfiles or IP addresses.

    Implementors of this service should treat expired bans as non-existent, even if they choose to retain them in a way not accessible through the ban service API (e.g. writing them to a database). In essence, expired bans should be treated the same as user-removed bans.

    For example, bans() would not include any expired bans.