public class PreYggdrasilConverter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
PreYggdrasilConverter.ConversionError |
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
static java.io.File |
OLD_IPBAN_FILE |
static java.io.File |
OLD_OPS_FILE |
static java.io.File |
OLD_PLAYERBAN_FILE |
static java.io.File |
OLD_WHITELIST_FILE |
Constructor and Description |
---|
PreYggdrasilConverter() |
Modifier and Type | Method and Description |
---|---|
private static void |
backupConverted(java.io.File convertedFile) |
static boolean |
convertIpBanlist(MinecraftServer server) |
static java.lang.String |
convertMobOwnerIfNeeded(MinecraftServer server,
java.lang.String username) |
static boolean |
convertOplist(MinecraftServer server) |
static boolean |
convertSaveFiles(DedicatedServer server) |
static boolean |
convertUserBanlist(MinecraftServer server) |
static boolean |
convertWhitelist(MinecraftServer server) |
private static java.io.File |
func_219585_g(MinecraftServer p_219585_0_) |
static boolean |
func_219587_e(MinecraftServer p_219587_0_) |
private static boolean |
func_219589_f(MinecraftServer p_219589_0_) |
private static boolean |
hasUnconvertableFiles() |
private static void |
lookupNames(MinecraftServer server,
java.util.Collection<java.lang.String> names,
com.mojang.authlib.ProfileLookupCallback callback) |
private static void |
mkdir(java.io.File dir) |
private static java.util.Date |
parseDate(java.lang.String input,
java.util.Date defaultValue) |
(package private) static java.util.List<java.lang.String> |
readFile(java.io.File inFile,
java.util.Map<java.lang.String,java.lang.String[]> read) |
private static final org.apache.logging.log4j.Logger LOGGER
public static final java.io.File OLD_IPBAN_FILE
public static final java.io.File OLD_PLAYERBAN_FILE
public static final java.io.File OLD_OPS_FILE
public static final java.io.File OLD_WHITELIST_FILE
static java.util.List<java.lang.String> readFile(java.io.File inFile, java.util.Map<java.lang.String,java.lang.String[]> read) throws java.io.IOException
java.io.IOException
private static void lookupNames(MinecraftServer server, java.util.Collection<java.lang.String> names, com.mojang.authlib.ProfileLookupCallback callback)
public static boolean convertUserBanlist(MinecraftServer server)
public static boolean convertIpBanlist(MinecraftServer server)
public static boolean convertOplist(MinecraftServer server)
public static boolean convertWhitelist(MinecraftServer server)
public static java.lang.String convertMobOwnerIfNeeded(MinecraftServer server, java.lang.String username)
public static boolean convertSaveFiles(DedicatedServer server)
private static void mkdir(java.io.File dir)
public static boolean func_219587_e(MinecraftServer p_219587_0_)
private static boolean hasUnconvertableFiles()
private static boolean func_219589_f(MinecraftServer p_219589_0_)
private static java.io.File func_219585_g(MinecraftServer p_219585_0_)
private static void backupConverted(java.io.File convertedFile)
private static java.util.Date parseDate(java.lang.String input, java.util.Date defaultValue)