Skip navigation links
A B C G H I K L M N P R S T V W 

A

add(PunishmentInterface) - Method in class net.lapismc.lapisbans.api.punishments.core.PunishmentList
Add a PunishmentInterface to the list
addAll(Collection<PunishmentInterface>) - Method in class net.lapismc.lapisbans.api.punishments.core.PunishmentList
Add multiple vales at once

B

BanInterface - Interface in net.lapismc.lapisbans.api.punishments.permanent
Represents a ban

C

createPunishment(PunishmentType, UUID, UUID, String, boolean, boolean, Long, Long) - Method in interface net.lapismc.lapisbans.api.LapisBansAPI
Generate and return a punishment
createPunishment() - Method in interface net.lapismc.lapisbans.api.punishments.core.PunishmentInterface
Creates the punishment in the database and adds it to the punishment manager, This may not implement the punishment in all cases (e.g.

G

get(Integer) - Method in class net.lapismc.lapisbans.api.punishments.core.PunishmentList
Get the punishment at any index
getAction() - Method in interface net.lapismc.lapisbans.api.punishments.core.PunishmentInterface
Returns the name of the punishment, e.g.
getActioned() - Method in interface net.lapismc.lapisbans.api.punishments.core.PunishmentInterface
Returns the action this punishment makes e.g.
getAllActivePunishments(UUID) - Method in interface net.lapismc.lapisbans.api.LapisBansAPI
Get all currently active punishments applied to a player, this excludes punishments that have ended
getAllPunishments(UUID) - Method in interface net.lapismc.lapisbans.api.LapisBansAPI
Get all punishments applied to a UUID, this includes punishments that have ended e.g.
getAPI() - Static method in class net.lapismc.lapisbans.api.LapisBansAPIStorage
 
getAppliedBy() - Method in interface net.lapismc.lapisbans.api.punishments.core.PunishmentInterface
Get the UUID of the user who applied the punishment
getAppliedTo() - Method in interface net.lapismc.lapisbans.api.punishments.core.PunishmentInterface
Get the UUID of the player the punishment has been applied to
getAsList() - Method in class net.lapismc.lapisbans.api.punishments.core.PunishmentList
Get the PunishmentInterface's currently stored as a List
getConsoleUUID() - Method in interface net.lapismc.lapisbans.api.LapisBansAPI
Get the UUID of the console, this can be used for LapisBansAPI.getPunishmentsAppliedBy(UUID)
getEnd() - Method in interface net.lapismc.lapisbans.api.punishments.core.TemporaryPunishmentInterface
Calculates and returns the end of the punishment based on the start and length values
getIPAddress() - Method in interface net.lapismc.lapisbans.api.punishments.permanent.IPBanInterface
Get the IP address that this ban applies to This is required as PunishmentInterface.getAppliedTo() returns a UUID
getIPAddress() - Method in interface net.lapismc.lapisbans.api.punishments.temporary.TempIPBanInterface
Get the IP address that this ban applies to This is required as PunishmentInterface.getAppliedTo() returns a UUID
getLength() - Method in interface net.lapismc.lapisbans.api.punishments.core.TemporaryPunishmentInterface
Get the length of the punishment in Milliseconds
getPunishment() - Method in class net.lapismc.lapisbans.api.events.LapisBansPunishEvent
 
getPunishmentsAppliedBy(UUID) - Method in interface net.lapismc.lapisbans.api.LapisBansAPI
Get all punishments applied by a user, these are punishments set by the provided UUID
getReason() - Method in interface net.lapismc.lapisbans.api.punishments.core.PunishmentInterface
Get the reason for this punishment
getStart() - Method in interface net.lapismc.lapisbans.api.punishments.core.PunishmentInterface
Get the system time when the punishment started
getType() - Method in interface net.lapismc.lapisbans.api.punishments.core.PunishmentInterface
Get the type of punishment that this punishment object represents e.g.

H

hasEnded() - Method in interface net.lapismc.lapisbans.api.punishments.core.TemporaryPunishmentInterface
Uses the TemporaryPunishmentInterface.getEnd() method to check if the punishment has ended

I

ipAddressToUUID(String) - Method in interface net.lapismc.lapisbans.api.LapisBansAPI
IP addresses are stored as UUIDs because all punishment types store data the same way, This means you need a way to convert an IP address to an UUID to create a punishment This is exactly what this method does, use the IP ban punishment method of getIPAddress() to do the reverse
IPBanInterface - Interface in net.lapismc.lapisbans.api.punishments.permanent
Represents an IP address ban
isShadow() - Method in interface net.lapismc.lapisbans.api.punishments.core.PunishmentInterface
Is the punishment shadow, shadow punishments will not notify the player in any way

K

KickInterface - Interface in net.lapismc.lapisbans.api.punishments.permanent
Represents a kick

L

LapisBansAPI - Interface in net.lapismc.lapisbans.api
This is the LapisBansAPI, it can be used to get and create punishments Methods may be added or removed from this API while LapisBans 2.0.0 is still in Beta
LapisBansAPIStorage - Class in net.lapismc.lapisbans.api
 
LapisBansAPIStorage(LapisBansAPI) - Constructor for class net.lapismc.lapisbans.api.LapisBansAPIStorage
 
LapisBansPunishEvent - Class in net.lapismc.lapisbans.api.events
 
LapisBansPunishEvent(PunishmentInterface) - Constructor for class net.lapismc.lapisbans.api.events.LapisBansPunishEvent
 

M

MuteInterface - Interface in net.lapismc.lapisbans.api.punishments.permanent
Represents a mute

N

net.lapismc.lapisbans.api - package net.lapismc.lapisbans.api
 
net.lapismc.lapisbans.api.events - package net.lapismc.lapisbans.api.events
 
net.lapismc.lapisbans.api.punishments.core - package net.lapismc.lapisbans.api.punishments.core
 
net.lapismc.lapisbans.api.punishments.permanent - package net.lapismc.lapisbans.api.punishments.permanent
 
net.lapismc.lapisbans.api.punishments.temporary - package net.lapismc.lapisbans.api.punishments.temporary
 

P

PunishmentInterface - Interface in net.lapismc.lapisbans.api.punishments.core
Represents a punishment applied to a player
PunishmentList - Class in net.lapismc.lapisbans.api.punishments.core
A class for storing a list of PunishmentInterface's.
PunishmentList() - Constructor for class net.lapismc.lapisbans.api.punishments.core.PunishmentList
Setup the list
PunishmentType - Enum in net.lapismc.lapisbans.api.punishments.core
 

R

remove(PunishmentInterface) - Method in class net.lapismc.lapisbans.api.punishments.core.PunishmentList
Remove a PunishmentInterface from the list
reversePunishment() - Method in interface net.lapismc.lapisbans.api.punishments.core.PunishmentInterface
Reverse the punishment This will disable the effects of the punishment and remove it from the database and history

S

setLength(Long) - Method in interface net.lapismc.lapisbans.api.punishments.core.TemporaryPunishmentInterface
Set the length of this punishment This is primarily used for warnings where the length is based on a config value
size() - Method in class net.lapismc.lapisbans.api.punishments.core.PunishmentList
Get the number of items currently in the list

T

TempBanInterface - Interface in net.lapismc.lapisbans.api.punishments.temporary
Represents a temporary ban
TempIPBanInterface - Interface in net.lapismc.lapisbans.api.punishments.temporary
Represents a temporary IP address ban
TempMuteInterface - Interface in net.lapismc.lapisbans.api.punishments.temporary
Represents a temporary mute
TemporaryPunishmentInterface - Interface in net.lapismc.lapisbans.api.punishments.core
Represents a punishment with an end time

V

valueOf(String) - Static method in enum net.lapismc.lapisbans.api.punishments.core.PunishmentType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.lapismc.lapisbans.api.punishments.core.PunishmentType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WarningInterface - Interface in net.lapismc.lapisbans.api.punishments.temporary
Represents a warning
A B C G H I K L M N P R S T V W 
Skip navigation links

Copyright © 2019. All rights reserved.