night-config icon indicating copy to clipboard operation
night-config copied to clipboard

Powerful java configuration library for toml, yaml, hocon, json and in-memory configurations. Serialization/deserialization framework.

Results 38 night-config issues
Sort by recently updated
recently updated
newest added

Hey, So some of the users of my project insist on using Windows notepad to edit their configs, but end up with errors since it seems that nightconfig issues errors...

enhancement :arrow_up:
core :gear:

Is there a reason why configs are not force synced to disk? See https://forums.minecraftforge.net/topic/113434-why-arent-config-files-force-synced-to-disk/ for a discussion.

enhancement :arrow_up:
question :grey_question:

Hey there, I am trying to create a multiline string and I create it like this: ```java spec.define("test", """ Line 1 Line 2 Line 3"""); ``` But when it loads...

enhancement :arrow_up:
toml

it's like REPLACE, but ignores comments that are already in file Maybe moves comments to end/start of file if can't find where it should be

enhancement :arrow_up:

@Comment-to place a comment alternative for @Jacksonized from lombok @IgnoreValue from jackson @JsonCreator from jackson @JsonPropertyOrder from jackson @JsonAlias from jackson

enhancement :arrow_up:
core :gear:

I see two big areas of improvement: - [ ] Parsers: show the erroneous line (and maybe even its content!) - [ ] ObjectConverter: detect when the types mismatch, for...

enhancement :arrow_up:

- [ ] valueMap(): After a search of all the Github projects mentioning night-config, I've found that the only occurrences of `config.valueMap()` are for iterating on the config entries, keys...

enhancement :arrow_up:
core :gear:

I'm aware of SnakeYaml not supporting comments during the parse, however since you have your own yaml writer you can definitely support outputting comments, you would just need to bridge...

enhancement :arrow_up:
yaml

Hello, I am new to using NightConfig and was wondering if there was an easy way to handle comments when doing object serialization. I looked at the examples and how...

enhancement :arrow_up:
core :gear:

I added string config value as represented below: ``` ForgeConfigSpec.ConfigValue DEBUG_LEVEL = new ForgeConfigSpec.Builder() .comment("Level of debug, if it is enabled in enable_debug. Available variants: debug, trace", "Debug: additionally prints...

bug :bug:
minecraft_forge :pick: