Class PreYggdrasilConverter


  • public class PreYggdrasilConverter
    extends java.lang.Object
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • OLD_IPBANLIST

        public static final java.io.File OLD_IPBANLIST
      • OLD_USERBANLIST

        public static final java.io.File OLD_USERBANLIST
      • OLD_OPLIST

        public static final java.io.File OLD_OPLIST
      • OLD_WHITELIST

        public static final java.io.File OLD_WHITELIST
    • Constructor Detail

      • PreYggdrasilConverter

        public PreYggdrasilConverter()
    • Method Detail

      • readOldListFormat

        static java.util.List<java.lang.String> readOldListFormat​(java.io.File p_152721_0_,
                                                                  java.util.Map<java.lang.String,​java.lang.String[]> p_152721_1_)
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • lookupPlayers

        private static void lookupPlayers​(MinecraftServer p_152717_0_,
                                          java.util.Collection<java.lang.String> p_152717_1_,
                                          com.mojang.authlib.ProfileLookupCallback p_152717_2_)
      • convertUserBanlist

        public static boolean convertUserBanlist​(MinecraftServer p_152724_0_)
      • convertIpBanlist

        public static boolean convertIpBanlist​(MinecraftServer p_152722_0_)
      • convertOpsList

        public static boolean convertOpsList​(MinecraftServer p_152718_0_)
      • convertWhiteList

        public static boolean convertWhiteList​(MinecraftServer p_152710_0_)
      • convertMobOwnerIfNecessary

        @Nullable
        public static java.util.UUID convertMobOwnerIfNecessary​(MinecraftServer p_187473_0_,
                                                                java.lang.String p_187473_1_)
      • convertPlayers

        public static boolean convertPlayers​(DedicatedServer p_152723_0_)
      • ensureDirectoryExists

        private static void ensureDirectoryExists​(java.io.File p_152711_0_)
      • serverReadyAfterUserconversion

        public static boolean serverReadyAfterUserconversion​(MinecraftServer p_219587_0_)
      • areOldUserlistsRemoved

        private static boolean areOldUserlistsRemoved()
      • areOldPlayersConverted

        private static boolean areOldPlayersConverted​(MinecraftServer p_219589_0_)
      • getWorldPlayersDirectory

        private static java.io.File getWorldPlayersDirectory​(MinecraftServer p_219585_0_)
      • renameOldFile

        private static void renameOldFile​(java.io.File p_152727_0_)
      • parseDate

        private static java.util.Date parseDate​(java.lang.String p_152713_0_,
                                                java.util.Date p_152713_1_)