Configuration
Quick look database & debug configuration
The configuration file for command aliases can be found at .minecraft/config/command-aliases-config.json
. The autogenerated configuration file should appear as follows:
Database settings
You may be curious as to why a mod like Command Aliases would need or use a database at all. This feature was added to allow alias creators to create more complex commands by allowing them to store values, as there is not a proper way to do so using the vanilla system without causing significant performance penalties at a large scale.
Supported databases
Database mode | Description | Requirements |
---|---|---|
| An implementation of a hashmap, data is losted upon closing the game/server. | None |
| An implementation of LevelDB which is locally stored in the world folder. | None |
| An implementation of MySQL. | Host, Port, Database, User, Password |
| An implementation of Redis | Host, Port, User, Password |
Database configuration examples
In-Memory Database
LevelDB
MySQL
Redis
Debug settings
This section is primarily used to debug the creation of more complex command aliases.
Last updated