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 on: https://javadocs.angelillo15.es/javadocs/ram-limit-restart/es/angelillo15/rlr/api/bukkit/events/LimitReachedEvent.html

Clone this wiki locally