Wiki 9Minecraft Wiki 9Minecraft

Enable Command History in Your Server Console

Java EditionModGuides 4FAQ 10Related mods 60
DownloadJLine For Dedicated Server Mod

Get the files on 9Minecraft

Contents (3)
  1. Access Previous Commands
  2. Using Command History
  3. Tips for Efficient History Use

Access Previous Commands

Once JLine is active on your dedicated server console, you can scroll through commands you've previously typed without retyping them.

Using Command History

1. Start your server with the nogui flag in your launch script or command line

2. Open the server console window

3. Press the Up arrow key to cycle backward through your command history

4. Press the Down arrow key to cycle forward through recent commands

5. When you find the command you want, press Enter to execute it

Tips for Efficient History Use

Command history persists during your current server session. This is especially useful for:

  • Repeated administrative commands (bans, kicks, teleports)
  • Complex commands with specific coordinates or player names
  • Testing command variations without full retyping

If you need to modify a command from history, use the Left and Right arrow keys to position your cursor, then edit the text before pressing Enter.

More guides for this mod