Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args){
- Player player = (Player) sender;
- if(commandLabel.equalsIgnoreCase("motd")){
- String message = ChatColor.GOLD + getConfig().getString("MOTD", "Stuff you won't read..").replaceAll("&", "ยง");
- player.sendMessage(message);
- }
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement