#How to add tab priority
1 messages · Page 1 of 1 (latest)
how do i use the skript place holder?
https://skripthub.net/docs/?id=4369
eg.
on papi request with prefix "prefix":
if identifier is "identifier":
set result to {blah}
# this placeholder will be used like this: %prefix_identifier%
# {blah} is your variable
thats in the skript folder correct?
mmm of course, you must add that syntax in your code, that is, in the skript that is in your skript folder
Ok so if i were to do that, how would i make it show up on the right of the players name
It would be a matter of setting TAB.
ok thanks
but since you would be registering that "Placeholder", you could use it like any other placeholder.
yw
what do i change it to
https://skripthub.net/docs/?id=4369
the prefix is like when you use some essentials placeholder, something like "essentials", and the identifier is the one you are trying to get, something like "essentials_name" for example. (I don't know if essentials have that placeholder, it's just an example)
it's like this, player is the prefix and biome is the identifier
anyway the addon has its wiki, maybe it will help you more: https://github.com/APickledWalrus/skript-placeholders/wiki/Registering-Placeholders
Wait so i need a addon-
Ok tysm for the help
your welcome
the lastest version is 1.19 is that a problem?
You shouldn't have any problems, unless you're using 1.20.
Im using 1.20....
ill downgrade though
yh i the plugins were red
send /sk info
I don't know if it works with 1.20, but if you are using the beta version of Skript try version 2.6.4
oh alr i just down graded to 1.19.4
works now
ight 1 more question
where in tab plugin config do i add the varible
thing
ok thanks
yw
so like this?
ignore the underscore, you can put it in tabprefix, customtabname or tabsuffix
ok so that should work now?
and no, as you put it it will not work, remember to use the prefix and identifier that you registered
send the code you used to register it
the skript?
on papi request with prefix "levels":
if identifier is "levels":
set result to "%{xp::%uuid of player%}%"
eg.
# In my skript
on papi request with prefix "custom":
if identifier is "name":
set result to "%player%"
# In groups.yml %custom_name%
sorry what-
where does this go
[sorry if im annoying you lmao]
Like is my skript correct
mmm yes, your skript is fine, and to use it in TAB you must join the prefix and the identifier like this: %prefix_identifier%
ohhhh ok
ok it works but the placeholder didnt do i have to run a command with placeholders?
no, it should work when you reload your script, you don't need to install any placeholderapi expansion
that should work after reloading the skript
right?
bc its not-
yes