toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit
/
BanList
Ban
List
public
interface
BanList
A ban list, containing bans of some
Type
.
Members
Types
Type
Link copied to clipboard
public
enum
Type
Represents ban-type that
BanList
may track.
Functions
add
Ban
Link copied to clipboard
public
abstract
BanEntry
addBan
(
String
target
,
String
reason
,
Date
expires
,
String
source
)
Adds ban to the this list.
get
Ban
Entries
Link copied to clipboard
public
abstract
Set
<
BanEntry
>
getBanEntries
(
)
Gets set containing every
BanEntry
in this list.
get
Ban
Entry
Link copied to clipboard
public
abstract
BanEntry
getBanEntry
(
String
target
)
Gets a
BanEntry
by target.
is
Banned
Link copied to clipboard
public
abstract
boolean
isBanned
(
String
target
)
Gets if
BanEntry
exists for the target, indicating an active ban status.
pardon
Link copied to clipboard
public
abstract
void
pardon
(
String
target
)
Removes the specified target from this list, therefore indicating "not banned" status.