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

2,450 downloads
27 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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 members

Fourmisain

Owner

Details

Licensed MIT
Published a year ago
Updated 3 months ago