Skip to content

Configuration #2

@nightpool

Description

@nightpool

More of a feature, but I can't seem to get at the tagging system atm.

Feature request: add the ability to change configuration options on a per-world basis. This would be accomplished by creating multiple yml files, like NotchFace.yml of Test.yml. Then, when you create a world, first it searches if there is a yml file by the name in the id, and if not, falls back on default options and the hmap defined by the id. The config file would look a little something like this:

items:
    torches: yes      # Should we spawn torches?
    torchFactor: 20   # Prob. of spawning torches
image: hmap           # where hmap.jpg is a heightmap
                      # in the BananaImageToMap folder, where this config file resides

Of course, this is just sample code I made off the top of my head, but do you get the idea?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions