Back to mods
JLine for Dedicated Server project artwork

Modrinth · Minecraft mod

JLine for Dedicated Server

A server side mod to enable command history, auto completion and syntax highlighting on the server console

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

Quick answer

Which JLine for Dedicated Server release should I use?

Updated 4 months ago
Latest stable file 0.8.0
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric

JLine for Dedicated Server 0.8.0 targets 26.1, 26.1.1, 26.1.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is JLine for Dedicated Server required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

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

This file is marked server-only.

What else does JLine for Dedicated Server 0.8.0 need?

0.8.0. 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 JLine for Dedicated Server without breaking your instance.

Built for JLine for Dedicated Server 0.8.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.8.0. It targets 26.1, 26.1.1, 26.1.2 with Fabric; 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

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.8.0. It opens that exact file at the source.

About this project

What does JLine for Dedicated Server add?

A server side mod to enable command history, auto completion and syntax highlighting on the server console, somewhat similar to the chat console in the game or the Spigot server console. Should have zero impact on the gameplay.

img

This mod is configured via jline4mcdsrv.toml in the config folder:

  • logPattern is the pattern used for Log4j 2 (documentation found here)
  • highlightColors is a list of colors used to highlight parameters in order (as seen in the image above)

PSA: Since Minecraft 1.17 the -Dlog4j.skipJansi=false command line argument is needed for %style/%highlight log output (0.6.2 doesn't require this anymore).

This mod only works if the server is started with the 'nogui' option. There's no plan to add support for the GUI server.




Note: The original author of this mod is chirs241097 and the project is also found on CurseForge. I've been maintaining this mod for a while and Chris allowed me to bring the mod to Modrinth too!

Project description from Modrinth.

Pick your setup

JLine for Dedicated Server by Minecraft version and loader

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

40 available setups

Showing the newest 12 of 40 game versions. Older files are in the list below.

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

Recent files

JLine for Dedicated Server versions and loaders

14 of 14 releases match

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