Package net.minecraft.server
Class ServerConfigHandler
java.lang.Object
net.minecraft.server.ServerConfigHandler
public class ServerConfigHandler extends Object
- Mappings:
Namespace Name official adj
intermediary net/minecraft/class_3321
named net/minecraft/server/ServerConfigHandler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ServerConfigHandler.ServerConfigException
-
Field Summary
Fields Modifier and Type Field Description static File
BANNED_IPS_FILE
static File
BANNED_PLAYERS_FILE
private static Logger
LOGGER
static File
OPERATORS_FILE
static File
WHITE_LIST_FILE
-
Constructor Summary
Constructors Constructor Description ServerConfigHandler()
-
Method Summary
Modifier and Type Method Description private static boolean
checkListConversionSuccess()
private static boolean
checkPlayerConversionSuccess(MinecraftServer server)
static boolean
checkSuccess(MinecraftServer server)
static boolean
convertBannedIps(MinecraftServer server)
static boolean
convertBannedPlayers(MinecraftServer server)
static boolean
convertOperators(MinecraftServer server)
static boolean
convertPlayerFiles(MinecraftDedicatedServer minecraftServer)
static boolean
convertWhitelist(MinecraftServer server)
private static void
createDirectory(File directory)
private static File
getLevelPlayersFolder(MinecraftServer server)
static UUID
getPlayerUuidByName(MinecraftServer server, String name)
private static void
lookupProfile(MinecraftServer server, Collection<String> bannedPlayers, com.mojang.authlib.ProfileLookupCallback callback)
private static void
markFileConverted(File file)
private static Date
parseDate(String dateString, Date fallback)
(package private) static List<String>
processSimpleListFile(File file, Map<String,String[]> valueMap)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official e
Ladj;e:Lorg/apache/logging/log4j/Logger;
intermediary field_14326
Lnet/minecraft/class_3321;field_14326:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/server/ServerConfigHandler;LOGGER:Lorg/apache/logging/log4j/Logger;
-
BANNED_IPS_FILE
- Mappings:
Namespace Name Mixin selector official a
Ladj;a:Ljava/io/File;
intermediary field_14324
Lnet/minecraft/class_3321;field_14324:Ljava/io/File;
named BANNED_IPS_FILE
Lnet/minecraft/server/ServerConfigHandler;BANNED_IPS_FILE:Ljava/io/File;
-
BANNED_PLAYERS_FILE
- Mappings:
Namespace Name Mixin selector official b
Ladj;b:Ljava/io/File;
intermediary field_14328
Lnet/minecraft/class_3321;field_14328:Ljava/io/File;
named BANNED_PLAYERS_FILE
Lnet/minecraft/server/ServerConfigHandler;BANNED_PLAYERS_FILE:Ljava/io/File;
-
OPERATORS_FILE
- Mappings:
Namespace Name Mixin selector official c
Ladj;c:Ljava/io/File;
intermediary field_14327
Lnet/minecraft/class_3321;field_14327:Ljava/io/File;
named OPERATORS_FILE
Lnet/minecraft/server/ServerConfigHandler;OPERATORS_FILE:Ljava/io/File;
-
WHITE_LIST_FILE
- Mappings:
Namespace Name Mixin selector official d
Ladj;d:Ljava/io/File;
intermediary field_14325
Lnet/minecraft/class_3321;field_14325:Ljava/io/File;
named WHITE_LIST_FILE
Lnet/minecraft/server/ServerConfigHandler;WHITE_LIST_FILE:Ljava/io/File;
-
-
Constructor Details
-
ServerConfigHandler
public ServerConfigHandler()
-
-
Method Details
-
processSimpleListFile
static List<String> processSimpleListFile(File file, Map<String,String[]> valueMap) throws IOException- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Ladj;a(Ljava/io/File;Ljava/util/Map;)Ljava/util/List;
intermediary method_14543
Lnet/minecraft/class_3321;method_14543(Ljava/io/File;Ljava/util/Map;)Ljava/util/List;
named processSimpleListFile
Lnet/minecraft/server/ServerConfigHandler;processSimpleListFile(Ljava/io/File;Ljava/util/Map;)Ljava/util/List;
-
lookupProfile
private static void lookupProfile(MinecraftServer server, Collection<String> bannedPlayers, com.mojang.authlib.ProfileLookupCallback callback)- Mappings:
Namespace Name Mixin selector official a
Ladj;a(Lnet/minecraft/server/MinecraftServer;Ljava/util/Collection;Lcom/mojang/authlib/ProfileLookupCallback;)V
intermediary method_14538
Lnet/minecraft/class_3321;method_14538(Lnet/minecraft/server/MinecraftServer;Ljava/util/Collection;Lcom/mojang/authlib/ProfileLookupCallback;)V
named lookupProfile
Lnet/minecraft/server/ServerConfigHandler;lookupProfile(Lnet/minecraft/server/MinecraftServer;Ljava/util/Collection;Lcom/mojang/authlib/ProfileLookupCallback;)V
-
convertBannedPlayers
- Mappings:
Namespace Name Mixin selector official a
Ladj;a(Lnet/minecraft/server/MinecraftServer;)Z
intermediary method_14547
Lnet/minecraft/class_3321;method_14547(Lnet/minecraft/server/MinecraftServer;)Z
named convertBannedPlayers
Lnet/minecraft/server/ServerConfigHandler;convertBannedPlayers(Lnet/minecraft/server/MinecraftServer;)Z
-
convertBannedIps
- Mappings:
Namespace Name Mixin selector official b
Ladj;b(Lnet/minecraft/server/MinecraftServer;)Z
intermediary method_14545
Lnet/minecraft/class_3321;method_14545(Lnet/minecraft/server/MinecraftServer;)Z
named convertBannedIps
Lnet/minecraft/server/ServerConfigHandler;convertBannedIps(Lnet/minecraft/server/MinecraftServer;)Z
-
convertOperators
- Mappings:
Namespace Name Mixin selector official c
Ladj;c(Lnet/minecraft/server/MinecraftServer;)Z
intermediary method_14539
Lnet/minecraft/class_3321;method_14539(Lnet/minecraft/server/MinecraftServer;)Z
named convertOperators
Lnet/minecraft/server/ServerConfigHandler;convertOperators(Lnet/minecraft/server/MinecraftServer;)Z
-
convertWhitelist
- Mappings:
Namespace Name Mixin selector official d
Ladj;d(Lnet/minecraft/server/MinecraftServer;)Z
intermediary method_14533
Lnet/minecraft/class_3321;method_14533(Lnet/minecraft/server/MinecraftServer;)Z
named convertWhitelist
Lnet/minecraft/server/ServerConfigHandler;convertWhitelist(Lnet/minecraft/server/MinecraftServer;)Z
-
getPlayerUuidByName
- Mappings:
Namespace Name Mixin selector official a
Ladj;a(Lnet/minecraft/server/MinecraftServer;Ljava/lang/String;)Ljava/util/UUID;
intermediary method_14546
Lnet/minecraft/class_3321;method_14546(Lnet/minecraft/server/MinecraftServer;Ljava/lang/String;)Ljava/util/UUID;
named getPlayerUuidByName
Lnet/minecraft/server/ServerConfigHandler;getPlayerUuidByName(Lnet/minecraft/server/MinecraftServer;Ljava/lang/String;)Ljava/util/UUID;
-
convertPlayerFiles
- Mappings:
Namespace Name Mixin selector official a
Ladj;a(Lzw;)Z
intermediary method_14550
Lnet/minecraft/class_3321;method_14550(Lnet/minecraft/class_3176;)Z
named convertPlayerFiles
Lnet/minecraft/server/ServerConfigHandler;convertPlayerFiles(Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;)Z
-
createDirectory
- Mappings:
Namespace Name Mixin selector official b
Ladj;b(Ljava/io/File;)V
intermediary method_14534
Lnet/minecraft/class_3321;method_14534(Ljava/io/File;)V
named createDirectory
Lnet/minecraft/server/ServerConfigHandler;createDirectory(Ljava/io/File;)V
-
checkSuccess
- Mappings:
Namespace Name Mixin selector official e
Ladj;e(Lnet/minecraft/server/MinecraftServer;)Z
intermediary method_14540
Lnet/minecraft/class_3321;method_14540(Lnet/minecraft/server/MinecraftServer;)Z
named checkSuccess
Lnet/minecraft/server/ServerConfigHandler;checkSuccess(Lnet/minecraft/server/MinecraftServer;)Z
-
checkListConversionSuccess
private static boolean checkListConversionSuccess()- Mappings:
Namespace Name Mixin selector official b
Ladj;b()Z
intermediary method_14541
Lnet/minecraft/class_3321;method_14541()Z
named checkListConversionSuccess
Lnet/minecraft/server/ServerConfigHandler;checkListConversionSuccess()Z
-
checkPlayerConversionSuccess
- Mappings:
Namespace Name Mixin selector official f
Ladj;f(Lnet/minecraft/server/MinecraftServer;)Z
intermediary method_14542
Lnet/minecraft/class_3321;method_14542(Lnet/minecraft/server/MinecraftServer;)Z
named checkPlayerConversionSuccess
Lnet/minecraft/server/ServerConfigHandler;checkPlayerConversionSuccess(Lnet/minecraft/server/MinecraftServer;)Z
-
getLevelPlayersFolder
- Mappings:
Namespace Name Mixin selector official g
Ladj;g(Lnet/minecraft/server/MinecraftServer;)Ljava/io/File;
intermediary method_14536
Lnet/minecraft/class_3321;method_14536(Lnet/minecraft/server/MinecraftServer;)Ljava/io/File;
named getLevelPlayersFolder
Lnet/minecraft/server/ServerConfigHandler;getLevelPlayersFolder(Lnet/minecraft/server/MinecraftServer;)Ljava/io/File;
-
markFileConverted
- Mappings:
Namespace Name Mixin selector official c
Ladj;c(Ljava/io/File;)V
intermediary method_14549
Lnet/minecraft/class_3321;method_14549(Ljava/io/File;)V
named markFileConverted
Lnet/minecraft/server/ServerConfigHandler;markFileConverted(Ljava/io/File;)V
-
parseDate
- Mappings:
Namespace Name Mixin selector official b
Ladj;b(Ljava/lang/String;Ljava/util/Date;)Ljava/util/Date;
intermediary method_14535
Lnet/minecraft/class_3321;method_14535(Ljava/lang/String;Ljava/util/Date;)Ljava/util/Date;
named parseDate
Lnet/minecraft/server/ServerConfigHandler;parseDate(Ljava/lang/String;Ljava/util/Date;)Ljava/util/Date;
-