LCon - Local Console Access

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
582 Downloads
forgegame-mechanicsmanagementutility
Rent Server with this Mod

About this Mod

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:[system] - display system message in chat (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.

Available Versions

LCon - Local Console Access 1.0.4release
MC 1.20.1forge
June 1, 2024
LCon - Local Console Access 1.0.3release
MC 1.20.1forge
May 28, 2024
LCon - Local Console Access 1.0.2release
MC 1.20.1forge
May 28, 2024
LCon - Local Console Access 1.0.1release
MC 1.20.1forge
May 28, 2024
LCon - Local Console Access 1.0.0release
MC 1.20.1forge
May 27, 2024

How to Install LCon - Local Console Access on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "LCon - Local Console Access". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.20.1, 1.19.2

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

LCon - Local Console Access server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is LCon - Local Console Access compatible with forge?

LCon - Local Console Access officially supports forge for Minecraft 1.20.1, 1.19.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with LCon - Local Console Access – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if LCon - Local Console Access consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install LCon - Local Console Access with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Unsupported

Supported Versions

1.20.11.19.2