XDPXI's Documentation
Config

Comments

import dev.xdpxi.xdlib.api.v7.config.Comment;

Adding Comments

Use @Comment above a field.

@Comment("This is a comment")
int integerA = 41;

Generated YAML:

# This is a comment
integerA: 41

Comments are written to the config file and can be used to explain settings to users.

On this page