Class LapisCoreConfigUpdater


  • public class LapisCoreConfigUpdater
    extends java.lang.Object
    This class uses the ConfigUpdater by tchristofferson This project can be found here https://github.com/tchristofferson/Config-Updater
    • Constructor Summary

      Constructors 
      Constructor Description
      LapisCoreConfigUpdater​(LapisCorePlugin plugin, int newVersion, java.io.File f)
      Adds new keys to configs without loosing comments
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LapisCoreConfigUpdater

        public LapisCoreConfigUpdater​(LapisCorePlugin plugin,
                                      int newVersion,
                                      java.io.File f)
        Adds new keys to configs without loosing comments
        Parameters:
        plugin - The plugin where the configs are stored
        newVersion - The new ConfigVersion that we are upgrading to
        f - The file we are updating