User Tools

Site Tools


plugin_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
plugin_api [2017/01/18 17:52]
gobrosse
plugin_api [2017/01/18 17:58] (current)
gobrosse
Line 67: Line 67:
 </​Code>​ </​Code>​
  
-One can clearly see that it's basically Bukkit ​with minor tweakslike being mostly agnostic to the whole client/server ​dichotomy ​and being much simpler and directOne interesting line is : +If you are any familiar ​with Bukkit/​Spigot pluginsthis 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 :
  
plugin_api.txt · Last modified: 2017/01/18 17:58 by gobrosse