| Modifier and Type | Class and Description |
|---|---|
static class |
NukkitOperators.Entry |
| Constructor and Description |
|---|
NukkitOperators() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperator(Player player) |
void |
addOperator(String name) |
void |
addOperator(UUID uuid) |
void |
addOperator(UUID uuid,
String name) |
static NukkitOperators |
defaultConfiguration() |
boolean |
isOperator(Player player) |
boolean |
isOperator(String name) |
boolean |
isOperator(UUID uuid) |
boolean |
isOperator(UUID uuid,
String name) |
static NukkitOperators |
load(Path path) |
void |
removeOperator(Player player) |
void |
removeOperator(String name) |
void |
removeOperator(UUID uuid) |
void |
removeOperator(UUID uuid,
String name) |
static void |
save(Path path,
NukkitOperators operators) |
public static NukkitOperators load(Path path) throws IOException
IOExceptionpublic static void save(Path path, NukkitOperators operators) throws IOException
IOExceptionpublic static NukkitOperators defaultConfiguration()
public void removeOperator(Player player)
removeOperator in interface Operatorspublic void removeOperator(UUID uuid)
removeOperator in interface Operatorspublic void removeOperator(String name)
removeOperator in interface Operatorspublic void removeOperator(UUID uuid, String name)
removeOperator in interface Operatorspublic void addOperator(Player player)
addOperator in interface Operatorspublic void addOperator(String name)
addOperator in interface Operatorspublic void addOperator(UUID uuid)
addOperator in interface Operatorspublic void addOperator(UUID uuid, String name)
addOperator in interface Operatorspublic boolean isOperator(Player player)
isOperator in interface Operatorspublic boolean isOperator(String name)
isOperator in interface Operatorspublic boolean isOperator(UUID uuid)
isOperator in interface Operatorspublic boolean isOperator(UUID uuid, String name)
isOperator in interface OperatorsCopyright © 2017–2020 NukkitX. All rights reserved.