Server Events
ModA Fabric mod enhancing server-side event handling with a Bukkit-inspired system, extending and encapsulating Fabric API events.
Type
Mod
Modrinth Downloads
2,900
Modrinth ID
hykUQTdx
Last Updated
Jul 26, 2026
Description
Server Events
Server Events is a support library for Fabric server development, designed to enhance the Fabric API's limited event system. It offers a Bukkit-like event framework while adhering to Fabric's minimalist philosophy.
The mod doesn't wrap CommandRegistrationCallback and DynamicRegistrySetupCallback from Fabric API.
Installation
- Import this package to your project.
- Add serverevents to your mod depends.
Since 2.0.0, the groupId has been changed from icu.suc to icu.suc.mc.
Usage
ServerEvents provides a simple API for registering and processing events.
Here is an example of a player modifying broadcast information:
import net.fabricmc.api.ModInitializer; import net.minecraft.network.chat.Component; import net.minecraft.world.item.Items; import icu.suc.mc.serverevents.ServerEvents; public class ExampleMod implements ModInitializer { @Override public void onInitialize() { ServerEvents.Player.MODIFY_JOIN_MESSAGE.register((player, message) -> Component.literal("[+] ").append(player.getName())); } }Since 2.2.0:
import icu.suc.mc.serverevents.Listener; import icu.suc.mc.serverevents.ServerEvents; import net.fabricmc.api.ModInitializer; import net.fabricmc.fabric.api.event.Event; import net.minecraft.network.chat.Component; import net.minecraft.server.level.ServerPlayer; import org.jetbrains.annotations.NotNull; public class ExampleMod implements ModInitializer, Listener, ServerEvents.Player.Join.ModifyMessage { @Override public void onInitialize() { ServerEvents.register(this); } @Override public @NotNull Event<?>[] events() { return new Event[]{ServerEvents.Player.Join.MODIFY_MESSAGE}; } @Override public @NotNull Component modifyJoinMessage(@NotNull ServerPlayer player, @NotNull Component message) { return Component.literal("[+] ").append(player.getName()); } }License
This project is licensed under the MIT License © 2025 sucj.
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Epic Explosives
This mod adds C4s and a lot of explosive mines like normal, fake, wither, poisonous & more!
Deep Drilling
An addon for Create, adding powerful drills that extract ores from deep within the earth
Naruto Destination
The Naruto Destination rework of the well known Mathioks Naruto Anime Mod.
Firework Rocket Jetpack
Adds a jetpack to minecraft!
Moisturization
Giver greater control over farmland saturation and crop growth. Also sprinklers.
Create: Charcoal to Diamonds
!FABRIC IS CURRENTLY BUGGED, WILL REMOVE WHEN FIXED! An addon for the Create mod where you can turn Charcoal into Diamon...