public class WhitelistCommand
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
ALREADY_OFF  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
ALREADY_ON  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
PLAYER_ALREADY_WHITELISTED  | 
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType | 
PLAYER_NOT_WHITELISTED  | 
| Constructor and Description | 
|---|
WhitelistCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
private static int | 
addPlayers(CommandSource source,
          java.util.Collection<com.mojang.authlib.GameProfile> players)  | 
private static int | 
disableWhiteList(CommandSource source)  | 
private static int | 
enableWhiteList(CommandSource source)  | 
private static int | 
listWhitelistedPlayers(CommandSource source)  | 
static void | 
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)  | 
private static int | 
reload(CommandSource source)  | 
private static int | 
removePlayers(CommandSource source,
             java.util.Collection<com.mojang.authlib.GameProfile> players)  | 
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_ON
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_OFF
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType PLAYER_ALREADY_WHITELISTED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType PLAYER_NOT_WHITELISTED
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int reload(CommandSource source)
private static int addPlayers(CommandSource source, java.util.Collection<com.mojang.authlib.GameProfile> players) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int removePlayers(CommandSource source, java.util.Collection<com.mojang.authlib.GameProfile> players) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int enableWhiteList(CommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int disableWhiteList(CommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static int listWhitelistedPlayers(CommandSource source)