EssentialsX

EssentialsX

2M Downloads

[Bug] "/createkit" strips all (default) comments from the config

Taybosquee opened this issue ยท 2 comments

commented

"/createkit" strips all (default) comments from the config. And I'm referring to all the comments that are included in the default config.yml that the plugin generates on startup.

commented

Known issue, it's documented https://github.com/drtshock/Essentials/wiki#createkit
Due to YAML api.

commented

Use this in config.yml

# Determines the functionality of the /createkit command.
# If this is true, /createkit will give the user a link with the kit code.
# If this is false, /createkit will add the kit to this config file directly.
#
# WARNING: If this is false, the config comments WILL be removed and it won't look the same as it does now.

pastebin-createkit: true