Skip to content

JLine for Dedicated Server

Enables command history, auto completion and syntax highlighting on the server console.

22k downloads Updated

Last update on each platform

26.3 26.2

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

News: Now also found on Modrinth!

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.

jline4mcdsrv icon

Fabric is the only supported mod loader, Fabric API is not required by this mod.

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.

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!