Class VoxelSniperPlugin

All Implemented Interfaces:
LifecycleEventOwner, CommandExecutor, TabCompleter, TabExecutor, Plugin

public class VoxelSniperPlugin extends JavaPlugin
  • Field Details

    • plugin

      public static VoxelSniperPlugin plugin
    • newVersionTitle

      public static String newVersionTitle
    • hasUpdate

      public static boolean hasUpdate
    • updateCheckFailed

      public static boolean updateCheckFailed
  • Constructor Details

    • VoxelSniperPlugin

      public VoxelSniperPlugin()
  • Method Details

    • getPlugin

      public static JavaPlugin getPlugin()
    • onEnable

      public void onEnable()
      Specified by:
      onEnable in interface Plugin
      Overrides:
      onEnable in class JavaPlugin
    • reload

      public void reload()
    • getVoxelSniperConfig

      public VoxelSniperConfig getVoxelSniperConfig()
      Return the voxel sniper config.
      Returns:
      the voxel sniper config
    • getTranslationManager

      public TranslationManager getTranslationManager()
      Return the translation manager.
      Returns:
      the translation manager
      Since:
      2.7.0
    • getBrushRegistry

      public BrushRegistry getBrushRegistry()
      Return the brush registry.
      Returns:
      the brush registry
    • getPerformerRegistry

      public PerformerRegistry getPerformerRegistry()
      Return performer registry.
      Returns:
      the performer registry
    • getSniperRegistry

      public SniperRegistry getSniperRegistry()
      Return the sniper registry.
      Returns:
      the sniper registry
    • getPatternParser

      public PatternParser getPatternParser()
      Return the pattern parser.
      Returns:
      the pattern parser
      Since:
      2.6.0
    • getCommandRegistry

      public CommandRegistry getCommandRegistry()
      Return the command manager.
      Returns:
      the command manager
      Since:
      3.0.0