Here is my level 4 Pirate hall base that has worked out well for me. I've been experimenting with putting some buildings on the far side of the ship, but I don't want to spread out my base too much. I've also intentionally left a corner piece of my wall open in the top left. I've found that groups of troops will run towards that open spot, ignoring closer targets, and then trigger the mine. You can always just leave it walled up if you don't like that, but it's given me some good laughs!
Yeah, most people who attacked me got less than 30%...but more importantly, I didn't get attacked very often.
I think it looks good as well Though you should make one change. Instead of protecting you gun towers, you should instead place 2 cannons inside the walls since they do more damage and are alround better than gun towers. It is better to protect stronger defenses than protecting the less good ones.