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
1,803
Modrinth ID
hykUQTdx
Last Updated
Apr 13, 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 and giving an apple when joining:
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) -> { player.getInventory().add(Items.APPLE.getDefaultInstance()); return Component.literal("[+] ").append(player.getName()); }); } }License
This project is licensed under the MIT License © 2025 sucj.
Compatibility
Mod Loaders
Game Versions
Similar Mods
Random Misfits
Armor, multitools & other random utilities
SCP Laboratory
Mod to add SCP blocks and warheads
Shipping Bin
A simple way to sell your goods, inspired by Stardew Valley!
Pumpkin Pastures
Inspired by the classic PumpkinPatch mod from 1.6.4, Pumpkin Pastures adds new pumpkin related food, monsters, and gear
Sessility
AFK utilities for servers: Recolor AFK players in tab list, exclude AFK players from the sleeping requirement, broadcast...
Block Generators
block generators adds blocks that generate ores/blocks