Better in-game descriptionSolved
Hello,
i have a very small suggestion for the ingame description.

Me and some of my players were always confused why there is a "/colours" command, that did nothing but show some info.
And "/colour" says i should write "/colours" to see the description how to use "/colour" :D

Yeah whatever, i changed the description of BOTH commands (/colour & /colours) to this:
protected override void LoadDefaultMessages()
        {
            lang.RegisterMessages(new Dictionary<string, string>()
            {
                {...}
		{ "IncorrectUsage", "You can only use hexcode, eg '<color=#FFFF00>#FFFF00</color>'\nTo remove your colour, use 'clear', 'reset' or 'remove'\n\n" +
					"Some examples:\n/colour <color=#ff0000>#ff0000</color>\n" +
					"/colour gradient <color=#ff0000>#ff0000</color> <color=#ffff00>#ffff00</color>\n" +
					"/colour gradient <color=#BADA55>#BADA55</color> <color=#ff0000>#ff0000</color> <color=#ffff00>#ffff00</color>\n\n{0}" },
                {...}
                { "ColoursInfo", "You can only use hexcode, eg '<color=#FFFF00>#FFFF00</color>'\nTo remove your colour, use 'clear', 'reset' or 'remove'\n\n" +
					"Some examples:\n/colour <color=#ff0000>#ff0000</color>\n" +
					"/colour gradient <color=#ff0000>#ff0000</color> <color=#ffff00>#ffff00</color>\n" +
					"/colour gradient <color=#BADA55>#BADA55</color> <color=#ff0000>#ff0000</color> <color=#ffff00>#ffff00</color>\n\n{0}" },
                {...},
            }, this);
        }​

Which will show a useful description with actual examples now (already coloured! ; )

Looks like this now:


So my suggestion is:
1. Could you add the examples for the basic usage like i did?
{opt. Do we still need the /colours-command? (I know i could change the config file, but it is just redundant in my eyes)}

p.s.
i changed the lines (4 places)
[from]
additionalInfo += "- " + colour + "\n";

[to]
additionalInfo += "- <color=" + colour + ">" + colour + "</color>\n";​

to already see the black/whitelisted colors in the examples/description :))

Great work so far, thank you very much :)

p.s.s
If the version is stable i can provide a german translation for the DefaultMessages()

Thanks a bunch Toliman, appreciate you trying your best to get this public for everyone.

Will be added in the update!

Merged post

Decided to add a player based help, means it will show certain commands only if the player has access to execute them

Merged post

Ah and thx for your offer but a german translation won't be required I am german myself :-)
Locked automatically