//finally register the listener for the hook events
server.getPluginManager().registerEvents(pyPlugin.listener, pyPlugin);
// Perhaps abort here, rather than continue going, but as it stands,
// an abort is not possible the way it's currently written
server.getPluginManager().callEvent(new PluginEnableEvent(plugin));
}
}