| Constructor and Description |
|---|
NukkitBanlist() |
| Modifier and Type | Method and Description |
|---|---|
void |
ban(Player player,
Date expireDate,
String reason,
String source) |
void |
ban(UUID uuid,
Date expireDate,
String reason,
String source) |
static NukkitBanlist |
defaultConfiguration() |
static NukkitBanlist |
load(Path path) |
boolean |
pardon(Player player) |
boolean |
pardon(UUID uuid) |
static void |
save(Path path,
NukkitBanlist banlist) |
public static NukkitBanlist load(Path path) throws IOException
IOExceptionpublic static void save(Path path, NukkitBanlist banlist) throws IOException
IOExceptionpublic static NukkitBanlist defaultConfiguration()
public void ban(@Nonnull Player player, @Nullable Date expireDate, String reason, String source)
Copyright © 2017–2019 NukkitX. All rights reserved.