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
commit4f70dc656eccfcec11c7174e859cf9eda33467ab (patch)
tree4e0dfa6162e5c62ba0317878d65a74e7aa7445a3
parent821da679ca60e4712571092675c0e672e8f63f21 (diff)
downloadEssentials-4f70dc656eccfcec11c7174e859cf9eda33467ab.tar
Essentials-4f70dc656eccfcec11c7174e859cf9eda33467ab.tar.gz
Essentials-4f70dc656eccfcec11c7174e859cf9eda33467ab.tar.lz
Essentials-4f70dc656eccfcec11c7174e859cf9eda33467ab.tar.xz
Essentials-4f70dc656eccfcec11c7174e859cf9eda33467ab.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}