Package me.efekos.simpler
Class Simpler
java.lang.Object
me.efekos.simpler.Simpler
Main class of Simpler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidchangeMessageConfiguration(MessageConfiguration configuration) Changes the configuration with the configuration given.static MessageConfigurationReturns the message configuration Simpler is using right now.static voidregisterCommands(org.bukkit.plugin.java.JavaPlugin plugin) Scans your entire plugin source to find commands (anything annotated withCommandwill be considered a command) and registers them.
-
Constructor Details
-
Simpler
public Simpler()Creates a new instance.
-
-
Method Details
-
getMessageConfiguration
Returns the message configuration Simpler is using right now.- Returns:
- Message config of Simpler.
-
changeMessageConfiguration
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 withCommandwill be considered a command) and registers them.- Parameters:
plugin- Instance of your plugin.
-