Beispiel #1
0
 @Command(
     aliases = {"print"},
     desc = "Print an unformatted message to chat")
 @Require("plume.broadcast.print")
 public void print(@Sender ICommandSender sender, @Text String msg) {
   Messages.broadcast(new ChatComponentText(msg));
 }
Beispiel #2
0
 @Command(
     aliases = {"alert"},
     desc = "Send out a broadcast message")
 @Require("plume.broadcast.broadcast")
 public void alert(@Sender ICommandSender sender, @Text String msg) {
   Messages.broadcast(Messages.error("SERVER: " + msg));
 }