Back to Mods
netmsg

netmsg

utilityasonia

This mod provides a custom event `NetMessageReceivedEvent` that is fired whenever the LocalNetBridge receives a message on port 55000. Other mods can listen to this event to handle incoming messages.

About netmsg

NetMsg

Looking for a fun PVP experience on a stable server?

Join HYDMG.COM IP: hydmg.com

This mod provides a custom event NetMessageReceivedEvent that is fired whenever the LocalNetBridge receives a message on port 55000. Other mods can listen to this event to handle incoming messages.

Listening for Messages

To listen for messages, you need to register a listener for NetMessageReceivedEvent.

Example Listener

import com.hydmg.netmsg.event.NetMessageReceivedEvent; import com.hypixel.hytale.server.core.plugin.JavaPlugin;

public class MyModListener { public void onMessageReceived(NetMessageReceivedEvent event) { String message = event.getMessage(); System.out.println("Received message: " + message); // Process the message... } } Registering the Listener

In your mod's setup method:

@Override protected void setup() { MyModListener listener = new MyModListener(); getEventRegistry().registerGlobal(NetMessageReceivedEvent.class, listener::onMessageReceived); } Event Details

Class: com.hydmg.netmsg.event.NetMessageReceivedEvent

Method: getMessage() returns the String content of the received message.

Sending Messages

To send a message to the bridge from the command line, you can use curl:

curl -X POST -d "Hello, Hytale!" http://localhost:55000

Mods Currently using netmsg

broadcaster

Created By

Use code asonia to support us!

Downloads
49
Created
Jan 16, 2026
Updated
Jan 16, 2026
Version
Early Access

Categories

Utility

Download Mod

Download on CurseForge
Free download • 49 total downloads

Need a Server?

Run netmsg on a dedicated Hytale server with easy mod management.

Get Hytale Hosting

Frequently Asked Questions

What is netmsg?

This mod provides a custom event `NetMessageReceivedEvent` that is fired whenever the LocalNetBridge receives a message on port 55000. Other mods can listen to this event to handle incoming messages.

How do I download netmsg?

You can download netmsg for free from CurseForge. Click the "Download on CurseForge" button on this page to go directly to the download page.

Who created netmsg?

netmsg was created by asonia. The mod has been downloaded 49 times.

Is netmsg compatible with Hytale servers?

netmsg is designed for Hytale and can be used on both single-player and multiplayer servers. Check the mod page on CurseForge for specific compatibility information.

How do I install netmsg?

To install netmsg: 1) Download the mod from CurseForge, 2) Place the file in your Hytale mods folder, 3) Restart the game. The mod should load automatically.