This really should go without saying. Our trail towns are a treasure. While you may only be there for a day or two, they will continue to see hikers day after day, year after year, long after you are gone.
Obey the local laws, especially with regard to alcohol and drugs.
Be discreet with the use of tobacco and particularly cannabis.
Keep noise to a minimum, especially at night.
This is their home they have welcomed you into. Give them a good reason to continue to welcome all of the hikers that will come after.