Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void notify(Player player, HackType hackType, int notifications, String modifiers) {
- // Bukkit.broadcastMessage("notifying...");
- if (mPlayer.getPlayer(player).banned) return;
- String mf = (modifiers.isEmpty() ? "" : "&8(&c" + modifiers + "&8)");
- for (Player online : Bukkit.getOnlinePlayers()) {
- if (!online.isOp()) continue;
- // online.sendMessage(player.getName() + " failed " + hackType.getHackName());
- online.sendMessage(ChatColor.translateAlternateColorCodes('&',
- "&8[&cShadow&8] &c" + player.getName() + " &7failed &c" + hackType.getHackName() + " &8(&c" + notifications + "&8)" + mf));
- }
- System.out.println("[Shadow] " + player.getName() + " &7failed &c" + hackType.getHackName() + " &8(&c" + notifications + "&8)" + mf);
- }
Add Comment
Please, Sign In to add comment