Package space.arim.libertybans.api
package space.arim.libertybans.api
The base of the LibertyBans API.
Nullability
Unless stated otherwise, no method will return
This further implies all methods not declared to accept
Thread Safety
Generally, objects are immutable and thread safe. The only exception to this rule are builder objects, which are mutable and unsafe for concurrent use. It is only intended for builders to be used from a single thread.
Nullability
Unless stated otherwise, no method will return
null. All nullability is explicitly mentioned in the javadoc,
therefore the lack of such mention implies the return value or method parameter in question will be or must be nonnull. This further implies all methods not declared to accept
null parameters may throw NullPointerException
on null input. Thread Safety
Generally, objects are immutable and thread safe. The only exception to this rule are builder objects, which are mutable and unsafe for concurrent use. It is only intended for builders to be used from a single thread.
-
ClassDescriptionAn IP address as the victim of a punishmentAn victim which is a composite of a UUID and an IP address.The console as an
OperatorThe main entry point to the LibertyBans APIHolder class for the version constantLighter alternative toInetAddressspecialised for handling the raw address, and not anything related to hostnames, etc.A server operator able to punish victims.A type of operator.An operator which is a playerA victim which is a playerThe type of a punishmentThe victim of a punishment.A victim type.