public void send(PlayerPawn player, int c, String msg) {
        int id = player.getId();
        InetAddress ip= player.getIp();
        System.out.println("Sending...\nPlayer: " + id + "\tCmd: " + c + "\n");
        String data = String.valueOf(id)+c+msg;
        byte[] cmd = new byte[512];
        try {
            cmd = data.getBytes("ISO-8859-1");
        } catch (UnsupportedEncodingException ex) {
            Logger.getLogger(Connection.class.getName()).log(Level.SEVERE, null, ex);
        }

        sendPack = new DatagramPacket(cmd, cmd.length, ip, 6000 + id);
        sender.sendCmd(sendPack);
    }