Skip to content

Remove config writeback comments #177

@natopotato390

Description

@natopotato390

Using release 2.1.0 on PaperMC

Great plugin, does what I need. One small annoyance,

It would be nice to be able to put multiple motd's in the config like this:

icon-enabled=false
motds=[
    {
        line1="SandCraft"
        line2="This is a motd!"
    },
    {
        line1="SandCraft"
        line2="This is another motd!"
    }
]

...without it being changed by the plugin on server startup to this:

icon-enabled=false
motds=[
    {
		# Set the icon to use with this MOTD
        #  Either use 'random' to randomly choose an icon, or use the name
        #  of a file in the icons folder (excluding the '.png' extension)
        #    ex: icon="myIconFile"
        icon=random
        line1="SandCraft"
        line2="This is a motd!"
    },
    {
		# Set the icon to use with this MOTD
        #  Either use 'random' to randomly choose an icon, or use the name
        #  of a file in the icons folder (excluding the '.png' extension)
        #    ex: icon="myIconFile"
        icon=random
        line1="SandCraft"
        line2="This is another motd!"
    }
]

When your server has a lot of different motd's it becomes a hassle to go back in later and edit things with this wall of text between EVERY message.

Any of the values (like icon= or line2=) should also be able to be omitted without it being added back in automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions