public class PardonIpCommand extends Object
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
ALREADY_UNBANNED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
INVALID_IP_EXCEPTION |
Constructor and Description |
---|
PardonIpCommand() |
Modifier and Type | Method and Description |
---|---|
private static int |
pardonIp(ServerCommandSource source,
String target) |
static void |
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_IP_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_UNBANNED_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int pardonIp(ServerCommandSource source, String target) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException