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 Need help with sideboard:(

Discussion in 'Skript' started by DellCraftHD, Jun 14, 2019 at 8:32 PM.

Tags:
  1. DellCraftHD

    DellCraftHD Member

    Joined:
    Jun 8, 2019
    Messages:
    13
    Likes Received:
    0
    Hey, I have a very big problem. If here player comes to the server, then I would like to give him a sideboard. But with loop-player that does not work. Then it sets the sidebar of this one player to all players! Please help me :emoji_frowning:
    Code (Text):
    1. on join:
    2.     wait 1 tick
    3.     loop all players:
    4.         wipe loop-player's sidebar
    5.         set name of sidebar of loop-player to "sidebar"
    6.         set score "  &8  " in sidebar of loop-player to 11
    7.         set score "&8» &7Name&8:" in sidebar of loop-player to 10
    8.         set score "&d✎ &8▏ &5%loop-player%" in sidebar of loop-player to 9
    9.         set score "   &9 " in sidebar of loop-player to 8
    10.         set score "&8» &7Coins&8:" in sidebar of loop-player to 7
    11.         set score "&e$ &8▏ &6%{%coins.%loop-player%}%" in sidebar of loop-player to 6
    12.         set score "   &1 " in sidebar of loop-player to 5
    13.         set score "&8» &7Online&8:" in sidebar of loop-player to 4
    14.         set score "&a❤ &8▏ &2%amount of players% &8➥ &2%max players%" in sidebar of loop-player to 3
    15.         set score "&5 " in sidebar of loop-player to 2
    16.         set score "&8» &7TeamSpeak&8:" in sidebar of loop-player to 1
    17.         set score "&c☕ &8▏&4 XXXXXX" in sidebar of loop-player to 0


     
  2. Best Answer:
    Post #12 by eMpowr, Jun 14, 2019 at 9:14 PM
  3. e

    eMpowr Member

    Joined:
    Thursday
    Messages:
    15
    Likes Received:
    0
    Do you have Ersatz and PlaceholdersAPI installed?
     
  4. DellCraftHD

    DellCraftHD Member

    Joined:
    Jun 8, 2019
    Messages:
    13
    Likes Received:
    0
  5. e

    eMpowr Member

    Joined:
    Thursday
    Messages:
    15
    Likes Received:
    0
    Cause it may be the issue
     
  6. DellCraftHD

    DellCraftHD Member

    Joined:
    Jun 8, 2019
    Messages:
    13
    Likes Received:
    0
    So you mean that you need this plugin for the sideboard? Because I did not even know that it even existed
     
  7. e

    eMpowr Member

    Joined:
    Thursday
    Messages:
    15
    Likes Received:
    0
    Do you have skRayFall installed?
    --- Double Post Merged, Jun 14, 2019 at 8:55 PM, Original Post Date: Jun 14, 2019 at 8:54 PM ---
    Well Ersatz addon is needed for placeholders, but since it's only for sidebar you have to have skRayFall addon for this to work
     
  8. DellCraftHD

    DellCraftHD Member

    Joined:
    Jun 8, 2019
    Messages:
    13
    Likes Received:
    0
    Yes, I have skRayFall.
    But I can not continue writing because I have to go offline now. I can continue writing tomorrow.
     
  9. e

    eMpowr Member

    Joined:
    Thursday
    Messages:
    15
    Likes Received:
    0
    I've just tested, and it shows that instead of "loop-player" do "player". It worked for me when I did that
     
  10. DellCraftHD

    DellCraftHD Member

    Joined:
    Jun 8, 2019
    Messages:
    13
    Likes Received:
    0
    At my Server It does Not work. I tested it too. When I Do this, the skript can't find an Player. So than the Name is <none>
     
  11. e

    eMpowr Member

    Joined:
    Thursday
    Messages:
    15
    Likes Received:
    0
    Code (Text):
    1. on join:
    2.     wait 1 tick
    3.     loop all players:
    4.         wipe loop-player's sidebar
    5.         set name of sidebar of player to "sidebar"
    6.         set score "  &8  " in sidebar of player to 11
    7.         set score "&8» &7Name&8:" in sidebar of player to 10
    8.         set score "&d✎ &8▏ &5%loop-player%" in sidebar of player to 9
    9.         set score "   &9 " in sidebar of player to 8
    10.         set score "&8» &7Coins&8:" in sidebar of player to 7
    11.         set score "&e$ &8▏ &6%{%coins.%loop-player%}%" in sidebar of player to 6
    12.         set score "   &1 " in sidebar of player to 5
    13.         set score "&8» &7Online&8:" in sidebar of player to 4
    14.         set score "&a❤ &8▏ &2%amount of players% &8➥ &2%max players%" in sidebar of player to 3
    15.         set score "&5 " in sidebar of player to 2
    16.         set score "&8» &7TeamSpeak&8:" in sidebar of player to 1
    17.         set score "&c☕ &8▏&4 XXXXXX" in sidebar of player to 0
    Did you write like this?
     
  12. DellCraftHD

    DellCraftHD Member

    Joined:
    Jun 8, 2019
    Messages:
    13
    Likes Received:
    0
  13. e

    eMpowr Member

    Joined:
    Thursday
    Messages:
    15
    Likes Received:
    0
    Maybe there are plugins or addons on your server that are bocking the skript or something. If none addons are blocking the skript then i'm at loss
     
  14. DellCraftHD

    DellCraftHD Member

    Joined:
    Jun 8, 2019
    Messages:
    13
    Likes Received:
    0
    I do not know what this should block
     
Loading...