Mineuniverse
Log in Register
Mods

LCon - Local Console Access

Simple mod that adds WebSocket server to Minecraft, which allows to send commands and receive answers almost like RCon does.
by CweLTH
Download Claim this project
402 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Server Utility Utility & QoL

Simple client-only mod that adds WebSocket server to Minecraft, which allows to send commands and receive answers almost like RCon does. 

Usage:

By default mod creates a config with the following settings:

  • enable_mod = true
  • port = 8115

So, a WebSocket server will be created listening on port 8115. All you have to do is connect to this server using your preferred WebSocket client. 

After successful connection, server will respond back with the following information:

200:Welcome to LCon! Have fun! Don't forget to use prefixes with every message you send to me.
200:Valid prefixes:
200:[chat] - send message to Minecraft chat.
200:[message] - display message for player only.
200:[client] - execute client-side command.
200:[server] - execute server-side command.
201:ready.

Server prepends every message with the status code. They're pretty similar to regular HTTP status codes:

  • 200 - normal message
  • 201 - status message (success)
  • 400 - error

Well, you may send various data to server to perform certain actions and get back messages from server. Every message that is printed in Minecraft chat will be echo'ed to connected WebSocket clients. So, your client should either parse or ignore them.

To send something to server, you must prepend the message itself with one of the valid prefixes as stated above. Sending message without valid prefix will result in error sent back with appropriate status code.

lcon-1.20.1-1.0.4.jar
MC Client, 1.20.1, Forge
Release 2024-06-01 Get

More from CweLTH

Bioimmunity
983
Oh My Donation! (OMD)
8,563
Fear me! (not) (TigerKus' rewrite)
6,199
SotS companion mod
5,742
Harder Workbench
5,387
Craft on Surface
49,270

You Might Also Like

Liberty's Villagers
Quality of Life and AI improvements for Villagers
9,968,428
No More Pop-ups
A Minecraft mod to remove in-game pop-ups
996,708
BetterRandomSourceConcurrencyCrash
Improved logging of crashes caused by mods accessing RandomSources from the wrong thread
99,371
Exit Confirmation
Often accidentally closed Minecraft? This mod might help!
99,067
NoDynamicFps
Adds an option to disable Vanilla's Dynamic FPS implementation
99,004
Immersive Crafting
Adds crafting recipes to immersive portals
9,998