JLine for Dedicated Server

JLine for Dedicated Server

Mod

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

Server Management

1,029 downloads
19 followers
Created9 months ago
Updated2 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code 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.

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 (syntax highlighting is unaffected).

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!

External resources



Project members

Fourmisain

Owner


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID