Would you give up free will for world peace?

As others have noticed, this thread is hauntingly and amusingly close to the IMHO thread, Would you press this magic button?.

I need to know more about the extent and the way this free will is being curtailed. I could imagine setting up a Star Trek style transporter system whereby all missiles and grenades are automatically beamed to the surface of the sun, combatants are beamed back home without weapons, etc. That would eliminate the choice of making war - a restraint on our free actions or ability to do certain things - but it wouldn’t be especially disturbing.

You could also imagine that those who freely choose to put themselves within an organized military structure to lose their free will to the extent that at any time they could manipulated by The Good One to do whatever like zombies or perhaps marionettes. (I’m thinking of a subplot in the anime Jujutsu Kaisen.) That manipulation would end if they freely chose to leave their military organization. So there would be no more war, only terrorism.

There are other possibilities and I would need to know what exactly I’m signing up for.

“The Peoples Republic of Freedonia has no choice but respond to this outrageous provocation by ZING! no we don’t, we’ll back down now.” You get some free will, but only like 5 seconds of it.

ETA below: Basically agree: I alluded to the possibility that banning war has all sorts of loopholes embedded inside it. Again though, it depends on the details. Say terrorist organizations are permitted because those are NGOs. You just can’t use weapons and be part of a government at the same time. Organized non-police violence is privatized. I haven’t thought that through but is sounds worse in some ways.