All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Better Fabric Console

Better Fabric Console

by jpenilla • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Better Fabric Console

Better Fabric Console icon

Better Fabric Console is a server-side Fabric mod that replaces the vanilla dedicated server console experience with an interactive, color-aware terminal.

Features

  • Brigadier-aware command completion in the server console
  • Command syntax highlighting with configurable argument colors
  • Colored log output in terminal consoles
  • Persistent command history in .console_history
  • Optional logging of player-executed commands

Screenshot 1

Requirements

Installation

  1. Download the latest Better Fabric Console, Fabric API, and adventure-platform-fabric jars.
  2. Place the jars in your server mods/ directory.
  3. Start the server once to generate config files.
  4. Stop the server and edit configuration as needed.
  5. Start the server again.

You may also choose to run the server with the --nogui argument (i.e. java -jar fabric.jar --nogui) to disable the server GUI (this is a Vanilla option).

Configuration

Better Fabric Console generates and reads:

  • config/better-fabric-console/better-fabric-console.conf
  • config/better-fabric-console/log4j2.xml

The bundled default Log4j config is also written to config/better-fabric-console/defaults/log4j2.xml for reference. If you customize log4j2.xml and the bundled default changes, Better Fabric Console will warn on startup until you review/merge the change and run:

/better-fabric-console dismiss-log4j-config-update

You can also start once with -Dbetter-fabric-console.dismiss-log4j-config-update=true to dismiss the warning.

Default better-fabric-console.conf for reference:

# Specify argument highlight colors, in order. Possible values: [BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE]
highlight-colors=[
    CYAN,
    YELLOW,
    GREEN,
    MAGENTA,
    BLUE
]
# Whether to log commands executed by players to console.
log-player-executed-commands=true

Click here to see the default log4j2.xml configuration.

Better Fabric Console also respects the following system properties to override terminal environment detection:

Changes require a server restart.

Command

  • /better-fabric-console (operator-level): Prints mod version information.
  • /better-fabric-console dismiss-log4j-config-update (operator-level): Marks the current bundled Log4j default as reviewed.

License

MIT. See license.txt.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.2 26.1.2
Fabric
1mo ago 1
26.3
Fabric
1mo ago 1
26.3
Fabric
1mo ago 1
26.2 26.1.2
Fabric
4mo ago 1
1.21.11
Fabric
10mo ago 1
1.21.11
Fabric
10mo ago 1
1.21.10
Fabric
last yr. 1
1.21.10
Fabric
last yr. 1
1.21.8
Fabric
last yr. 1
1.21.8
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.21.3
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.20.6
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.19.4
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
## What's Changed
  • Fix the server being killed with no crash report or shutdown hooks when SIGQUIT is received, for example when spark's live view attaches, by updating JLine to 4.4.5
  • Allow the mod to load on Minecraft 26.2


## What's Changed
  • Fix the server being killed with no crash report or shutdown hooks when SIGQUIT is received, for example when spark's live view attaches, by updating JLine to 4.4.5


## What's Changed
  • Updated for Minecraft 26.3

## What's Changed
  • Updated for Minecraft 26.1.2
  • Updated to JLine 4
  • Improved dumb/non-interactive terminal handling, especially when running through Gradle
  • Moved console logging configuration to config/better-fabric-console/log4j2.xml
  • Existing config/better-fabric-console.conf files are migrated automatically
  • The previous log-pattern config option has been removed; customize log4j2.xml instead
  • Added Log4j config update tracking and /better-fabric-console dismiss-log4j-config-update
  • Removed the old runtime mappings/remapper system
  • Completion tooltip colors now respect terminal color support

## What's Changed
  • Fixed error on OP user login #137


## What's Changed
  • Updated for Minecraft 1.21.11


## What's Changed
  • adventure-platform-mod is no longer bundled inside of the better-fabric-console jar, instead users should download it from [Modrinth](https://modrinth.com/mod/adventure-platform-mod) as a separate library mod. This may allow better-fabric-console to run on newer versions without an update so long as adventure-platform-mod is updated, but this is not always the case.


## What's Changed
  • Updated for Minecraft 1.21.10


## What's Changed
  • Updated Adventure, fixing some formatting issues in the previous release
  • Updated jline

## What's Changed
  • Update for Minecraft 1.21.8

## What's Changed
  • Update for Minecraft 1.21.5

## What's Changed
  • Update for Minecraft 1.21.4

## What's Changed
  • Update for Minecraft 1.21.3

## What's Changed
  • Fix #50 logging death messages with enchanted items or other components that need registry access
  • Improved complex suggestions (i.e. entity selectors)
  • Reduce disk space used by mappings cache
  • Reduce startup time impact of loading mappings

## What's Changed
  • Update for Minecraft 1.21

## What's Changed
  • Update for Minecraft 1.20.6

## What's Changed

## New Contributors

[1.1.7] 1.1.7 by jpenilla on Sep 24, 2023
Download
## Changelog

### Changed
  • Update for Minecraft 1.20.2
[1.1.6] 1.1.6 by jpenilla on Aug 02, 2023
Download
## Changelog

### Changed
  • Updated adventure-platform-fabric to release, fixes incompatibilities with some mods
[1.1.5] 1.1.5 by jpenilla on Jun 27, 2023
Download
## Changelog

### Changed
[1.1.4] 1.1.4 by jpenilla on Mar 26, 2023
Download
## Changelog

### Change
  • Updated dependencies for compatibility with 1.19.4
## Changelog

### Changed
  • Updated dependencies for compatibility with 1.19.3
Better Fabric Console Icon
Download Better Fabric Console
Select game version
Select platform