Like John said you have to build discreet, I suggest building in an underwater cave, as you tame stuff feed them lazarus chowder to swim them down to the cave. If you lock down an underwater cave with turrets on players only then you cant be raided unless the turrets have no bullets.