Class LanguageManager
java.lang.Object
rocks.gravili.notquests.spigot.managers.LanguageManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplyColor
(String message) applyInternalPlaceholders
(String initialMessage, Object... internalPlaceholderObjects) applySpecial
(String initialMessage) final org.bukkit.configuration.file.FileConfiguration
This will return the language FileConfiguration objectfinal String
getString
(String languageString, org.bukkit.entity.Player targetPlayer, Object... internalPlaceholderObjects) final void
Load language configsvoid
void
This will try to save the language configuration file with the data which is currently in the languageConfig FileConfiguration object.boolean
-
Constructor Details
-
LanguageManager
-
-
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
-
applyInternalPlaceholders
-
applySpecial
-
applyColor
-
saveLanguageConfig
public void saveLanguageConfig()This will try to save the language configuration file with the data which is currently in the languageConfig FileConfiguration object.
-