Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Migrate to SpongePowered Configurate for config #1

Closed
laymanuel opened this issue Dec 5, 2021 · 0 comments
Closed

Migrate to SpongePowered Configurate for config #1

laymanuel opened this issue Dec 5, 2021 · 0 comments

Comments

@laymanuel
Copy link
Collaborator

This is very ugly. https://github.com/laymanuel/GravityControl/blob/main/src/main/java/io/github/laymanuel/gc/GravityControlConfig.java#L15-L45

Because of this, I hear about SpongePowered Configurate https://github.com/SpongePowered/Configurate which can do better and automatically, all of this.

It do not support YAML comments though. This is important feature, I check if it is possible to use without this and just copy file over. I do not need to write to file ever, so they should stay. Unless I add command to write to config. SpongePowered Configurate is also adding YAML Comment support with this Pull Request SpongePowered/Configurate#175. I do not know how soon this comes, I see and wait.

@e-im e-im closed this as completed May 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants