Skip to content

Coding

This section will contain a list of coding hints for when working with Geyser either as a contributer or as a plugin developer.

Async Tasks

You can obtain a ScheduledExectorService by using GeyserConnector#getGeneralThreadPool.

Example

 GeyserConnector.getInstance().getGeneralThreadPool().schedule(() -> {
    ...
 }, 5, TimeUnit.SECONDS);

Last update: