net.minecraft.server

public class ServerConfigHandler

net.minecraft.server.players.OldUsersConverter
net.minecraft.class_3321
net.minecraft.server.ServerConfigHandler

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_14326
LOGGER
public static final File
OLD_IPBANLIST
field_14324
BANNED_IPS_FILE
public static final File
OLD_USERBANLIST
field_14328
BANNED_PLAYERS_FILE
public static final File
OLD_OPLIST
field_14327
OPERATORS_FILE
public static final File
OLD_WHITELIST
field_14325
WHITE_LIST_FILE

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static List<String>
readOldListFormat(File file, Map<String, String[]> userMap)
method_14543(File arg0, Map<String, String[]> arg1)
processSimpleListFile(File file, Map<String, String[]> valueMap)
private static void
lookupPlayers(MinecraftServer server, Collection<String> names, com.mojang.authlib.ProfileLookupCallback callback)
method_14538(MinecraftServer arg0, Collection<String> arg1, com.mojang.authlib.ProfileLookupCallback arg2)
lookupProfile(MinecraftServer server, Collection<String> bannedPlayers, com.mojang.authlib.ProfileLookupCallback callback)
public static boolean
convertUserBanlist(MinecraftServer server)
method_14547(MinecraftServer arg0)
convertBannedPlayers(MinecraftServer server)
public static boolean
convertIpBanlist(MinecraftServer server)
method_14545(MinecraftServer arg0)
convertBannedIps(MinecraftServer server)
public static boolean
convertOpsList(MinecraftServer server)
method_14539(MinecraftServer arg0)
convertOperators(MinecraftServer server)
public static boolean
convertWhiteList(MinecraftServer server)
method_14533(MinecraftServer arg0)
convertWhitelist(MinecraftServer server)
public static UUID
convertMobOwnerIfNecessary(MinecraftServer server, String owner)
method_14546(MinecraftServer arg0, String arg1)
getPlayerUuidByName(MinecraftServer server, String name)
public static boolean
convertPlayers(DedicatedServer server)
method_14550(class_3176 arg0)
convertPlayerFiles(MinecraftDedicatedServer minecraftServer)
private static void
ensureDirectoryExists(File directory)
method_14534(File arg0)
createDirectory(File directory)
public static boolean
areOldUserlistsRemoved()
method_14541()
checkListConversionSuccess()
private static void
renameOldFile(File file)
method_14549(File arg0)
markFileConverted(File file)
private static Date
parseDate(String dateString, Date defaultValue)
method_14535(String arg0, Date arg1)
parseDate(String dateString, Date fallback)
private static String[]
lambda$lookupPlayers$1(int arg0)
method_14551(int arg0)
method_14551(int arg0)
private static boolean
lambda$lookupPlayers$0(String arg0)
method_14552(String arg0)
method_14552(String playerName)