/f list tool tips

This commit is contained in:
drtshock
2014-11-13 12:45:57 -06:00
parent e585ab57a9
commit 64e234144e
4 changed files with 56 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ public class CmdInvite extends FCommand {
// Tooltips, colors, and commands only apply to the string immediately before it.
FancyMessage message = new FancyMessage(fme.describeTo(you, true)).tooltip("Click to join!").command("f join " + myFaction.getTag()).then(" has invited you to join ").color(ChatColor.YELLOW).tooltip("Click to join!").command("f join " + myFaction.getTag()).then(myFaction.describeTo(you)).tooltip("Click to join!").command("f join " + myFaction.getTag());
message.send(you.getPlayer());
sendFancyMessage(message);
//you.msg("%s<i> invited you to %s", fme.describeTo(you, true), myFaction.describeTo(you));
myFaction.msg("%s<i> invited %s<i> to your faction.", fme.describeTo(myFaction, true), you.describeTo(myFaction));