#(DRAGNIL68) why is it that if a player uses a totem it still counts as dying in denizen?
11 messages · Page 1 of 1 (latest)
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
Denizen only listens to events
So if the relevant spigot/paper event fired, denizen will fire the script event if the event line matches
If you want to track the amount of player deaths, Minecraft already handles this via player statistics
!t player.statistic
Returns the player's current value for the specified statistic.
Valid statistics: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Statistic.html
Works with offline players.
Returns
ElementTag(Number)
Denizen has this tag ^ which lets you read it