SEASIDE HEIGHTS, N.J. — The town where MTV’s “Jersey Shore” was based has new rules aimed at curtailing bad behavior.

Seaside Heights officials have voted to extend paid beach access hours to 9 p.m. on weekends and holidays and close the beach after that. Previously, people had free access to the beach after 5 p.m. The boardwalk will be closed between 3 a.m. and 6 a.m.

The new rules also ban any smoking, including e-cigarettes, and limit the size of coolers, umbrellas and canopies.

The cast of “Jersey Shore” was known for partying and its “gym, tan, laundry” lifestyle.