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!

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

Rank Colour (Like Hypixel)

Discussion in 'Requests' started by Shirubeon, Jun 16, 2021.

  1. Shirubeon

    Shirubeon Member

    Joined:
    Jun 14, 2021
    Messages:
    2
    Likes Received:
    0
    Category:
    Skript


    Suggested name:
    Rankcolor


    Spigot/Skript Version:
    1.16.5


    What I want:
    A rank color skript so if you type /rankcolour [color] it will change your rank to that specified colour. Basically it should change the + in the rank to a different color.

    Ideas for commands:
    /rankcolor (color)


    Ideas for permissions:
    skript.rankcolor


    When I'd like it by: any time
     
  2. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    597
    Likes Received:
    37
    Can you please provide more infos? Maybe where the rank color should change or what permissions system are you using
     
  3. Shirubeon

    Shirubeon Member

    Joined:
    Jun 14, 2021
    Messages:
    2
    Likes Received:
    0
    Im using luckperms
     
  4. AHappyLittleSloth

    Joined:
    Apr 22, 2020
    Messages:
    48
    Likes Received:
    4
    This may be slightly complicated based on your setup. DM me your discord and I can help you out.
     
  5. TheDoggy

    TheDoggy Member

    Joined:
    Sep 2, 2021
    Messages:
    2
    Likes Received:
    0
    command /rank [<player>] [<text>] [<text>]:
    permission: op
    trigger:
    if arg-3 is not set:
    send "&cYou Must Say The Colour You Want"
    if arg-3 is set:
    if arg-3 is "dark blue":
    set {rank::%player%} to "&1%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &1%player%"
    send "&2Your rank has been set!"
    if arg-3 is "light red":
    set {rank::%player%} to "&c%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &c%player%"
    send "&2Your rank has been set!"
    if arg-3 is "red":
    set {rank::%player%} to "&4%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &4%player%"
    send "&2Your rank has been set!"
    if arg-3 is "blue":
    set {rank::%player%} to "&9%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &9%player%"
    send "&2Your rank has been set!"
    if arg-3 is "aqua":
    set {rank::%player%} to "&3%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &3%player%"
    send "&2Your rank has been set!"
    if arg-3 is "orange":
    set {rank::%player%} to "&6%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &6%player%"
    send "&2Your rank has been set!"
    if arg-3 is "yellow":
    set {rank::%player%} to "&e%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &e%player%"
    send "&2Your rank has been set!"
    if arg-3 is "pink":
    set {rank::%player%} to "&5%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &5%player%"
    send "&2Your rank has been set!"
    if arg-3 is "gray":
    set {rank::%player%} to "&8%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &8%player%"
    send "&2Your rank has been set!"
    if arg-3 is "green":
    set {rank::%player%} to "&2%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &2%player%"
    send "&2Your rank has been set!"
    if arg-3 is "lime":
    set {rank::%player%} to "&a%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &a%player%"
    if arg-3 is "light blue":
    set {rank::%player%} to "&b%arg-2%"
    set player's tablist name to "&7[&l%{rank::%player%}%&7] &b%player%"
    send "&2Your rank has been set!"
     
  6. TheDoggy

    TheDoggy Member

    Joined:
    Sep 2, 2021
    Messages:
    2
    Likes Received:
    0
    What ranks do you have?
    --- Double Post Merged, Sep 13, 2021, Original Post Date: Sep 5, 2021 ---
    hope this helped
     
  7. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    597
    Likes Received:
    37
    please use code blocks
     
    • Agree Agree x 2
  8. oToghty

    VIP Supporter +

    Joined:
    Sep 1, 2020
    Messages:
    142
    Likes Received:
    5
    oh god
     
  9. yea rite

    yea rite Member

    Joined:
    Jul 11, 2021
    Messages:
    26
    Likes Received:
    2
    are ranks managed by a skript? if so can i get the variables
     
  10. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    597
    Likes Received:
    37
    You could use Vault to get the player's rank
     

Share This Page

Loading...