#Skript Tab Help
1 messages · Page 1 of 1 (latest)
did u use rgb flop?
theres no errors in the skript
damn ill have to remake all my ranks!?
ight
i give u an advice
ok the color codes u put 𓻦 (example)
lol
yes
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
:)
huh?
oh alr
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)
It does most of the time, setting item names and lore and GUI names to &# works
Skipt should work with <##ffffff>
oh, didn't know that. ty!
why tf would you ever use legacy format
don't use & inside of the hex code and you double the # so it would look like send "<##FFC0CB> I'm pink!" (for skript text)
isn't there skript and hex format too 💀
Also hex:numberstext I think
thats luckperms ranks i cant do anything with that
Here's how I did it for a chat script: set {_rank} to placeholder "luckperms_prefix" from player if {_rank} contains "&": set {_temp::*} to split {_rank} at "&" set {_rank} to formatted "%{_temp::1}%<%{_temp::2}%>"
(is that spoon feeding? idk)
i legit have the same skript
buts its tab skript doesnt work like chat skript
oh okay, didn't know. good luck then
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?
using skript version 2.71
servers on minecraft version 1.20.1
not using TAB plugin its a skript
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
and the base game?
well update them when they stop working
whats that?
even still, where is the code you are using again for the hex?
you are using 1.20.1, when 1.20.4 exists. The base game of Minecraft
ohh
you're original code you are using for displaying the player's prefix, you are using Skript but all I see is LuckPerms
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
that's what I was looking for
oh
So, it looks like your hex is working fine when displaying the server name, so you've got that going
ngl i finna switch back to tab plugin
yes
ive tried without the colorFormat function aswell no luck
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
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"
nope
huh, then unfortunatly I'm out of ideas
minimessage rahhhhh
guys .. . . it's resolved
the orignal problem yes but now theres another problem
i love slript
best plugin
why buying plugins when u can skript it
lmao
need pv's?
skript it
need afk zone? skript it
need playtime rewards? skript it
skripting pv's is hard as shit
yeah ok its impossible for me tho ;-;
well no u just bind inventories to player using {vault::%player%::*} or smthg like that then open that inventory