Skip to content

Modules

Moderation API

Issue and remove sanctions, read histories and manage reports with ModerationService and ReportService.

ModerationService and ReportService are registered while the moderation module runs. Every persistence operation returns a CompletableFuture: do not call join() or get() on the Minecraft thread.

Sanction types

Sanction.Type: BAN, IPBAN, BLACKLIST, MUTE, WARN, KICK.

Online checks without I/O

Java
boolean canTalk = moderation.maySpeak(player.getUniqueId());
moderation.online(player.getUniqueId()).ifPresent(view -> { /* immutable view */ });

Events

ModerationEvent carries committed issue/removal/report transitions on the server thread. Network event IDs are deduplicated locally.