Class SettingManager

java.lang.Object
com.jackdaw.chatwithnpc.SettingManager

public class SettingManager extends Object
Manages the config files for the modules provided by this plugin.

Configure the setting if a specific module is enabled or disabled.

Version:
v2.6
Author:
WDRshadow, Lokeyli
  • Field Details

    • logger

      private static final org.slf4j.Logger logger
    • configFile

      private static final File configFile
    • enabled

      public static boolean enabled
    • range

      public static double range
    • language

      public static String language
    • wordLimit

      public static int wordLimit
    • apiKey

      public static String apiKey
    • model

      public static String model
    • apiURL

      public static String apiURL
    • isBubble

      public static boolean isBubble
    • isChatBar

      public static boolean isChatBar
    • bubbleColor

      public static TextBubbleEntity.TextBackgroundColor bubbleColor
    • timeLastingPerChar

      public static long timeLastingPerChar
  • Constructor Details

    • SettingManager

      public SettingManager()
  • Method Details

    • sync

      public static void sync()
      Load the setting from the config file.
    • save

      public static void save()
      Write the setting to the config file.