added Plot API class

This commit is contained in:
boy0001 2015-03-13 14:15:00 +11:00
parent 890be085ae
commit 86f3b993a6
5 changed files with 688 additions and 1 deletions

View file

@ -879,6 +879,14 @@ public class MainUtil {
}
return new String(b);
}
public static void sendConsoleMessage(String msg) {
sendMessage(null, msg);
}
public static void sendConsoleMessage(C caption, String... args) {
sendMessage(null, caption, args);
}
public static boolean sendMessage(final PlotPlayer plr, String msg, final boolean prefix) {
msg = colorise('&', msg);