Dying Repeatedly on Minecraft [duplicate]

One possible solution as it is your server and you have access to console. Turn on console logging with gamerule command:

/gamerule logAdminCommands true

This will allow you to look in console the next time you die as any command block being used to kill you will output something similar to this:

CommandBlock at 7,51,1 issued server command: kill @a

This will give you the coordinates to the rogue command block. Then using the setblock command you can set those coordinates to air. In my example, this would be command:

/setblock 7 51 1 air

Or if you want to leave the command block but stop it from killing you, you can change the block to require redstone with the blockdata command:

/blockdata 7 51 1 {auto:0}

Look for a command block that's set on a timer to kill @p, the closest player. Using NBTExplorer against a backup of your map, you should be able to locate the location of this problematic resource.

Similar question: https://gaming.stackexchange.com/a/230213/199492