Class OldUsersConverter

java.lang.Object
net.minecraft.server.players.OldUsersConverter

public class OldUsersConverter extends Object
  • Field Details

    • LOGGER

      static final org.slf4j.Logger LOGGER
    • OLD_IPBANLIST

      public static final File OLD_IPBANLIST
    • OLD_USERBANLIST

      public static final File OLD_USERBANLIST
    • OLD_OPLIST

      public static final File OLD_OPLIST
    • OLD_WHITELIST

      public static final File OLD_WHITELIST
  • Constructor Details

    • OldUsersConverter

      public OldUsersConverter()
  • Method Details

    • readOldListFormat

      static List<String> readOldListFormat(File p_11074_, Map<String,String[]> p_11075_) throws IOException
      Throws:
      IOException
    • lookupPlayers

      private static void lookupPlayers(MinecraftServer p_11087_, Collection<String> p_11088_, com.mojang.authlib.ProfileLookupCallback p_11089_)
    • convertUserBanlist

      public static boolean convertUserBanlist(MinecraftServer p_11082_)
    • convertIpBanlist

      public static boolean convertIpBanlist(MinecraftServer p_11099_)
    • convertOpsList

      public static boolean convertOpsList(MinecraftServer p_11103_)
    • convertWhiteList

      public static boolean convertWhiteList(MinecraftServer p_11105_)
    • convertMobOwnerIfNecessary

      @Nullable public static UUID convertMobOwnerIfNecessary(MinecraftServer p_11084_, String p_11085_)
    • convertPlayers

      public static boolean convertPlayers(DedicatedServer p_11091_)
    • ensureDirectoryExists

      static void ensureDirectoryExists(File p_11094_)
    • serverReadyAfterUserconversion

      public static boolean serverReadyAfterUserconversion(MinecraftServer p_11107_)
    • areOldUserlistsRemoved

      private static boolean areOldUserlistsRemoved()
    • areOldPlayersConverted

      private static boolean areOldPlayersConverted(MinecraftServer p_11109_)
    • getWorldPlayersDirectory

      private static File getWorldPlayersDirectory(MinecraftServer p_11111_)
    • renameOldFile

      private static void renameOldFile(File p_11101_)
    • parseDate

      static Date parseDate(String p_11096_, Date p_11097_)