Class AdditionsPlus

java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
net.gcnt.additionsplus.AdditionsPlus
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin

public class AdditionsPlus extends org.bukkit.plugin.java.JavaPlugin
The new main class of the AdditionsPlus project. This class replaced the old main class, located at me.gaagjescraft.network.team.advancedevents.main.Main that has been marked deprecated since 2.4.0. This class acts as the heart of the plugin. All API methods should be accessed through getAPI().
Since:
2.4.0
  • Field Details

    • languages

      public HashMap<org.bukkit.entity.Player,​String> languages
  • Constructor Details

    • AdditionsPlus

      public AdditionsPlus()
  • Method Details

    • get

      public static AdditionsPlus get()
      Get the main class of the plugin, used to access every possible aspect of the plugin.
      Returns:
      Main class of the plugin.
      Since:
      2.4.0
    • getAPI

      public static AdditionsAPI getAPI()
      Get the official instance of the AdditionsAPI class. This API is used to access every possible aspect of the plugin.
      Returns:
      AdditionsAPI to execute all API methods from.
      Since:
      2.4.0
    • getUtils

      public static Utils getUtils()
      Get the official instance of the Utils class. This class is used to handle certain utilities from the plugin, like certain action checks, placeholders, and colors.
      Returns:
      Utils class.
      Since:
      2.4.0
    • onEnable

      public void onEnable()
      Specified by:
      onEnable in interface org.bukkit.plugin.Plugin
      Overrides:
      onEnable in class org.bukkit.plugin.java.JavaPlugin
    • onDisable

      public void onDisable()
      Specified by:
      onDisable in interface org.bukkit.plugin.Plugin
      Overrides:
      onDisable in class org.bukkit.plugin.java.JavaPlugin
    • loadCommands

      public void loadCommands()
    • startActionsQueuer

      public void startActionsQueuer()
    • startIntervalScheduler

      public void startIntervalScheduler()
    • startIntervalScoreboards

      public void startIntervalScoreboards()
    • checkUpdates

      public void checkUpdates()
    • startIntervalTablists

      public void startIntervalTablists()
    • getNMS

      public NMS getNMS()
    • getCommandCommands

      public Map<String,​net.gcnt.additionsplus.commands.BaseCmd> getCommandCommands()
    • getGeneralCommands

      public Map<String,​net.gcnt.additionsplus.commands.BaseCmd> getGeneralCommands()
    • getItemCommands

      public Map<String,​net.gcnt.additionsplus.commands.BaseCmd> getItemCommands()
    • getMenuCommands

      public Map<String,​net.gcnt.additionsplus.commands.BaseCmd> getMenuCommands()
    • getUpdater

      public net.gcnt.additionsplus.mygcnt.GCNTUpdater getUpdater()
    • getActionQueuer

      public EventActions getActionQueuer()