All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Server Events

Server Events

by KKW557 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Server Events

GitHub License GitHub Actions Workflow Status GitHub Release

Modrinth Downloads CurseForge Downloads

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

  1. Import this package to your project.
  2. Add serverevents to your mod depends.
repositories {
    maven "https://mvn.suc.icu"
}

dependencies {
    implementation "icu.suc.mc:serverevents:<version>"
}

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.

How to Install Server Events (Mod)

Server Events by KKW557 is verified for Fabric, Quilt across Minecraft versions 1.21.10, 1.21.11, 1.21.5, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1 (latest release: 2.2.1+26.1, file size: 73 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.5, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1) and platform (Fabric, Quilt).
  2. Make sure you have the compatible loader or environment installed for Fabric, Quilt.
  3. Move the downloaded Server Events file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.2 26.1.x
Fabric Quilt
7mo ago 1
1.21.11
Fabric Quilt
7mo ago 1
26.1.x
Fabric Quilt
7mo ago 1
1.21.11
Fabric Quilt
7mo ago 1
26.1.x
Fabric Quilt
7mo ago 1
1.21.11
Fabric Quilt
7mo ago 1
26.1.x
Fabric Quilt
7mo ago 1
1.21.11
Fabric Quilt
8mo ago 1
1.21.11
Fabric Quilt
8mo ago 1
1.21.11
Fabric Quilt
8mo ago 1
1.21.11
Fabric
11mo ago 1
1.21.x
Fabric
last yr. 1
1.21.8
Fabric
last yr. 1
1.21.8
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.7
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
[2.2.1+26.1] 2.2.1+26.1 by KKW557 on Apr 23, 2026
Download
## What's Changed


## What's Changed


  • Added icu.suc.mc.serverevents.ServerEventPriority
  • Changed **groupId** from icu.suc to icu.suc.mc.
  • Added docs for mixins.
Update icon

...
the EntitySleepEvents.ALLOW_SLEEP_TIME event has been removed [#4930](FabricMC/fabric#4930)
Server Events Icon
Download Server Events
Select game version
Select platform