MIAMI — The signs — “No Guns Allowed” — are being stripped from many Florida government buildings, libraries and airports. And local ordinances that bar people from shooting weapons in their yards, firing up into the air (think New Year’s Eve) or taking guns into parks are coming off the books.

The state has spoken, again, on the matter of guns, and this time it does not want to be ignored: since 1987, local governments in Florida have been banned from creating and enforcing their own gun ordinances. Few cities and counties paid attention, though, believing that places like Miami might need to be more restrictive than others, like rural Apalachicola, for example.

But this year the Legislature passed a new law that imposes fines on counties and municipalities that do not do away with and stop enforcing their own firearms and ammunition ordinances by Oct. 1. Mayors and council and commission members will risk a $5,000 fine and removal from office if they “knowingly and willfully violate” the law. Towns that enforce their ordinances risk a $100,000 fine.

To comply with the law, cities and counties are poring over their gun ordinances, repealing laws and removing gun-related signs. In Palm Beach County, that means removing ordinances that bar people from taking guns into county government buildings and local parks and from firing guns in some of its most urban areas. In Groveland, that means they can now fire their guns into the air to celebrate. And in Lake County, firearms will soon be allowed in libraries.