So I had an idea, having chestshop for towns. It'll work just like a chestshop for a normal player except you put the town's name on the first line on the sign. I don't know if it is possible but it would be a pretty cool way to donate to the town while getting something in return. The people who can open the chestshop to put things inside could be the mayor and co mayor or just town staff.
I hope this is possible!