summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-03-16 23:03:22 +0000
committerKHobbits <rob@khobbits.co.uk>2012-03-16 23:03:22 +0000
commitbaadd4b1cbe132c822d5f36da52225d843c0d584 (patch)
treeef718e447ec0141243189f2e6040ea6f30ae831b
parentadf3755abb29b635977a2eb3ca4688dbd917d471 (diff)
downloadEssentials-baadd4b1cbe132c822d5f36da52225d843c0d584.tar
Essentials-baadd4b1cbe132c822d5f36da52225d843c0d584.tar.gz
Essentials-baadd4b1cbe132c822d5f36da52225d843c0d584.tar.lz
Essentials-baadd4b1cbe132c822d5f36da52225d843c0d584.tar.xz
Essentials-baadd4b1cbe132c822d5f36da52225d843c0d584.zip
Adding reference to &k in MOTD.
-rw-r--r--Essentials/src/com/earth2me/essentials/textreader/TextInput.java2
-rw-r--r--Essentials/src/info.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/textreader/TextInput.java b/Essentials/src/com/earth2me/essentials/textreader/TextInput.java
index 316a0b576..6e9256b4c 100644
--- a/Essentials/src/com/earth2me/essentials/textreader/TextInput.java
+++ b/Essentials/src/com/earth2me/essentials/textreader/TextInput.java
@@ -74,7 +74,7 @@ public class TextInput implements IText
}
if (line.length() > 0 && line.charAt(0) == '#')
{
- bookmarks.put(line.substring(1).toLowerCase(Locale.ENGLISH).replaceAll("&[0-9a-f]", ""), lineNumber);
+ bookmarks.put(line.substring(1).toLowerCase(Locale.ENGLISH).replaceAll("&[0-9a-fk]", ""), lineNumber);
chapters.add(line.substring(1).replace('&', '§').replace("§§", "&"));
}
lines.add(line.replace('&', '§').replace("§§", "&"));
diff --git a/Essentials/src/info.txt b/Essentials/src/info.txt
index 0b4fb3c42..cfc037040 100644
--- a/Essentials/src/info.txt
+++ b/Essentials/src/info.txt
@@ -8,7 +8,7 @@ Name it info_username.txt or info_groupname.txt
This also works with motd and rules.
Extra pages:
-Type /info Colours
+Type /info Colors
Type /info Tags
If you have problem viewing this file ingame, try using /einfo.
@@ -29,6 +29,7 @@ Minecraft colors:
&4 &&4 &5 &&5 &6 &&6 &7 &&7
&8 &&8 &9 &&9 &a &&a &b &&b
&c &&c &d &&d &e &&e &f &&f
+&&k &k Magic!
#Tags
PLAYER: {PLAYER}