Class Simpler

java.lang.Object
me.efekos.simpler.Simpler

public final class Simpler extends Object
Main class of Simpler.
  • Constructor Details

    • Simpler

      public Simpler()
      Creates a new instance.
  • Method Details

    • getMessageConfiguration

      public static MessageConfiguration getMessageConfiguration()
      Returns the message configuration Simpler is using right now.
      Returns:
      Message config of Simpler.
    • changeMessageConfiguration

      public static void changeMessageConfiguration(MessageConfiguration configuration)
      Changes the configuration with the configuration given.
      Parameters:
      configuration - New configuration that you want Simpler to use.
    • registerCommands

      public static void registerCommands(org.bukkit.plugin.java.JavaPlugin plugin)
      Scans your entire plugin source to find commands (anything annotated with Command will be considered a command) and registers them.
      Parameters:
      plugin - Instance of your plugin.