Skip to content

English

bekkouame1024 edited this page Jul 19, 2026 · 3 revisions

English Wiki

Mod Installation

The only current dependency Mod is Fabric API.
Please download the corresponding version and install it together.

Usage

On first launch, a template file like the following will be placed at config/commandhistorycontext/profiles.toml.
Please search for basic TOML syntax yourself.

vanillaMaxSize = 50
[ExampleProfile]
maxSize = 100
serverAddresses = ["localhost", "localhost:25566"]
[ExampleProfile2]
maxSize = 10
serverAddresses = ["localhost:25567", "localhost:25568"]

In this Mod, each TOML table is treated as one profile.

You can freely add as many profiles as you want.

Configuration Items

vanillaMaxSize

Sets the maximum number of command histories to be saved in a vanilla environment. This value is used in environments where no profile applies.

maxSize

Sets the maximum number of command histories to be saved for that specific profile.

serverAddresses

Specifies the server addresses to which this profile will be applied. Multiple addresses can be specified in array format.

Behavior Specifications

  • If the server address matches any profile, that profile will be used.
  • For servers not included in any profile, the vanillaMaxSize value is used. (The save location will also be the same as the vanilla environment.)

Notes

  • If there are syntax errors or mistakes in profiles.toml, the settings may not load correctly.
  • The server address must exactly match the address used when connecting. For example, example.com and example.com:25565 are treated as completely different addresses.
  • Behavior is not guaranteed if the same server address is set in multiple profiles. (It is strongly recommended to avoid such configurations.)
  • When used together with other mods that modify command history, the history count and save state may not be reflected correctly.

Clone this wiki locally