-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
DevWorld 3 (version 0.0.6+) supports configuration of the dev world.
On the mods first launch, a configuration file called devworld-client.toml
will be generated and stored in the configuration folder. This config can be edited like any other mod configuration.
This mod also supports pulling a default configuration from online. To use this feature, create a json file with the following fields and change their values to the values that you would like in your dev world:
{
"game_rules": {
"rule_disable_raids": true,
"rule_do_insomnia": false,
"rule_daylight": false,
"daylight_time": 6000,
"rule_weather_cycle": false,
"rule_dofiretick": false,
"rule_mobgriefing": false,
"rule_domobspawning": true
},
"world_config": {
"bonus_chest": false,
"world_generation_preset": "minecraft:bedrock,3*minecraft:stone,116*minecraft:sandstone;minecraft:desert"
}
}
Then set an environmental variable on your computer with the name DEVWORLD_CONFIG
with the value being the URL of your json file.
The online configuration will not override the local toml configuration, if you add the DEVWORLD_CONFIG
option after the toml has been generated, delete the local toml and restart and it will generate new config using the online configuration.