#(aviside) How to display a global death count in real time?

14 messages · Page 1 of 1 (latest)

cloud ember
#

So I want to start tracking the total number of players that have died in real time. I also want to keep text in a tab or sidebar that displays this amount.
How would I go about accomplishing this?

I already have a sidebar script btw, so all I really need to figure out is calculating, storing and retrieving the death count

crisp harborBOT
#

(aviside) How to display a global death count in real time?

crisp harborBOT
#

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.

compact kraken
#

Isn't this something that can be achieved with minecraft itself?

#

!c scoreboard

queen steppeBOT
# compact kraken !c scoreboard
Group

server

Syntax

scoreboard ({add}/remove) (viewers:<player>|...) (lines:<player>/<text>|...) (id:<value>/player/{main}) (objective:<value>) (criteria:<criteria>/{dummy}) (score:<#>) (displayslot:<value>/{sidebar}/none) (displayname:<name>) (rendertype:<type>)

Short Description

Add or removes viewers, objectives and scores from scoreboards.

Description

Lets you make players see a certain scoreboard and then a certain objective in that scoreboard.
Please note that a 'scoreboard' is NOT a 'sidebar' - if you want that thing where text is on the right side of the screen, use !command sidebar.
'Scoreboard' is the underlying internal system that powers sidebars, below_name plates, team prefixing, and a lot of other systems. Generally, you should avoid using this command directly.

The ID can be 'main' for the global default scoreboard, 'playe...

compact kraken
#

I mean, I guess you could just make a server flag too.

#

And then run a on player death event and add to it.

cloud ember
#

okay, cool how do I display the number attached to a flag in chat?

compact kraken
#

Call the flag? - narrate "Players have died <&e><server.flag[GLOBAL_DEATHS]><&f> times."

#

Are you unfamiliar with the flag system?

cloud ember
#

I'm not unfamiliar but Idk it's just been a while since I've seriously used denizen and a lot has happened

#

I'm gonna test this stuff out