Back to mods
Server Events project artwork

Modrinth · Minecraft mod

Server Events

A Fabric mod enhancing server-side event handling with a Bukkit-inspired system, extending and encapsulating Fabric API events.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Server Events release should I use?

Updated 7 months ago
Latest stable file 2.2.1+26.1
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric, Quilt

Server Events 2.2.1+26.1 targets 26.1, 26.1.1, 26.1.2 with Fabric, Quilt. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Server Events required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Server Events 2.2.1+26.1 need?

2.2.1+26.1. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Server Events 2.2.1+26.1
required
Matching file found Matched file: 0.161.0+26.2

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Server Events without breaking your instance.

Built for Server Events 2.2.1+26.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.2.1+26.1. It targets 26.1, 26.1.1, 26.1.2 with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.2.1+26.1. It opens that exact file at the source.

About this project

What does Server Events add?

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.

Project description from Modrinth.

Pick your setup

Server Events by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

15 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Server Events versions and loaders

20 of 20 releases match

Looking for an older file? The official Modrinth project page is in Resources.