public int addToQueuePriority(String channel, String message, int source, int priority)
    {
        if (source == 0)
        {
            System.out.println(message);
            return -1;
        }
        else
        {
            priority = Math.max(Math.min(priority, 5), 1) - 1; //Chose 5,1 - 1 because it is closer to the syntax I want (1 most, 5 least)
            messagesQueue.add(priorityPosition[Math.max(priority, 0)], channel + " " + message);
            for (int i = priority; i <= 4; i++)
                priorityPosition[i]++;
            messageDelay.start();
            return priorityPosition[priority];
        }
    }