#i want to make a play time kind of a skript but how does i store the playname and scoreboard
1 messages · Page 1 of 1 (latest)
and i want it to show all the people that have score in play time not only me / all the people how connected
the result should be
player1name - Time: 46000 ticks
player2name - Time 47000 ticks
...
time played of (PLAYER)
what do you mean
no
yes
so use that on the scoreboard
i looked
don't use console commands
i didnt found
why not?
because then you installed and "learned" a plugin for literally no reason
you're just doing stuff that command blocks can do
right
i dont understand how its helping me
i want the scoreboard of a specific player
or else i want that i will be able to output both the player name and the score
this is just to show things and text on scoreboards
on rightclick:
send "%player% has played for %time played of player%"
set line 1 of player's scoreboard to "&b%time played of player%"```
i don't know what else you could possibly want
i'd recommend you look at skript tutorials, if you don't understand how expressions work
i dont understand just how i output a scoreboard
there is no output
i want to know hot to output a screboard data by player name
you don't need an output
why?
this gives it to you already
then set time played of player to 0 seconds every week
but i dont have the name of the player
you always have the name of the player
loop all offline players:
wait
it output just a number of tickes or it output text?
player refers to an online player
offline player refers to a player that is either online or offline
it outputs a timespan
ex. 3 ticks, 5 seconds, 10 days, 2 hours
oh
it auto-rounds up
just 3
but i want it to out put just a number
like 3
not 3 ticks
3 secend
3
this is possible?
if you replace all in a string you can ig
zero point to doing that though
it removes basic understanding of units of measurement
amm this is the problam i want to do math with it
the only people to understand it would be the people who have played the longest
you can just directly compare their time played
i want it to say how many ticks they played
if time played of player >= 1 hour:
"do math" is incredibly vague
like
tick*1200
but why
%time played of player%"
how do i print this as minitues?
set time played of %{_username}% to 0 seconds
is not such a thing
you need SkBee
get rid of %'s
they're only needed when you want skript to understand what should be treated as skript language
when you're in a string
i dont see an error now but its still dont reset it for some reason
oh it works
you cant put username
you have to put player
but how do i loop for all the offline players?
cause here when i fix the spaces its just spams me
should look at some loop or indentation tutorials
you didn't indent anything to be under the offline player loop, so nothing is going to happen with it
i want i to reapet over all the people that was ever on the server once\
i kind of fix that but its still not sending for every players in the server
and when i connect other player it works and reset both of us of us and when he disconect its reset just me
?
loop all players only loops online players
I tried with offline and it just spam peleg2210 million time
Any one has an idea?
prob didn't use loop-player or smthn