All Mods Resource Packs Data Packs Shaders Modpacks Plugins
JLine for Dedicated Server

JLine for Dedicated Server

by Fourmisain • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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!

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3 26.2 26.1.x
Fabric
7mo ago 1
1.21.x 1.20.x 1.19.x +3
Fabric
7mo ago 1
1.21.x 1.20.x 1.19.x +3
Fabric
7mo ago 1
1.21.x 1.20.x 1.19.x +3
Fabric
last yr. 1
25w14craftmine
Fabric
last yr. 1
1.21.x 1.20.x 1.19.x +3
Fabric
last yr. 1
1.21.x 1.20.x 1.19.x +3
Fabric
last yr. 1
1.21 1.20.x 1.19.x +3
Fabric
last yr. 1
1.21 1.20.x 1.19.x +3
Fabric
last yr. 1
1.21 1.20.x 1.19.x +3
Fabric
last yr. 1
1.20.x 1.19.x 1.18.x +1
Fabric
last yr. 1
1.16.5
Fabric
last yr. 1
1.20.x 1.19.x 1.18.x +1
Fabric
last yr. 1
1.16.5
Fabric
last yr. 1
[0.8.0] 0.8.0 by Fourmisain on Mar 25, 2026
Download
  • port to 26.1

(uses JLine 4)
[0.7.0] 0.7.0 (JLine4) by Fourmisain on Mar 25, 2026
Download
  • update to JLine 4.0.9

requires at least Java 11
[0.6.5] 0.6.5 (JLine3) by Fourmisain on Mar 25, 2026
Download
update to JLine 3.30.8
[0.6.4] 0.6.4 by Fourmisain on Jun 17, 2025
Download
  • mark compatible with 1.21.6+ again (the changes in craftmine did not stick afterall)
  • update JLine to 3.30.4
  • port to 25w14craftmine
  • update jline to 3.29.0
[0.6.3] 0.6.3 by Fourmisain on Apr 03, 2025
Download
  • update jline to 3.29.0
  • mark incompatible with minecraft beyond 1.21.5
[0.6.2] 0.6.2 by Fourmisain on Jun 26, 2024
Download
  • retain filters and log level of SysOut appender and appender ref
  • don't require -Dlog4j.skipJansi=false
[0.6.1] 0.6.1 by Fourmisain on Jun 25, 2024
Download
  • retain filters of SysOut appender
  • update default logPattern to use nolookups (if you're mad enough to run vulnverable Minecraft/Fabric server versions without -Dlog4j2.formatMsgNoLookups=true)
[0.6.0] 0.6.0 by Fourmisain on Jun 23, 2024
Download
  • try to restart the terminal when an IOError is encountered
  • update jline to 3.26.2
[0.5.0] 0.5.0 by Fourmisain on Mar 18, 2024
Download
[0.4.3] 0.4.3 by Fourmisain on Aug 01, 2023
Download
  • update jline to 3.23.0
  • update a bunch of build stuff
[0.4.3+1.16.5] 0.4.3+1.16.5 by Fourmisain on Aug 01, 2023
Download
backport to 1.16
[0.4.2] 0.4.2 by Fourmisain on Jul 31, 2023
Download
### 0.4.2
  • add option to use contrasting background e.g. for black text in cmd (thanks again to vlad2305m!)
  • add option to choose whether §k obfuscated text should be fully concealed or blink instead (default)

### 0.4.1
  • add option to set the (purely visual) prompt, which defaults to a slash
  • fix highlighting when command starts with a slash
  • fix § style config option not being read

### 0.4.0
  • add option to apply Minecraft § styles to console output (enabled by default)
idea courtesy of vlad2305m
[0.1.1] 0.1.1 by Fourmisain on Jul 31, 2023
Download
(Legacy version for 1.16)

  • Strip trailing spaces so that you don't get errors if you hit enter immediately after auto-completion.

  • Ignore empty inputs.

  • Fixed compatibility issues when paired with Not Enough Crashes.
JLine for Dedicated Server Icon
Download JLine for Dedicated Server
Select game version
Select platform