1
Alright, So a couple of questions, the main one..
How can I reward a player with an item AND heal them after they get a PLAYER kill?
I have tried systems, but it is only for a certain number, so I thought I would add something to reset the kills so it would do it again after another kill, no luck.
How can I do this? I might need a video, not sure. Could somebody tell me exact steps how to make it so when ANY player kills ANY OTHER player, the killer gets their reward and gets full health. How can this be done?! I really need help please! I don't wish to use any plugins for this.
Thanks!
How can I reward a player with an item AND heal them after they get a PLAYER kill?
I have tried systems, but it is only for a certain number, so I thought I would add something to reset the kills so it would do it again after another kill, no luck.
How can I do this? I might need a video, not sure. Could somebody tell me exact steps how to make it so when ANY player kills ANY OTHER player, the killer gets their reward and gets full health. How can this be done?! I really need help please! I don't wish to use any plugins for this.
Thanks!
5
T means type this once in chat
R means place a repeating command block with the following command
C means place a repeating command block with the following command
T: /scoreboard objectives add Kill playerKillCount
R: /effect @a[score_Kill_min=1] minecraft:instant_health 1 10
C: /give @a[score_Kill_min=1] minecraft:stone
C: /scoreboard players reset @a[score_Kill_min=1] Kill
(The command blocks should be on always active and the 1st one should face into the 2nd one and the 2nd one should face into the 3rd one)
R means place a repeating command block with the following command
C means place a repeating command block with the following command
T: /scoreboard objectives add Kill playerKillCount
R: /effect @a[score_Kill_min=1] minecraft:instant_health 1 10
C: /give @a[score_Kill_min=1] minecraft:stone
C: /scoreboard players reset @a[score_Kill_min=1] Kill
(The command blocks should be on always active and the 1st one should face into the 2nd one and the 2nd one should face into the 3rd one)
Worked! Thank you very much! :)
np, if you ever need help, just ask :3
If it was me, I'd try using the kill count scoreboard. When it equals one it triggers a chain of command blocks which heal and give and item then resets the count to zero all in a single tick
i don't know but if your running a bukkit/spigot server i 100% gaurentee you there would be a plugin somewhere out there
