Package me.efekos.simpler
Class Simpler
java.lang.Object
me.efekos.simpler.Simpler
Main class of Simpler.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
changeMessageConfiguration
(MessageConfiguration configuration) Changes the configuration with the configuration given.static MessageConfiguration
Returns the message configuration Simpler is using right now.static void
registerCommands
(org.bukkit.plugin.java.JavaPlugin plugin) Scans your entire plugin source to find commands (anything annotated withCommand
will 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 withCommand
will be considered a command) and registers them.- Parameters:
plugin
- Instance of your plugin.
-