Scheduler
LiteCommands is a highly concurrent environment. Code can be executed in many threads simultaneously.
Scheduler and SchedulerPool control how LiteCommands run code.
How to change Scheduler
You can change a scheduler in LiteCommands builder:
java
.scheduler(new YourScheduler())
Default Schedulers for Platforms
Platform | Scheduler |
---|---|
Bukkit | BukkitSchedulerImpl |
Velocity | default |
BungeeCord | default |
MineStom | MineStomScheduler |
Fabric | default |
Sponge | default |
JDA | default |
Folia | Coming Soon... |
default
- SchedulerExecutorPoolImpl