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 ofLanguage
s.Language
getLanguage()
Get the current pluginLanguage
.void
onStartup()
Runs when the plugin is being enabled.void
setLanguage(Language language)
Set the pluginLanguage
.-
Methods inherited from class dev.majek.pc.mechanic.Mechanic
onPlayerJoin, onPlayerQuit, onShutdown
-
-