Denizen/0.7/Color Codes: Difference between revisions

From Citizens Wiki

< Denizen‎ | 0.7

m (Jrbudda moved page Color Codes to Denizen/Color Codes)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
For more up-to-date information and full details on specific features (individual commands or tags, for example), check the [https://meta.denizenscript.com/ Meta Documentation].
If you want a full tutorial to help get you set up, check out the [https://guide.denizenscript.com/ Beginner's Guide] text website.
If you need quick help, visit our [https://discord.gg/Q6pZGSR Discord group].
<br><br><br>
<span style="font-family:natalya-alternate-one; font-size:300%; margin-right:-7px; margin-left:-10px;">This wiki is outdated, please view the tutorial videos/guide, meta documentation, or Discord group (all linked above) for up-to-date information!</span>
<br><br><br>
Denizen provides several different options to colorize text. The follow characters, combined with a color code will change the color or format of text
Denizen provides several different options to colorize text. The follow characters, combined with a color code will change the color or format of text


<pre>
<pre>
& -The standard bukkit color marker.
§# - the standard minecraft color marker.
§ - the standard minecraft color marker.
\u00167# - an alternate way to make a §
\u00167 - an alternate way to make a §
%%# - A denizen replacement for §, more compatible with various text encoding schemes, and easier to type ;)
%% - A denizen replacement for §, more compatible with various text encoding schemes. Only usable in Speech commands, not config files.
Note: If using SpoutPlugin/Spoutcraft, you can also use &#
</pre>
</pre>


Line 36: Line 57:
Examples:
Examples:
<pre>
<pre>
- CHAT "§aThis text is red"
- CHAT "§aThis text is red."
- CHAT "%%aThis text is green"
- CHAT "%%aThis text is green."
- NARRATE "%%nThis is underlined but %%rThis is not.
- NARRATE "%%nThis is underlined but %%rThis is not."
</pre>
</pre>

Latest revision as of 19:04, 3 September 2021

For more up-to-date information and full details on specific features (individual commands or tags, for example), check the Meta Documentation.

If you want a full tutorial to help get you set up, check out the Beginner's Guide text website.

If you need quick help, visit our Discord group.




This wiki is outdated, please view the tutorial videos/guide, meta documentation, or Discord group (all linked above) for up-to-date information!








Denizen provides several different options to colorize text. The follow characters, combined with a color code will change the color or format of text

§# - the standard minecraft color marker.
\u00167# - an alternate way to make a §
%%# - A denizen replacement for §, more compatible with various text encoding schemes, and easier to type ;)
Note: If using SpoutPlugin/Spoutcraft, you can also use &#

The format codes available are

0 	Black
1 	Dark Blue
2 	Dark Green
3 	Dark Aqua
4 	Dark Red
5 	Dark Purple
6 	Gold
7 	Gray
8 	Dark Gray
9 	Blue
A 	Green
B 	Aqua
C 	Red
D 	Light Purple
E 	Yellow
F 	White
K 	Magic
L 	Bold
M 	Strike through
N 	Underline
O 	Italic
R 	Reset 

Examples:

- CHAT "§aThis text is red."
- CHAT "%%aThis text is green."
- NARRATE "%%nThis is underlined but %%rThis is not."