Mod

LCon - Local Console Access

Quick rating

LCon - Local Console Access

No reviews yet

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

QoL & Tweaks
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
All Rights Reserved
Latest Version
lcon-1.20.1-1.0.4.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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.

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.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync