API - Kirastur/DoorCloserNukkit GitHub Wiki
This plugin has a simple API. The API can be used to call DoorCloser's admin-functions from other plugins.
Get the API object with DoorCloserAPI doorCloserAPI = DoorCloserProvider.getAPI();
public int getTaskCount()
Get the number of doors currently scheduled for close.
public boolean isDebug()
Get the current debug status.
public void setDebug(boolean newDebug)
Enable or disable the debug mode.
public Set<Material> getOpenablesInScope()
Get a list of all openable materials in scope as defined in the config. Read-Only.
public void reload() throws DoorCloserException
Reload configuration from file.