Class LanguageManager

java.lang.Object
rocks.gravili.notquests.spigot.managers.LanguageManager

public class LanguageManager extends Object
  • Constructor Details

    • LanguageManager

      public LanguageManager(NotQuests main)
  • Method Details

    • loadMissingDefaultLanguageFiles

      public void loadMissingDefaultLanguageFiles()
    • loadLanguageConfig

      public final void loadLanguageConfig()
      Load language configs
    • setupDefaultStrings

      public boolean setupDefaultStrings()
    • getLanguageConfig

      public final org.bukkit.configuration.file.FileConfiguration getLanguageConfig()
      This will return the language FileConfiguration object
    • getString

      public final String getString(String languageString, org.bukkit.entity.Player targetPlayer, Object... internalPlaceholderObjects)
    • applyInternalPlaceholders

      public String applyInternalPlaceholders(String initialMessage, Object... internalPlaceholderObjects)
    • applySpecial

      public String applySpecial(String initialMessage)
    • applyColor

      public String applyColor(String message)
    • saveLanguageConfig

      public void saveLanguageConfig()
      This will try to save the language configuration file with the data which is currently in the languageConfig FileConfiguration object.