This shows you the differences between two versions of the page.
|Both sides previous revision Previous revision|
plugin_api [2017/01/18 17:52]
plugin_api [2017/01/18 17:58] (current)
|Line 67:||Line 67:|
|-||One can clearly see that it's basically Bukkit with minor tweaks, like being mostly agnostic to the whole client/server dichotomy and being much simpler and direct. One interesting line is :||+||If you are any familiar with Bukkit/Spigot plugins, this code shouldn't feel too overwhelming, there is a constructor dependant on wether the plugin is only client, only server or both, onEnable/onDisable methods as well as command and event handlers.|
|''this.getPluginsManager().registerEventListener(handler, this);'', let's look at DemoEventHandler :||''this.getPluginsManager().registerEventListener(handler, this);'', let's look at DemoEventHandler :|