Skip to content

General Information to the ToolLeveling Configs

Tristan Kechlo edited this page Jul 21, 2022 · 3 revisions

THIS PAGE ONLY APPLIES TO MODVERSIONS >= 1.4.0

  • the config can be edited while the client/server is running
  • when you are playing on a server, only the server needs to edit the config
  • the server config will be synced to the clients when they join, or when the configs are reloaded

How to edit the configs?

  1. open the config file (any text editor should work)
  2. edit the config file and save it once you are done
  3. before you try to sync the config, check if the file has the correct json-syntax
    1. test your configuration for the syntax on this website: https://jsonlint.com/
    2. if you try to sync a config with incorrect syntaxt, it will reset to the default values
  4. reload the config to make the changes effective
    1. while the game is running: /toolleveling config reload
    2. while the game is stopped: the config will be loaded once you start the client/server

How to reset the configs?

  • resetting a config means, changing all values to the default values
  • if the client/server is closed, just delete the config you want to reset and it will be regenerated at the next start
  • to reset a config while the server/client is running, execute following command /toolleveling config reset <config>

Configuration Files

tool_leveling_table.json

This config file contains all options that are used in the tool leveling table.
Explanation to all options can be found here https://github.com/tristankechlo/ToolLeveling/wiki/Config-tool_leveling_table.json

item_values.json

In this config file you can define the worth of each item.
Explanation to all options can be found here https://github.com/tristankechlo/ToolLeveling/wiki/Config-item_values.json

command_config.json

This config file contains all options that are used in the commands.
Explanation to all options can be found here https://github.com/tristankechlo/ToolLeveling/wiki/Config-command_config.json