When I was on my cruise, they automatically charged $10 per day per person for the housekeeping and waitstaff. It was easier than carrying around cash.
The last time I was in a hotel, I left a tip. The hotel had a little envelope specifically for it.