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.

This mod is configured via jline4mcdsrv.toml in the config folder:
logPatternis the pattern used for Log4j 2 (documentation found here)highlightColorsis a list of colors used to highlight parameters in order (as seen in the image above)
PSA: Since Minecraft 1.17 the (0.6.2 doesn't require this anymore).-Dlog4j.skipJansi=false command line argument is needed for %style/%highlight log output
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- port to 26.1
(uses JLine 4)
- update to JLine 4.0.9
requires at least Java 11
- 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
- update jline to 3.29.0
- mark incompatible with minecraft beyond 1.21.5
- retain filters and log level of
SysOutappender and appender ref - don't require
-Dlog4j.skipJansi=false
- retain filters of
SysOutappender - update default logPattern to use
nolookups(if you're mad enough to run vulnverable Minecraft/Fabric server versions without-Dlog4j2.formatMsgNoLookups=true)
- try to restart the terminal when an IOError is encountered
- update jline to 3.26.2
- support [StackDeobfuscator]([https://modrinth.com/mod/stackdeobf](https://modrinth.com/mod/stackdeobf))
- compatible with 1.16 and Java 8 (no separate build anymore)
- update jline to 3.25.1
- update jline to 3.23.0
- update a bunch of build stuff
- 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)
- 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.