-
Notifications
You must be signed in to change notification settings - Fork 0
English
bekkouame1024 edited this page Jul 19, 2026
·
3 revisions
The only current dependency Mod is Fabric API.
Please download the corresponding version and install it together.
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.
Sets the maximum number of command histories to be saved in a vanilla environment. This value is used in environments where no profile applies.
Sets the maximum number of command histories to be saved for that specific profile.
Specifies the server addresses to which this profile will be applied. Multiple addresses can be specified in array format.
- 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.)
- 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.comandexample.com:25565are 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.