New Year's Eve revellers have been warned to be on their best behaviour as police promise a "swift response" to troublemakers, amid fire risks from illegal fireworks.