Skip to content

Example API integration

Angelillo15 edited this page Oct 15, 2022 · 2 revisions

If you want to listen when the limit has been reached you can use the LimitReachedEvent

public class ExampleListener implements Listener {
    
    @EventHandler
    public void onLimitReachedEvent(LimitReachedEvent event) {
        // Do something
    }
}

More information here

Clone this wiki locally