Last cruise boat I was on earlier this year there was no searching of anything and no metal detectors to get on board. No signs prohibiting guns either. I guess it varies by cruise line.
I've been on a bunch of cruises with different cruise lines and have never not gone through a metal detector, both at the cruise terminal and when returning to the ship from port excursions . . .