I am using WorldGuard on my server and I thought you could make it so they can't do PvP but they can still build command I use: /region flag <id> pvp deny any help so I can have no PvP but let them build
Do you just want to disable pvp globally? If that is the case, you can just set it in the server.properties file. If you need regions you can add a group of players (permissions, groupmanager, etc.) to the region so they can build with: /region addmember <id> g:builder (replace 'builder' with the name of your group. If you prefer you can leave out the 'g:' and add individual players instead.)