Package net.axay.kspigot.ipaddress

Types

BadIPDetectionResult
Link copied to clipboard
enum BadIPDetectionResult : Enum<BadIPDetectionResult>
BadIPDetectionService
Link copied to clipboard
abstract class BadIPDetectionService(name: String)
BadIPDetector
Link copied to clipboard
class BadIPDetector(services: List<BadIPDetectionService>)
IPAddressData
Link copied to clipboard
class IPAddressData(json: JsonObject)
IPAddressDataLanguage
Link copied to clipboard
enum IPAddressDataLanguage : Enum<IPAddressDataLanguage>

Functions

checkIP
Link copied to clipboard
fun Player.checkIP(detector: BadIPDetector = BadIPDetector.DEFAULT, breakOnHit: Boolean = true): Map<BadIPDetectionService, BadIPDetectionResult>
Checks if the IP address of the player is not a normal residential address.
hasBadIP
Link copied to clipboard
fun Player.hasBadIP(detector: BadIPDetector = BadIPDetector.DEFAULT): Boolean
Checks if the IP address of the player is not a normal residential address.
ipAddressData
Link copied to clipboard
fun Player.ipAddressData(language: IPAddressDataLanguage = IPAddressDataLanguage.ENGLISH): IPAddressData?

Properties

ipAddressData
Link copied to clipboard
val Player.ipAddressData: IPAddressData?
ipAddressOrNull
Link copied to clipboard
val Player.ipAddressOrNull: String?