craft-ball/HowTo Update from 1.0

HowTo Update from 1.0

If you have an old config.yml with custom fields, the 1.1 version of the plugin *should* be able to update it automagically. Provided you have kept to the 'standard' and started each field node with a key named "field(number)" as in the original example:

fields:

    field1:

        region:

..etc

Do keep in mind that all fields will be set in the first world of your world list. If you like the fields to work in other worlds, you'll have to edit the config.yml manually AFTER the auto-update.



If the auto-update will not work, then you might need to update the config.yml manualy:

Step 1: Remove each field-key and replace it with a dash.

fields:

    field1:

        region:

..etc

becomes:

fields:

    -

        region:

..etc




Step 2: Add a name node and world node for each field

fields:

    -

        region:

..etc

becomes:

fields:

    -

        name: thisfieldsname

        world: worldname

        region:

..etc



Back to Main


Comments

Posts Quoted:
Reply
Clear All Quotes