Page 1 of 1
Killing a player

Posted:
Sat Jul 05, 2014 16:28
by Wuzzy
How do I reliably (!) kill a player?
I already tried this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
But this only works if damage is enabled. If the damage is disabled, the player won’t die.
Re: Killing a player

Posted:
Sat Jul 05, 2014 16:59
by Calinou
I don't think it's even possible to kill a player if damage is disabled, that's the point.
You can only kick them or teleport them to the spawn point.
Re: Killing a player

Posted:
Sat Jul 05, 2014 19:41
by prestidigitator
Definte "kill", anyway. ;-)
Re: Killing a player

Posted:
Wed Dec 02, 2015 01:23
by wilkgr76
Perhaps setup another trigger for the death formspec (and the falling over), such as a command?
Re: Killing a player

Posted:
Mon Mar 28, 2016 11:25
by azekill_DIABLO
maybe teleport him into lava?
Re: Killing a player

Posted:
Mon Mar 28, 2016 14:40
by DS-minetest
azekill_DIABLO wrote:maybe teleport him into lava?
the player could teleport to home or spawn before he dies and if damage is disabled...
Re: Killing a player

Posted:
Mon Mar 28, 2016 17:50
by azekill_DIABLO
or create a block like the MEZE mod, which kill anyone which tuchs it.
Re: Killing a player

Posted:
Tue Mar 29, 2016 05:11
by wilkgr76
azekill_DIABLO wrote:or create a block like the MEZE mod, which kill anyone which tuchs it.
With damage disabled, it's not possible...
EDIT: Or make them leave (see my sig)
Re: Killing a player

Posted:
Tue Mar 29, 2016 15:47
by azekill_DIABLO
:[
i think the meze mod checks if you have damage [on] or [off]
maybe when deleting this it would work....
will try this!
Re: Killing a player

Posted:
Tue Mar 29, 2016 18:27
by AiTechEye
You have to hack the minetest core to do it :-)
Because it is disabled inside the damage system, so nothing can add or set damage on the players.
Re: Killing a player

Posted:
Tue Mar 29, 2016 22:26
by DS-minetest
You could delete the player object.
Its like a kick.
Re: Killing a player

Posted:
Tue Mar 29, 2016 22:37
by sofar
disable player physics, disallow movement and put player in a location where they can't do anything? (e.g. y=-32766) that wouldn't make them dead, but they wouldn't be able to do much.
I'd argue it's a bug that there isn't a method directly to do this.