Class LanguageManager

java.lang.Object
org.strassburger.serverlinksz.util.LanguageManager

public class LanguageManager extends Object
  • Field Details

    • defaultLangs

      public static final List<String> defaultLangs
  • Constructor Details

    • LanguageManager

      public LanguageManager(ServerLinksZ plugin)
  • Method Details

    • reload

      public void reload()
      Reloads the language configuration
    • getString

      public String getString(String key)
      Returns a string from the language file
      Parameters:
      key - The key of the string
      Returns:
      The string
    • getString

      public String getString(String key, String fallback)
      Returns a string from the language file
      Parameters:
      key - The key of the string
      fallback - The fallback string
      Returns:
      The string