Register Event Commands: Automate Your Minecraft Server

Register Event Commands lets you run commands automatically on server start and player join. Download this handy Fabric mod for Minecraft today!

Register Event Commands

Running a Minecraft server means juggling a lot of small tasks: welcoming new players, handing out starter kits, announcing restarts, and keeping everything tidy. Doing all of that manually gets old fast. That is exactly where Register Event Commands comes in. This lightweight Fabric mod lets you schedule commands to fire automatically whenever a specific event happens on your server, so you can spend less time typing and more time playing.

What Register Event Commands Actually Does

At its core, this is a simple server-side utility. It hooks into three key moments in your server's life and runs whatever commands you have assigned to them. Those events are:

  • On server startup — fire off commands the moment your world loads.
  • On player join — trigger commands every time any player connects.
  • On player first join — run something special only when a brand-new player arrives for the very first time.

Because it is server-side only, you do not have to worry about your players installing anything. If you put Register Event Commands for Minecraft on your server, everyone can connect with a vanilla client and never notice a thing. The mod does require Fabric API to function, so make sure that is present alongside it.

Supported Versions and Loader

Register Event Commands is built for the Fabric mod loader, which makes it a natural fit for modern Fabric-based servers. It is designed to work across a range of recent Minecraft releases, so whether you are running a fresh world on the latest version or maintaining an established server, you can slot it in without drama. Just confirm that your Fabric API build matches your game version, drop both files into your mods folder, and you are set.

How to Install

Getting started is quick. Here is the short version of how to install:

  • Install the Fabric loader for your chosen Minecraft version.
  • Download the matching Fabric API and place it in your server's mods folder.
  • Download Register Event Commands and drop it into the same folder.
  • Restart the server so the mod can generate its config file.

If you would rather skip the manual file shuffling, the foxygame.net launcher makes it painless: its built-in add-on catalog lets you add Register Event Commands with a single click and keeps it updated automatically as new versions roll out. Either way, once the server boots you are ready to start registering commands.

Registering Commands: The Syntax

Everything runs through one command with a straightforward structure:

/registerCommand <event> (add|remove) "<command>"

You can also list what is currently attached to an event with /registerCommand <event> list. The event names you will use are onStart, onPlayerJoin, and onPlayerFirstJoin. One important rule: always wrap your command in quotation marks, or it will not register correctly.

Handy Placeholders

Join-based events support placeholders so your commands can target the right player. Use @j or @join in place of a player name (or in place of @p and @s). For text output, drop in :p:, :name:, :playername:, or :player: and it will be swapped for the player's name in plain text.

Practical Examples

Want to hand every player a diamond when they connect? Try:

/registerCommand onPlayerJoin add "/give @j diamond 1"

For a warm welcome on a first visit, you could use:

/registerCommand onPlayerFirstJoin add "tellraw @a {"text":"Welcome to the server :name:","bold":true,"italic":true,"color":"yellow"}"

And to announce that the world is live at boot:

/registerCommand onStart add "say server started"

A Quick Tip on Typing Commands

There is no autocomplete while you are registering a command, so the smoothest workflow is to type and test your command first, copy it, then paste it inside the quotes. It saves a lot of frustrating retyping.

Managing Your Command List

Every command you add is stored in config/CommandRunner.json. If you prefer editing files directly, you can open that JSON and tweak or delete entries by hand. It is a convenient fallback when you want to reorganize a long list of startup commands in one go.

Final Thoughts

Register Event Commands is one of those small mods that quietly makes server life easier. Automatic welcomes, starter items, and startup announcements all happen without you lifting a finger, and because it is server-side only, your players never need to install a thing. If you run a Fabric server and want a bit more automation with almost no setup, this is a mod worth adding to your lineup.

===ARTICLE===