Developers' API documentation
What can be done?
At the moment, you can do following:
- Add new variables to MOTD
How?
You can use the variables API. You need to listen for VariablesRegisterEvent and then call
@EventHandler public void onVariablesRegister(VariablesRegisterEvent event){ Variable myVariable; // you need to create variable. Check code on github to see how variables work. event.registerVariable("myvar", myVariable); }