Package com.thevoxelbox.voxelsniper
Class VoxelSniperPlugin
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
com.thevoxelbox.voxelsniper.VoxelSniperPlugin
- All Implemented Interfaces:
LifecycleEventOwner
,CommandExecutor
,TabCompleter
,TabExecutor
,Plugin
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
static String
static VoxelSniperPlugin
static boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the brush registry.Return the command manager.Return the pattern parser.Return performer registry.static JavaPlugin
Return the sniper registry.Return the translation manager.Return the voxel sniper config.void
onEnable()
void
reload()
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLifecycleManager, getLogger, getPlugin, getPluginLoader, getPluginMeta, getProvidingPlugin, getResource, getServer, getTextResource, init, init, isEnabled, isNaggable, onCommand, onDisable, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.bukkit.plugin.Plugin
getComponentLogger, getDataPath, getLog4JLogger, getSLF4JLogger
-
Field Details
-
plugin
-
newVersionTitle
-
hasUpdate
public static boolean hasUpdate -
updateCheckFailed
public static boolean updateCheckFailed
-
-
Constructor Details
-
VoxelSniperPlugin
public VoxelSniperPlugin()
-
-
Method Details
-
getPlugin
-
onEnable
public void onEnable()- Specified by:
onEnable
in interfacePlugin
- Overrides:
onEnable
in classJavaPlugin
-
reload
public void reload() -
getVoxelSniperConfig
Return the voxel sniper config.- Returns:
- the voxel sniper config
-
getTranslationManager
Return the translation manager.- Returns:
- the translation manager
- Since:
- 2.7.0
-
getBrushRegistry
Return the brush registry.- Returns:
- the brush registry
-
getPerformerRegistry
Return performer registry.- Returns:
- the performer registry
-
getSniperRegistry
Return the sniper registry.- Returns:
- the sniper registry
-
getPatternParser
Return the pattern parser.- Returns:
- the pattern parser
- Since:
- 2.6.0
-
getCommandRegistry
Return the command manager.- Returns:
- the command manager
- Since:
- 3.0.0
-