MajekDev / HexNicks

Nickname plugin with hex color code and gradient support.
MIT License
27 stars 15 forks source link

Add ability to edit the config via pastebin #59

Closed Majekdor closed 2 years ago

Majekdor commented 2 years ago

This feature allows users to edit the HexNicks config file via pastebin and apply changes from pastebin.

The command is /hexnicks config-editor

Usage: /hexnicks config-editor <apply|new> [link]

This will either create a new link to the config file in pastebin or apply changes from a config file in pastebin.

How to use:

  1. First, execute /hexnicks config-editor new to create a new pastebin with your config. The command will give you the link.
  2. Then, make all your desired changes to the config in the pastebin.
  3. Make sure to press save in the upper left corner of the pastebin. You will get a new link. (It should copy to your clipboard automatically)
  4. Take your new link and execute /hexnicks config-editor apply <link> to apply your changes.
  5. That's it! The plugin will automatically reload and you're good to go.