1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-20 18:53:11 +01:00

Added in some parsing of the loading from vminecraftusers.txt

This commit is contained in:
cerevisiae
2010-12-02 14:45:24 -06:00
parent 9e293645a3
commit 04c385d0dc
2 changed files with 67 additions and 37 deletions

View File

@@ -32,6 +32,7 @@ public class vMinecraftChat {
//=====================================================================
public static void sendMessage(Player sender, Player receiver, String msg){
String[] message = applyColors(wordWrap(msg));
if
for(String out : message)
receiver.sendMessage(out + " ");
}
@@ -283,6 +284,12 @@ public class vMinecraftChat {
case 'F':
color = Colors.White;
break;
case 'R':
color = "~";
break;
case 'r':
color = "~";
break;
default:
color = null;
break;
@@ -401,10 +408,11 @@ public class vMinecraftChat {
}
return false;
}
//=====================================================================
//=====================================================================
//Function: emote
//Input: Player player: The player talking
// String message: The message to apply the effect to
// String message: The message to apply the effect to
//Output: boolean: If this feature is enabled
//Use: /me but with our custom colors applied
//=====================================================================