I think the easiest way to do this is with worldguard, you can select two points and then save it as a region, then you set a flag pvp deny and there you go.