-
Notifications
You must be signed in to change notification settings - Fork 13
Text Format
This plugin allows text formatting using a syntax similar to bbcode. This makes it easy to create links, hover effects, etc. Vanilla color codes still work.
You can use [color=...] and [/color] to change the color of a section of text. Alternatively you can use color codes with the & symbol.
For example the following two are equivalent:
[color=green]This is green.[/color]
&aThis is green.
The following formatting codes to change the text style are available:
[b]this is bold[/b]
[i]this is italic[/i]
[u]this is underlined[/u]
[s]this is crossed out[/s]
The difference between the above and making something &lbold&r the vanilla way is, that the above makes all the enclosed text bold, while &l makes bold everything until reaching the next color code.
Clickable links can be created using [url]spigotmc.org[/url] or [url=spigotmc.org]click here[/url].
Executing commands works similar: [command=/tp CodeCrafter47]click here[/command].
Suggesting commands can be done with with [suggest=/tp ]...[/suggest]
To create tooltips use [hover=Text magically appears when moving the mouse over]this[/hover].