#scoreboard placeholders display

1 messages · Page 1 of 1 (latest)

signal raven
#

I want to display placeholders on my scoreboard made with skript, I got this plugin called IKoth which comes with a bunch of placeholders. But when I add these placeholders to my skript-made scoreboard it doesn't work. I probably forgot to download something or something like that but idk what. what did I do wrong?

full turtle
#

Define “doesnt work”

signal raven
full turtle
#

Well, are you connecting to the other stuff?

signal raven
crude fossil
#

@signal raven

#

You can't use placeholders in default skript

#

You need Skript-placeholders

signal raven
#

yes I have that

crude fossil
#

then use

signal raven
#

how

crude fossil
#

%placeholder "placeholder_no_percentages" from player%

#

obv check docs

#

thats just what I remember

sand arch
sand arch
sand arch
#

hey

signal raven
#

hey

sand arch
#

uhh

signal raven
#

do I have to download something?

sand arch
#

do u have skript-placeholders?

#

addon

signal raven
#

yes

sand arch
#

and placeholder api

#

and vault

signal raven
sand arch
#

placeholder api

#

?

signal raven
sand arch
#

okie

#

let me test on my server and tell u

#

gimme like 2 mins

signal raven
#

okay

#

no preasure

#

only about 10ppl are waiting to join the server again lmao

sand arch
#

try removing %% around it

#

also try replacing of to from

signal raven
#

now it just sais this

#

no errors tho

sand arch
#
0

command /ping <player>:
    trigger:
        set {_ping} to placeholder "player_ping" from arg-1 
        send "Ping of %arg-1%: %{_ping}%" to player```
#

try this

#

replace arg to player

signal raven
#

like this?

signal raven
#

@sand arch 🙄

sand arch
#

ur placeholder is {next} and u are sending {_ping}

signal raven
#

the placeholder name should be {_ping}?

#

oh

sand arch
#

ur output must match ur variable

#

u set ur placeholder to

signal raven
#

yup

#

displays this which is right i think cause I havent set a time for it yet.

#

why is it not working on the scoreboard tho

sand arch
#

know uhh

#

try

#
  set {next} to placeholder "ikoth_next" from player
  then use %{next}% in ur scorebaord```
signal raven
#

LETS GOO works!!!

#

thanks man

sand arch
#

np

#

put solved tag on the post

signal raven
#

uhhhh

#

any way I can remove the 3 first 0's ?

sand arch
full turtle
#

just use skbee's hours/minutes of

signal raven
full turtle
#

The line of the scoreboard you want to edit

sand arch
full turtle
#

they have the placeholder

#

that skbee effect will work with any time

signal raven
full turtle
#

inside the text

#

in percents cause its an expression

#

broadcast "it has been %hours of 10 days% hours since aliens invaded Earth"

#

hours of 10 days -> 240

full turtle
signal raven
#

you really like that vid huh

signal raven
full turtle
#

why is there a "/" and you can only pick one

#

hours or minutes

#

or you can check if its < 1 hour, then switch to minutes

signal raven
#

i want it to display in hours:minutes:seconds

signal raven
full turtle
#

is next a timespan, or is it a time

#

if its a time use the difference between it and now

sand arch
#

its much easier

signal raven
full turtle
#

you can make it will the same skbee expression, or theres a bunch of snippets already

wispy gazelle
full turtle
#

yes i do

wispy gazelle
#
    set {_KothM} to 10
    set {KothTrue} to false
every 1 seconds:
  if {KothTrue} is true:
    remove 1 from {_KothS}
  else if {_KothS} < 1:
    remove 1 from {_KothM}
    add 60 to {_KothS}
  else if {_KothM} < 1:
    add 1 to {KothMaybe}
  else if {_KothS} < 1: 
    add 1 to {KothMaybe}
  else if {KothMaybe} > 1
    broadcast "&6KOTH EVENT HAPPENING NOW!" # You can edit this to something else
    teleport loop-player to location "# Location" in world "# world"
    set {_KothS} to 600
    set {KothTrue} to True
command viewkoth:
# You can add a permission etc here
    trigger:
      send "&6• &7KOTH in: &e%{_KothM}%: %{_KothS}%"
    else if {KothTrue} is true:
      send "&6What you waiting for the koth event is live RN!" # You can edit this message as well
wait 5 minutes: # Edit the '5' to the number of minutes the Koth Event should last
  if {KothTrue} is true:
    send "&6&lThe Koth Event is over!" # You can edit this message as well
    set {KothTrue} to false:```
#

Keep in mind @signal raven That you may need to indent it further as I'm not the best at indenting

#

@full turtle You could probably indent it to make it work completely

#

Oh and don't say 🥣

fallow tusk
#

why did you ping x8ight?

wispy gazelle
#

for no reason

fallow tusk
#

yeah, don't do that

wispy gazelle
#

y not

full turtle
wispy gazelle
#

Kinda

#

@full turtle

#

And its not spoon feeding

#

Its not even complicated

full turtle
#

Why did you ping me again?? Im right here

wispy gazelle
#

lol

full turtle
full turtle
wispy gazelle
wispy gazelle
#

Hes been waiting for 12 days now

full turtle
#

Well you giving them the solution prevents then from coming up with their own and growing as a result
And besides, there are a few flaws in it, and they are using a placeholder not a variable

wispy gazelle
#

varibles work

#

I use varibles in my code most of the time

#

its basically like custom placeholders

full turtle
#

Yes, but they are getting the time until the next from another plugin

#

Not a variable

sand arch
signal raven
signal raven