This mod allows you to insert colors into signs, like here. (Two links)
How It Works
You know how chat already has colors? It chooses what color to render when it finds a '§' symbol, and then another character (which determines what color is used). It turns out this also works in signs, it's just that there is no way to inject that character into it, since Minecraft doesn't let you do ALT+XXXX characters, or let you paste your clipboard into the sign. This simply adds a button that inserts the '§' character into your sign.
How to Use It Client
To add colors to your sign, all you have to do is press the appropriate color on the left side of the window.
You can also do it the old way, by pressing the "Insert Raw Color Symbol" button (which is '§'), and adding a color code. (See below section.)
Also, whichever line you happen to be editing will show an indicator of how much of the 15 character limit you have used. The color symbol AND the color code each take up a character, so you will effectively lose two characters per color you use on a line.
Vanilla: Download the Vanilla server version, and install it like any other server mod.
Bukkit: This is NOT a plugin. This is a mod for the jar.
Download the Bukkit server version, and drop it in net/minecraft/server. You don't need to do anything to the META-INF folder.
(Not needed anymore, see above section.)
From the Minecraft wiki:
0 - Black
1 - Dark Blue
2 - Dark Green
3 - Dark Teal
4 - Dark Red
5 - Purple
6 - Gold
7 - Gray
8 - Dark Gray
9 - Blue
a - Bright Green
b - Teal
c - Red
d - Pink
e - Yellow
f - White Here is an in-game reference, by billybombill.
(It also shows up on the edit sign UI now.)
Nothing that I can think of, off-hand.
Compatibility and Dependencies
It doesn't require any other mods - just install it like any other mod.
This mod only modifies one file - xt.class, or GuiEditSign.
It adds no new classes.
This mod will work even after you uninstall it, you just won't be able to add colors to new signs. Old signs will still retain their colors.
On SMP, a line with colors will be replaced with '!?' when clicking 'Done'.
There is a workaround, but it requires a server mod.
MCP - I probably couldn't make simple things like this without it.
'Araidian' from the No Magic server, for accidentally glitching a sign to color his name, which gave me the interest for this mod.
(Most recent is always at the top.) Client
Version 2.0 (MC 1.6.6): Download
Version 1.0 (MC 1.6.6): Download
Version 1.0 (MC 1.5_01): Download
Version 2.0 (MC 1.6.6) Vanilla: Download
Version 2.0 (MC 1.6.6) Bukkit: Download
Sweet mod! You should release the source for the not so good developers. I'd also love to see how the code works :>
Well, basically, it creates a new button with ID 1, and when that button is pressed, it inserts the '§' character (if the line isn't too long).
Probably about 3 lines of (new) code total. :tongue.gif:
I've done things more complicated, like adding blocks/items/animals (even if they don't do much), but:
[*:3v8llvmo]I don't get many ideas.
[*:3v8llvmo]I don't finish most things I start. :tongue.gif:
It's just I see lots of people giving out lots of good and amazing mods. I'm trying to learn java to make my own but I'm finding it really hard. I'm trying to get sources of projects like this just to get a clear view on how they work. Then I can learn by reading it all and creating my own unique mod for minecraft :>
It's just I see lots of people giving out lots of good and amazing mods. I'm trying to learn java to make my own but I'm finding it really hard. I'm trying to get sources of projects like this just to get a clear view on how they work. Then I can learn by reading it all and creating my own unique mod for minecraft :>[/quote]
Well, this mod is far from good OR amazing. :tongue.gif:
Feel free to decompile it with MCP once it's updated (since I don't think we're supposed to upload the source).