JLine For Dedicated Server Mod FAQ
10 questions players actually ask, answered.
Why isn't JLine working on my server?
JLine only works when you start your server with the 'nogui' flag in the launch command. If you're using the GUI server launcher, JLine features won't be available—you must use the nogui option instead.
How do I access my command history in the console?
Once JLine is installed and your server is running with nogui, use the up and down arrow keys in your console to scroll through previously entered commands. This works just like command history in a terminal.
Does auto-complete work for all commands?
Auto-complete suggests commands and arguments based on what you've typed; it works for standard Minecraft commands and any commands added by other mods on your server. Press Tab to trigger auto-complete suggestions.
Can I use JLine with a GUI server?
No, JLine is designed only for nogui servers. There are no plans to add GUI support, so you must run your server in nogui mode to use this mod's features.
What does syntax highlighting show me?
Syntax highlighting colors different parts of your commands—like command names, arguments, and values—to help you spot mistakes before you press Enter. This makes it easier to catch typos and malformed commands.
Is JLine a server-side or client-side mod?
JLine is a client-side mod, meaning you install it on the machine running your dedicated server console, not on player clients. Players don't need the mod installed to join your server.
Will JLine slow down my server?
No, JLine only affects the console interface and has no impact on server performance or tick rate. It's purely a quality-of-life tool for server operators.
Can I clear my command history?
Command history is typically stored by JLine and persists between server restarts, but you can clear it by deleting JLine's history file (usually located in your server directory or user home folder).
Does JLine work with mods that add custom commands?
Yes, JLine's auto-complete and syntax highlighting will work with custom commands added by other mods, as long as those commands are properly registered on the server.
Why is my console not showing colors for syntax highlighting?
Some terminals or console windows don't support colored text; try using a different terminal emulator or enabling color support in your console settings. On Windows, using Windows Terminal instead of Command Prompt often helps.