MultiWorld Support Explained

Broken. = About the MultiWorld Support=


===== For what is this =====

This is only when you want to have different settings for different worlds. You can setup your normal world, nether and end in one config. If you have a dedicated ehm world and a main world and wanted to have only the fallings logs there you would have to use this. This is not for the standard world, nether and end setup, for that you only need a config.yml and set the enabled worlds.


===== Notes =====

The plugin looks for multiple config files in the base folder, you should remove all old config files out of the folder before you begin! Alternatively you can change their file-extension to something like config.yml.bak.


===== So how does it work? =====

Well I'm glad you asked and it is pretty simple indeed. “config.yml” is your main file and everything inherits from it. That means if you create a file to override some settings from the main file the default settings will come from “config.yml”. You only override what you need and inherit the rest.


===== How to get started? =====

; Clean your folder : Make sure that your ExtraHardMode folder only has one “messages.yml” and one “config.yml” : delete, move, rename anything with a .yml extension

; Copy your config.yml : paste it into the folder : give it a name that makes sense to you : change the worlds in the top to the worlds you want to override

; Reload the plugin : /ehm reload

; Recheck the config file you just copied : If everything worked then your “Config Mode” should be 'inherit' : All the nodes should have changed to say 'inherit'

; What does the mode 'inherit' do : This basically takes the value that is in 'config.yml' and uses it as default value for the new config : If the value in the new config and config.yml is the same it will change the value to 'override'

; Mode 'disable' : This mode is very useful if you only want to enable a small subset of features for a given world. : It will deactivate all the features by default instead of inheriting them : Just reenable what you need

; Further notes : You can have as many configs as you like, remember it loads all .yml files : config.yml is always loaded first, after that configs are loaded lexically : configs which are loaded later override the ones before : your "config.yml" can have no worlds and you could set up every world in a seperate file : you can define multiple worlds per file --


Comments

Posts Quoted:
Reply
Clear All Quotes