1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Change nametag and tab name

Discussion in 'Skript' started by privatemethod, Jan 2, 2020.

  1. privatemethod

    privatemethod Member

    Joined:
    Jul 19, 2019
    Messages:
    9
    Likes Received:
    0
    Hello,

    I tried to change my nametag (the name above my head in minecraft) and it didn't work out..
    Do you guys maybe know the issue?
    Also I have set every staff member there tablist name to dark red, but it isn't all the way on top.
    I want that every staff member is above the tablist and all the normal players down.

    My code for now:

    Code (Text):
    1. on join:
    2.     if player has permission "staff":
    3.         set player tab name to "&4%player%"
    4.     else:
    5.         set player tab name to "&7%player%"
    6.  
    7. every 1 second:
    8.     loop all players:
    9.         if loop-player has permission "staff":
    10.             set loop-player tab name to "&4%loop-player%"
    11.         else:
    12.             set loop-player tab name to "&7%loop-player%"
     
  2. Devrse

    Devrse Member

    Joined:
    Dec 28, 2019
    Messages:
    13
    Likes Received:
    0
    Code (Text):
    1. on join:
    2.    if player has permission ”staff”:
    3.         set player’s tablist name to ”&4%player%”
    4.     else:
    5.         set player’s tablist name to ”&7%player%”
    6.  
    7. every 1 second:
    8.         loop all players:
    9.              if loop-player has permission "staff":
    10.                    set loop-player tablist name to "&4%loop-player%"
    11.                else:
    12.                   set loop-player tablist name to "&7%loop-player%”
    13.  
     
  3. JaydenBee

    JaydenBee Member

    Joined:
    Nov 11, 2019
    Messages:
    19
    Likes Received:
    0
    Code (Text):
    1. on join:
    2.     if player has permission "staff":
    3.         set player nametag to "&4%player%"
    4.     else:
    5.         set player nametag to "&7%player%"
    6.  
    7. every 1 second:
    8.     loop all players:
    9.         if loop-player has permission "staff":
    10.             set loop-player nametag to "&4%loop-player%"
    11.         else:
    12.             set loop-player nametag to "&7%loop-player%"
    • Requires: MundoSK
     
  4. privatemethod

    privatemethod Member

    Joined:
    Jul 19, 2019
    Messages:
    9
    Likes Received:
    0
    Didn't work..
    --- Double Post Merged, Jan 9, 2020, Original Post Date: Jan 8, 2020 ---
    That is not what I need. I name something to change my Nametag not my Tabname
     
  5. Zabrid

    Supporter

    Joined:
    Mar 2, 2019
    Messages:
    31
    Likes Received:
    1
    Are you using MundoSK? what're you errors "didn't work" isn't very helpful
     
  6. Goose

    Goose Well-Known Member

    Joined:
    Nov 23, 2019
    Messages:
    185
    Likes Received:
    7
    Popping Jayden's code into the Parser gives these errors:

    Code (Text):
    1. Line 3: Can't understand this condition/effect: set player nametag to "&4%player%" (line 5: set player nametag to "&4%player%"') (The Parser doesn't support every syntax element.)
    2.  
    3. Line 5: Can't understand this condition/effect: set player nametag to "&7%player%" (line 8: set player nametag to "&7%player%"') (The Parser doesn't support every syntax element.)
    4.  
    5. Line 9: There's no loop that matches 'loop-player nametag' (script.sk, line 9: set loop-player nametag to "&4%loop-player%"')
    6.  
    7. Line 11: There's no loop that matches 'loop-player nametag' (script.sk, line 11: set loop-player nametag to "&7%loop-player%"')
     
  7. novastosha

    novastosha Well-Known Member

    Joined:
    Jan 11, 2019
    Messages:
    233
    Likes Received:
    11
    You have protocollib?
     
  8. privatemethod

    privatemethod Member

    Joined:
    Jul 19, 2019
    Messages:
    9
    Likes Received:
    0
    I've already fixed it guys thanks
     
  9. novastosha

    novastosha Well-Known Member

    Joined:
    Jan 11, 2019
    Messages:
    233
    Likes Received:
    11
    Send The fix with detais :emoji_wink: Tysm
     
  10. privatemethod

    privatemethod Member

    Joined:
    Jul 19, 2019
    Messages:
    9
    Likes Received:
    0
    I just installed ProtocolLib
     
  11. JaydenBee

    JaydenBee Member

    Joined:
    Nov 11, 2019
    Messages:
    19
    Likes Received:
    0
    "diDn'T wOrK"
    lol gotta love you providing detail
     
  12. privatemethod

    privatemethod Member

    Joined:
    Jul 19, 2019
    Messages:
    9
    Likes Received:
    0
    You said it requires MundoSK, it required ProtocolLib.
     
  13. Goose

    Goose Well-Known Member

    Joined:
    Nov 23, 2019
    Messages:
    185
    Likes Received:
    7
    It requires MundoSK AND ProtocolLib, try seeing if that skript would work without MundoSK lmao
     
  14. JaydenBee

    JaydenBee Member

    Joined:
    Nov 11, 2019
    Messages:
    19
    Likes Received:
    0
    I have a feeling that OP is making a Minehut server, considering the fact that he has the mental ability of someone whom uses Minehut and thinks it's the best.
     
    • Agree Agree x 1
  15. Goose

    Goose Well-Known Member

    Joined:
    Nov 23, 2019
    Messages:
    185
    Likes Received:
    7
    If he is using a 1.15.1 skript plugin he is most likely making a Minehut server
     
    • Funny Funny x 1
  16. JaydenBee

    JaydenBee Member

    Joined:
    Nov 11, 2019
    Messages:
    19
    Likes Received:
    0
    Literally everyone has PL on their server, that's why I didn't include it.
     
    • Informative Informative x 1
  17. ReportCards

    ReportCards Member

    Joined:
    May 27, 2017
    Messages:
    7
    Likes Received:
    1
    You can't just diss the whole Minehut community, I know where you're coming from, but I've been with Minehut since it had less than 50 players a day on average, there are some really talented people there, and I don't mean with Skript, but with Java or art, or any of the sorts (Even one of the people who contributed to Skript the most uses Minehut). Now don't get me wrong ever since it gained popularity it's been getting a worse community on the day. idk, this isn't a spot for arguments, just putting my word out.
     
Loading...