package de.jaschastarke.minecraft.limitedcreative; import de.jaschastarke.i18n; import de.jaschastarke.bukkit.lib.Core; import de.jaschastarke.bukkit.lib.PluginLang; public class LimitedCreative extends Core { private i18n lang; protected Config config = null; @Override public void OnInitialize() { super.OnInitialize(); config = new Config(this); this.debug = config.getDebug(); lang = new PluginLang("lang/messages", this); Hooks.inizializeHooks(this); addModule(new ModInventories(this)); addModule(new ModCreativeLimits(this)); addModule(new ModRegions(this)); addModule(new ModCmdBlocker(this)); config.save(); } public Config getPluginConfig() { return config; } @Deprecated public String L(String msg, Object... objects) { return lang.trans(msg, objects); } public i18n getLocale() { return lang; } }