Mineuniverse
Mods
Register Event Commands

Register Event Commands

MOD
Assign commands to run at server start, player join, and player first join [FABRIC]
by notstabledev
Download Claim this project
Add a badge to your pageLink to Register Event Commands from a README, website or forum post.
Preview: Badge

Badges update automatically and link to the mod page on MineUniverse.

248 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
Server Utility Utility & QoL
Advertisement Remove ads with Premium →

This is a simple fabric mod that as created mainly to allow you to make commands run when your server starts up. It allows you to setup commands to run on three events:

On server startup

On player join

On player join for first time

 

This is a server side only mod meaning if you put this on your server, none of your players need to download it also

**REQUIRES FABRIC API**

 

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

there is also /registerCommand <event> list

 

If you make a command for player join / player join for first time and want to execute a command using that players name use @j or @join in place of a player name or in place of @p /@s types. If u put :p: :name: :playername: or :player: in a join command it will be replaced with a with the players name in text format.

 

YOU MUST PUT THE <command> IN QOTATIONS (see examples below). There is no command autocomplete suggestions when you are registering a command, the best practice is just to type out the command before hand then ctrl/cmd a and copy then type /registerCommand <event> (add|remove) "paste command here"

 

Example:

 

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

This will give a player 1 diamond each time they join

 

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

This will add a custom message that will run the first time a player joins and welcome them by name

 

/registerCommand onStart add "say server started"

will run /say server started right when the server starts

 

 

 

All commands that are added are stored in config/CommandRunner.json and you can edit/remove commands there if you would prefer

Command Runner FABRIC v1.0 1.18
MC 1.18.1, Fabric, 1.18
Release 2022-01-09 Get
Advertisement Remove ads with Premium →

You Might Also Like