public class PreYggdrasilConverter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 |
---|---|
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,
PropertyManager p_152723_1_) |
static boolean |
convertUserBanlist(MinecraftServer server) |
static boolean |
convertWhitelist(MinecraftServer server) |
static boolean |
tryConvert(PropertyManager properties) |
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
public static java.lang.String convertMobOwnerIfNeeded(MinecraftServer server, java.lang.String username)
public static boolean convertUserBanlist(MinecraftServer server) throws java.io.IOException
java.io.IOException
public static boolean convertIpBanlist(MinecraftServer server) throws java.io.IOException
java.io.IOException
public static boolean convertOplist(MinecraftServer server) throws java.io.IOException
java.io.IOException
public static boolean convertWhitelist(MinecraftServer server) throws java.io.IOException
java.io.IOException
public static boolean convertSaveFiles(DedicatedServer server, PropertyManager p_152723_1_)
public static boolean tryConvert(PropertyManager properties)