Skip to content
This repository was archived by the owner on Aug 9, 2020. It is now read-only.

Creating an event Module

AtomIsHere edited this page Jan 19, 2018 · 3 revisions

To create an event module you have to create a package called modules in the root of your project (The "java" folder), create a class inside the package called ModuleClass, make it extend "EventModule"

The just add your normal event code inside that class. For Example:

public class ModuleClass extends EventModule {
    @EventHandler
    public void onPlayerJoin(PlayerJoinEvent e) {
        //Do stuff
    }
}

Clone this wiki locally