Back to mods
LCon - Local Console Access project artwork

CurseForge · Minecraft mod

LCon - Local Console Access

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which LCon - Local Console Access release should I use?

Updated 2 years ago
Latest stable file lcon-1.20.1-1.0.4.jar
Game version 1.20.1
Loader Forge

LCon - Local Console Access lcon-1.20.1-1.0.4.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is LCon - Local Console Access required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does LCon - Local Console Access lcon-1.20.1-1.0.4.jar need?

lcon-1.20.1-1.0.4.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add LCon - Local Console Access without breaking your instance.

Built for LCon - Local Console Access lcon-1.20.1-1.0.4.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use lcon-1.20.1-1.0.4.jar. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside lcon-1.20.1-1.0.4.jar. It opens that exact file at the source.

About this project

What does LCon - Local Console Access add?

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.

Project description from CurseForge.

Pick your setup

LCon - Local Console Access by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

LCon - Local Console Access versions and loaders

5 of 5 releases match

Looking for an older file? The official CurseForge project page is in Resources.