Examples of SharedMessageEvent


Examples of com.sk89q.commandbook.events.SharedMessageEvent

            String name = ChatUtil.toColoredName(sender, ChatColor.YELLOW);
            String msg = args.getJoinedStrings(0);

            BasePlugin.callEvent(
                    new SharedMessageEvent(name + " " + msg));

            BasePlugin.server().broadcastMessage("* " + name + " " + msg);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.