Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Am making a minigame where the player dies when they fall and I need to kill them without destroying items. I don't want to use tripwire hooks.
You can use the command /kill @a[x=-131,y=5,z=227,dx=9,dy=0,dz=9] in a repeating command block. Mcstacker is a great resource for advanced command generation. You can read more about the volume selector here.