I'am never attacked execpt in the alliances war am i the only one?(sorry for my bad english)
No, the others have the colony shield, maybe you have it too?
You're either lucky or have terrible bases :). Raiding players is one of the best ways to get large quantities of resources if it's done properly. The other players that CAN see you may not find you a worthwhile target.
What do you think?