use of com.gmail.stefvanschiedev.buildinggame.events.block.JoinSignCreate in project buildinggame by stefvanschie.
the class Main method onEnable.
/**
* Called whenever this plugin is being enabled
*
* @since 2.1.0
*/
@Override
public void onEnable() {
instance = this;
SettingsManager.getInstance().setup(this);
JoinSign.load();
new BukkitCommandManager(this).registerCommand(new BuildingGameCommand());
Bukkit.getPluginManager().registerEvents(new JoinSignBreak(), this);
Bukkit.getPluginManager().registerEvents(new JoinSignCreate(), this);
Bukkit.getPluginManager().registerEvents(new ClickJoinSign(), this);
// connects the client to the server
BungeeCordHandler.getInstance();
getLogger().info("BuildingGame - BungeeCord Addon has been enabled");
}
Aggregations