#Skript Tab Help

1 messages · Page 1 of 1 (latest)

atomic ingot
#

so this is mod rank but its instead of the gradient rank this happens only the basic colors works also is it worth making a tab skript or should i just use tab plugin?

#

i tied it without my hexify function but still didnt work

clear smelt
#

did u use rgb flop?

atomic ingot
#

yea

#

birdflop

clear smelt
#

use this

atomic ingot
#

theres no errors in the skript

atomic ingot
clear smelt
#

but wait

atomic ingot
#

ight

clear smelt
#

i give u an advice

atomic ingot
#

yea

#

i finna switch to tab plugin

clear smelt
#

ok the color codes u put &#81638 (example)

atomic ingot
#

lol

atomic ingot
clear smelt
#

copy and paste whats after the #17366 at the start on here, hex color 1 u put the first and the 2 u put the last

#

and redo it with legacy

#

:)

clear smelt
#

wait

#

u take &#17732

#

and copy #17732

#

and then put it in the site

atomic ingot
#

oh alr

clear smelt
#

understood?

#

nice

#

ping me when u did

olive crater
#

You know that for skript to work with hex you need to do it like this "<#ffffff>text" right? Skript doesn't work with &# (at least that I know of)

mossy pike
#

It does most of the time, setting item names and lore and GUI names to &# works

graceful flower
#

Skipt should work with <##ffffff>

olive crater
stray spire
#

why tf would you ever use legacy format

hollow ivy
hollow ivy
mossy pike
brave talon
#

Did you format it?

#

Like send formatted “”

atomic ingot
olive crater
#

(is that spoon feeding? idk)

atomic ingot
#

buts its tab skript doesnt work like chat skript

olive crater
#

oh okay, didn't know. good luck then

atomic ingot
#

np

#

ty

scarlet steppe
#

going back to your original question, I ask you a question:
1️⃣ What version of Skript are you using?
2️⃣ What version of Minecraft are you using?
3️⃣ What version of TAB are you using?

atomic ingot
scarlet steppe
#

you had mentioned tab, I got confused. sorry, I know what you mean by it now, lol.

#

one thing I'll say is you are 3 stable versions behind on Skript (now up to 2.8.0, and even still if you don't want that version for whatever reason, there's also the next one at 2.7.3)

#

And why are you using Minecraft 1.20.1 when there's a more updated (and bug patched) version at 1.20.2, and even still 1.20.4 exists now. I don't see a reason why you aren't using more up-to-date versions of Minecraft

atomic ingot
#

m just toooooo lazy to update plugins

#

ngl

scarlet steppe
#

and the base game?

atomic ingot
#

well update them when they stop working

atomic ingot
scarlet steppe
#

even still, where is the code you are using again for the hex?

atomic ingot
#

for hex

#

?

scarlet steppe
scarlet steppe
# atomic ingot for hex

you're original code you are using for displaying the player's prefix, you are using Skript but all I see is LuckPerms

atomic ingot
#
    return {_text}.replaceAll("&##([a-fA-F0-9]{6})", "<##$1>")```
#

this is hex convertor

#

thing i use

#

so i put %colorFormat({_prefix})%

#
options:
    default_tag_name: "N/A"

on join:
    while player is online:
        set player's tablist header to "%nl%<##bcffb4>&lDyno&f&lGens%nl%%nl%<##bcffb4>Store: &f/Store%nl%<##bcffb4>Discord: &f/Discord%nl%"
        set player's tablist footer to "%nl%&fPlayers: <##bcffb4>%number of online players%&7/<##bcffb4>%max players%%nl%%nl%&fPing: <##bcffb4>%player's ping%  &fTPS: <##bcffb4>20%nl%"
        set {_prefix} to colored (player's prefix)
        set {_suffix} to colored (player's suffix)
        set {_currenttag} to {tags::%player's uuid%}
        set {_currenttagname} to {-tagsregistry::%{_currenttag}%} ? {@default_tag_name}
        if {_currenttagname} contains "N/A":
            set player's tablist name to "%colorFormat({_prefix})%%player% "
        else:
            set player's tablist name to "%colorFormat({_prefix})%%player% &8(%{_currenttagname}%&8)"
        wait 3 seconds```
#

tab skript

scarlet steppe
#

that's what I was looking for

atomic ingot
#

oh

scarlet steppe
#

So, it looks like your hex is working fine when displaying the server name, so you've got that going

atomic ingot
#

ngl i finna switch back to tab plugin

atomic ingot
#

ive tried without the colorFormat function aswell no luck

scarlet steppe
#

But it's not working properly with player's prefix (their tablist name). The only thing that I can see is the conversion being strange; alternatively, there's another thing you might be missing

atomic ingot
#

can i use

#

the placoholder?

#

for luckperms

#

yea

#

that should work

#

right

scarlet steppe
#

when you send a message with Skript (i.e send "Some text" to player) and you use color codes with hex (rgb), you need to include the word formatted so Skript can handle it properly. Example: send formatted "<##bcffb4>&lDyno&f&lGens" to player

#

This might be the case with the tablist name, so you'd need to do set tablist name of player to formatted "Your code here"

atomic ingot
#

ill try

#

1 sec

#

ty tho

scarlet steppe
#

i'm not sure if tablist names work like this, so results may vary

#

any luck?

atomic ingot
#

nope

scarlet steppe
#

huh, then unfortunatly I'm out of ideas

stray spire
#

minimessage rahhhhh

hollow ivy
#

guys .. . . it's resolved

atomic ingot
#

the orignal problem yes but now theres another problem

mossy pike
#

fr

#

Skript = all plugins

#

For life

clear smelt
#

lmao

#

need pv's?

#

skript it

#

need afk zone? skript it

#

need playtime rewards? skript it

fresh kiln
clear smelt
#

i did

fresh kiln
#

yeah ok its impossible for me tho ;-;

atomic ingot