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 out 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.

i need help on this skript

Discussion in 'Skript' started by Fain, May 21, 2020 at 1:08 AM.

Tags:
  1. Fain

    Fain Member

    Joined:
    Tuesday
    Messages:
    12
    Likes Received:
    0
    Code (Text):
    1. command /prestigebook [<player>]:
    2.   permission: prestige.book
    3.   trigger:
    4.     give 1 of written book named "&7&ki &5&lPrestigious &d&lSkyFlood &7&ki" to arg-1
    5.  
    6. on join:
    7.   if {prestige.%player's uuid%} is not set:
    8.     set {prestige.%player's uuid%} to 0
    9.  
    10. on chat:
    11.   broadcast " %player's display name% &a&l[&3&lP&b&lr&3&le&b&ls&3&lt&b&li&3&lg&b&le &d&l%{prestige.%player's uuid%}%&a] &f: %message%"
    12.   cancel the event
    13. on right click with written book:
    14.   if name of tool of player is "&7&ki &5&lPrestigious &d&lSkyFlood &7&ki":
    15.     send "&a>> You have &e&lPrestiged&a! <<"
    16.     set {_t} to {prestige.%player's uuid%} +1
    17.     send "      &7[&8%{prestige.%player's uuid%}%&7] --> &7[&a%{_t}%&7]"
    18.     add 1 to {prestige.%player's uuid%}
    19.     broadcast "&8&l[&6&l%player%&8&l] &4&lhas prestiged!"
    20.     remove held item from player


    I want to add luckperms prefix on this skript can I ?

    because it's not visible on Minecraft chat
     
  2. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    533
    Likes Received:
    20
    With the SkUniversal addon you can use the expression 'player's luckperms prefix'. You require version 1.14 or 1.15.

    Source: SkUniversal.
     
  3. Fain

    Fain Member

    Joined:
    Tuesday
    Messages:
    12
    Likes Received:
    0
    ok thank you
     
  4. 10splaya

    10splaya Member

    Joined:
    Jun 13, 2017
    Messages:
    15
    Likes Received:
    0
    If this forum is solved please mark the prefix as solved :emoji_slight_smile:
     
Loading...