Colors for signs
EdyTheCow opened this issue ยท 2 comments
Add the ability to add colors to the signs. The most simple solution would be allowing user to add color codes on the sign itself. As for first line that says [Parkour], link that to the string located in strings.yml. That way user has full control over the sign colors.
There are 3 ways this can possibly be achieved.
- We add a configuration to ignore all Parkour sign validation in the onSignCreate method in SignListener, this would be dangerous as the user would have to know all the signs syntaxes.
- We add a string configuration that will be prefixed before all sign headings, something like '&b%HEADING%'.
- We can convert the input from the Sign header into the Bukkit colour format, using the Utils.colour(s) method, then strip the color from it for the validation check. (I do this in the Carz plugin), however this is going to need quite a lot of code change for Parkour.
Any opinions, @EdyTheCow, @steve4744?