Package dev.majek.pc.data
Class LanguageHandler
- java.lang.Object
-
- dev.majek.pc.mechanic.Mechanic
-
- dev.majek.pc.data.LanguageHandler
-
- All Implemented Interfaces:
org.bukkit.event.Listener
public class LanguageHandler extends Mechanic
Handles all plugin languages and their config files.
-
-
Constructor Summary
Constructors Constructor Description LanguageHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Language>getLangMap()Get the plugin's map ofLanguages.LanguagegetLanguage()Get the current pluginLanguage.voidonStartup()Runs when the plugin is being enabled.voidsetLanguage(Language language)Set the pluginLanguage.-
Methods inherited from class dev.majek.pc.mechanic.Mechanic
onPlayerJoin, onPlayerQuit, onShutdown
-
-