Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EventHandler
- public void onChat(AsyncPlayerChatEvent e){
- if(e.getMessage().toLowerCase().contains("sotw"){
- e.getPlayer().sendMessage(ChatColor.YELLOW + "Sotw is in 1 minute(s)");
- e.setCanceled(true);
- }
- }
Add Comment
Please, Sign In to add comment