Package io.github.pylonmc.pylon.core
Object PylonCore
-
- All Implemented Interfaces:
-
io.github.pylonmc.pylon.core.addon.PylonAddon
,io.papermc.paper.plugin.lifecycle.event.LifecycleEventOwner
,net.kyori.adventure.key.Keyed
,net.kyori.adventure.key.Namespaced
,org.bukkit.Keyed
,org.bukkit.command.CommandExecutor
,org.bukkit.command.TabCompleter
,org.bukkit.command.TabExecutor
,org.bukkit.plugin.Plugin
public class PylonCore extends JavaPlugin implements PylonAddon
-
-
Field Summary
Fields Modifier and Type Field Description private final PylonCore
javaPlugin
private final Material
material
private final Set<Locale>
languages
private final TranslatableComponent
displayName
private final Boolean
suppressAddonNameWarning
public final static PylonCore
INSTANCE
-
Method Summary
Modifier and Type Method Description Unit
onEnable()
Unit
onDisable()
PylonCore
getJavaPlugin()
Must return this
Material
getMaterial()
The material to represent this addon in menus Set<Locale>
getLanguages()
The set of Locales this addon has translations for -
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode, namespace
-
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getLifecycleManager, getLogger, getPluginLoader, getPluginMeta, getResource, getServer, init, init, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, registerCommand, registerCommand, registerCommand, registerCommand, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
-
Methods inherited from class org.bukkit.plugin.Plugin
getComponentLogger, getDataPath, getLog4JLogger, getSLF4JLogger
-
Methods inherited from class io.github.pylonmc.pylon.core.addon.PylonAddon
getDisplayName, getKey, mergeGlobalConfig, registerWithPylon, suppressAddonNameWarning
-
Methods inherited from class org.bukkit.Keyed
key
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getJavaPlugin
PylonCore getJavaPlugin()
Must return
this
-
getMaterial
Material getMaterial()
The material to represent this addon in menus
-
getLanguages
Set<Locale> getLanguages()
The set of Locales this addon has translations for
-
-
-
-