Class ServerConfigHandler

java.lang.Object
net.minecraft.server.ServerConfigHandler

public class ServerConfigHandler extends Object
Mappings:
Namespace Name
official afr
intermediary net/minecraft/class_3321
named net/minecraft/server/ServerConfigHandler
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official e Lafr;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

      public static final File BANNED_IPS_FILE
      Mappings:
      Namespace Name Mixin selector
      official a Lafr;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

      public static final File BANNED_PLAYERS_FILE
      Mappings:
      Namespace Name Mixin selector
      official b Lafr;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

      public static final File OPERATORS_FILE
      Mappings:
      Namespace Name Mixin selector
      official c Lafr;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

      public static final File WHITE_LIST_FILE
      Mappings:
      Namespace Name Mixin selector
      official d Lafr;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 Lafr;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 Lafr;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

      public static boolean convertBannedPlayers(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official a Lafr;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

      public static boolean convertBannedIps(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official b Lafr;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

      public static boolean convertOperators(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official c Lafr;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

      public static boolean convertWhitelist(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official d Lafr;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

      @Nullable public static @Nullable UUID getPlayerUuidByName(MinecraftServer server, String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lafr;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

      public static boolean convertPlayerFiles(MinecraftDedicatedServer minecraftServer)
      Mappings:
      Namespace Name Mixin selector
      official a Lafr;a(Lacd;)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

      static void createDirectory(File directory)
      Mappings:
      Namespace Name Mixin selector
      official a Lafr;a(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

      public static boolean checkSuccess(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official e Lafr;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 a Lafr;a()Z
      intermediary method_14541 Lnet/minecraft/class_3321;method_14541()Z
      named checkListConversionSuccess Lnet/minecraft/server/ServerConfigHandler;checkListConversionSuccess()Z
    • checkPlayerConversionSuccess

      private static boolean checkPlayerConversionSuccess(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official f Lafr;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

      private static File getLevelPlayersFolder(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official g Lafr;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

      private static void markFileConverted(File file)
      Mappings:
      Namespace Name Mixin selector
      official b Lafr;b(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

      static Date parseDate(String dateString, Date fallback)
      Mappings:
      Namespace Name Mixin selector
      official a Lafr;a(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;