Package net.minecraft.server
Class ServerConfigHandler
java.lang.Object
net.minecraft.server.ServerConfigHandler
- Mappings:
Namespace Name official agmintermediary net/minecraft/class_3321named net/minecraft/server/ServerConfigHandler
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanprivate static booleanstatic booleancheckSuccess(MinecraftServer server) static booleanconvertBannedIps(MinecraftServer server) static booleanconvertBannedPlayers(MinecraftServer server) static booleanconvertOperators(MinecraftServer server) static booleanconvertPlayerFiles(MinecraftDedicatedServer minecraftServer) static booleanconvertWhitelist(MinecraftServer server) (package private) static voidcreateDirectory(File directory) private static FilegetLevelPlayersFolder(MinecraftServer server) getPlayerUuidByName(MinecraftServer server, String name) private static voidlookupProfile(MinecraftServer server, Collection<String> bannedPlayers, com.mojang.authlib.ProfileLookupCallback callback) private static voidmarkFileConverted(File file) (package private) static DateprocessSimpleListFile(File file, Map<String, String[]> valueMap)
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official eLagm;e:Lorg/slf4j/Logger;intermediary field_14326Lnet/minecraft/class_3321;field_14326:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/server/ServerConfigHandler;LOGGER:Lorg/slf4j/Logger;
-
BANNED_IPS_FILE
- Mappings:
Namespace Name Mixin selector official aLagm;a:Ljava/io/File;intermediary field_14324Lnet/minecraft/class_3321;field_14324:Ljava/io/File;named BANNED_IPS_FILELnet/minecraft/server/ServerConfigHandler;BANNED_IPS_FILE:Ljava/io/File;
-
BANNED_PLAYERS_FILE
- Mappings:
Namespace Name Mixin selector official bLagm;b:Ljava/io/File;intermediary field_14328Lnet/minecraft/class_3321;field_14328:Ljava/io/File;named BANNED_PLAYERS_FILELnet/minecraft/server/ServerConfigHandler;BANNED_PLAYERS_FILE:Ljava/io/File;
-
OPERATORS_FILE
- Mappings:
Namespace Name Mixin selector official cLagm;c:Ljava/io/File;intermediary field_14327Lnet/minecraft/class_3321;field_14327:Ljava/io/File;named OPERATORS_FILELnet/minecraft/server/ServerConfigHandler;OPERATORS_FILE:Ljava/io/File;
-
WHITE_LIST_FILE
- Mappings:
Namespace Name Mixin selector official dLagm;d:Ljava/io/File;intermediary field_14325Lnet/minecraft/class_3321;field_14325:Ljava/io/File;named WHITE_LIST_FILELnet/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 aLagm;a(Ljava/io/File;Ljava/util/Map;)Ljava/util/List;intermediary method_14543Lnet/minecraft/class_3321;method_14543(Ljava/io/File;Ljava/util/Map;)Ljava/util/List;named processSimpleListFileLnet/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 aLagm;a(Lnet/minecraft/server/MinecraftServer;Ljava/util/Collection;Lcom/mojang/authlib/ProfileLookupCallback;)Vintermediary method_14538Lnet/minecraft/class_3321;method_14538(Lnet/minecraft/server/MinecraftServer;Ljava/util/Collection;Lcom/mojang/authlib/ProfileLookupCallback;)Vnamed lookupProfileLnet/minecraft/server/ServerConfigHandler;lookupProfile(Lnet/minecraft/server/MinecraftServer;Ljava/util/Collection;Lcom/mojang/authlib/ProfileLookupCallback;)V
-
convertBannedPlayers
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lnet/minecraft/server/MinecraftServer;)Zintermediary method_14547Lnet/minecraft/class_3321;method_14547(Lnet/minecraft/server/MinecraftServer;)Znamed convertBannedPlayersLnet/minecraft/server/ServerConfigHandler;convertBannedPlayers(Lnet/minecraft/server/MinecraftServer;)Z
-
convertBannedIps
- Mappings:
Namespace Name Mixin selector official bLagm;b(Lnet/minecraft/server/MinecraftServer;)Zintermediary method_14545Lnet/minecraft/class_3321;method_14545(Lnet/minecraft/server/MinecraftServer;)Znamed convertBannedIpsLnet/minecraft/server/ServerConfigHandler;convertBannedIps(Lnet/minecraft/server/MinecraftServer;)Z
-
convertOperators
- Mappings:
Namespace Name Mixin selector official cLagm;c(Lnet/minecraft/server/MinecraftServer;)Zintermediary method_14539Lnet/minecraft/class_3321;method_14539(Lnet/minecraft/server/MinecraftServer;)Znamed convertOperatorsLnet/minecraft/server/ServerConfigHandler;convertOperators(Lnet/minecraft/server/MinecraftServer;)Z
-
convertWhitelist
- Mappings:
Namespace Name Mixin selector official dLagm;d(Lnet/minecraft/server/MinecraftServer;)Zintermediary method_14533Lnet/minecraft/class_3321;method_14533(Lnet/minecraft/server/MinecraftServer;)Znamed convertWhitelistLnet/minecraft/server/ServerConfigHandler;convertWhitelist(Lnet/minecraft/server/MinecraftServer;)Z
-
getPlayerUuidByName
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lnet/minecraft/server/MinecraftServer;Ljava/lang/String;)Ljava/util/UUID;intermediary method_14546Lnet/minecraft/class_3321;method_14546(Lnet/minecraft/server/MinecraftServer;Ljava/lang/String;)Ljava/util/UUID;named getPlayerUuidByNameLnet/minecraft/server/ServerConfigHandler;getPlayerUuidByName(Lnet/minecraft/server/MinecraftServer;Ljava/lang/String;)Ljava/util/UUID;
-
convertPlayerFiles
- Mappings:
Namespace Name Mixin selector official aLagm;a(Lacx;)Zintermediary method_14550Lnet/minecraft/class_3321;method_14550(Lnet/minecraft/class_3176;)Znamed convertPlayerFilesLnet/minecraft/server/ServerConfigHandler;convertPlayerFiles(Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;)Z
-
createDirectory
- Mappings:
Namespace Name Mixin selector official aLagm;a(Ljava/io/File;)Vintermediary method_14534Lnet/minecraft/class_3321;method_14534(Ljava/io/File;)Vnamed createDirectoryLnet/minecraft/server/ServerConfigHandler;createDirectory(Ljava/io/File;)V
-
checkSuccess
- Mappings:
Namespace Name Mixin selector official eLagm;e(Lnet/minecraft/server/MinecraftServer;)Zintermediary method_14540Lnet/minecraft/class_3321;method_14540(Lnet/minecraft/server/MinecraftServer;)Znamed checkSuccessLnet/minecraft/server/ServerConfigHandler;checkSuccess(Lnet/minecraft/server/MinecraftServer;)Z
-
checkListConversionSuccess
private static boolean checkListConversionSuccess()- Mappings:
Namespace Name Mixin selector official aLagm;a()Zintermediary method_14541Lnet/minecraft/class_3321;method_14541()Znamed checkListConversionSuccessLnet/minecraft/server/ServerConfigHandler;checkListConversionSuccess()Z
-
checkPlayerConversionSuccess
- Mappings:
Namespace Name Mixin selector official fLagm;f(Lnet/minecraft/server/MinecraftServer;)Zintermediary method_14542Lnet/minecraft/class_3321;method_14542(Lnet/minecraft/server/MinecraftServer;)Znamed checkPlayerConversionSuccessLnet/minecraft/server/ServerConfigHandler;checkPlayerConversionSuccess(Lnet/minecraft/server/MinecraftServer;)Z
-
getLevelPlayersFolder
- Mappings:
Namespace Name Mixin selector official gLagm;g(Lnet/minecraft/server/MinecraftServer;)Ljava/io/File;intermediary method_14536Lnet/minecraft/class_3321;method_14536(Lnet/minecraft/server/MinecraftServer;)Ljava/io/File;named getLevelPlayersFolderLnet/minecraft/server/ServerConfigHandler;getLevelPlayersFolder(Lnet/minecraft/server/MinecraftServer;)Ljava/io/File;
-
markFileConverted
- Mappings:
Namespace Name Mixin selector official bLagm;b(Ljava/io/File;)Vintermediary method_14549Lnet/minecraft/class_3321;method_14549(Ljava/io/File;)Vnamed markFileConvertedLnet/minecraft/server/ServerConfigHandler;markFileConverted(Ljava/io/File;)V
-
parseDate
- Mappings:
Namespace Name Mixin selector official aLagm;a(Ljava/lang/String;Ljava/util/Date;)Ljava/util/Date;intermediary method_14535Lnet/minecraft/class_3321;method_14535(Ljava/lang/String;Ljava/util/Date;)Ljava/util/Date;named parseDateLnet/minecraft/server/ServerConfigHandler;parseDate(Ljava/lang/String;Ljava/util/Date;)Ljava/util/Date;
-