Class MyPetGlobal.Update

java.lang.Object
de.Keyle.MyPet.api.MyPetGlobal.Update
Enclosing class:
MyPetGlobal

public static final class MyPetGlobal.Update extends Object
The built-in update checker and downloader.
  • Field Details

    • ASYNC

      public static final ConfigKey<Boolean> ASYNC
      Whether an update downloads in the background instead of holding up server start.

      MyPet.Update.In-Background -- default false.

    • CHECK

      public static final ConfigKey<Boolean> CHECK
      Whether MyPet checks for a new version on load. Checking alone never downloads anything.

      MyPet.Update.Check -- default true.

    • DOWNLOAD

      public static final ConfigKey<Boolean> DOWNLOAD
      Whether a found update is downloaded. The new jar is picked up on the next server start.

      MyPet.Update.Download -- default false.

    • SHOW_OP

      public static final ConfigKey<Boolean> SHOW_OP
      Whether operators are told when a new version is available.

      MyPet.Update.OP-Notification -- default true.