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
FieldsModifier and TypeFieldDescriptionstatic booleanstatic Stringstatic VoxelSniperPluginstatic boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the brush registry.Return the command manager.Return the pattern parser.Return performer registry.static JavaPluginReturn the sniper registry.Return the translation manager.Return the voxel sniper config.voidonEnable()voidreload()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, registerCommand, registerCommand, registerCommand, registerCommand, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toStringMethods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
onEnablein interfacePlugin- Overrides:
onEnablein 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
-