This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What version of Bukkit are you using? CraftBukkit version git-Spigot-1387 (MC: 1.7.8) (Implementing API version 1.7.5-R0.1-SNAPSHOT)
What version of MineralManager are you using? MineralManager version 2.2.1
Please give a brief description of the problem. The config.yml and region.yml work properly, and are saved without issue. However, when the server/plugin restarts, the region.yml is only partially restored. That is - the name of the region remains, but the selected "configuration" is not remembered.
For example:
Say you create a region
This makes
regions: - ==: me.hellfire212.MineralManager.Region level: 10 global: true name: entire configuration: entire
Then you restart the server.
Next time you list the regions, it shows this:
[20:01:24 INFO]: [MineralManager] [Region List] [20:01:24 INFO]: entire: World [level=10, config=DEFAULT]
However, the regions.yml shows the same configuration it had before - that is, "entire". It has restored everything but the most important part - the selected configuration. I have tried setting the configuration in the config.yml to be named DEFAULT and it still does not remember what blocks to protect.
Figured out the issue.
Only ONE place in the code converts it to lowercase, and that breaks any configuration.
Specifically, https://github.com/kirchne5/MineralManager/blob/master/src/main/java/me/hellfire212/MineralManager/MineralManager.java#L165
To post a comment, please login or register a new account.