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.

Solved Sidebar not working

Discussion in 'Skript' started by SteakBites, Mar 21, 2023.

Thread Status:
Not open for further replies.
  1. SteakBites

    SteakBites Member

    Joined:
    Jul 18, 2022
    Messages:
    14
    Likes Received:
    1
    the sidebar wont show up, but I'm not getting any errors on reload

    Code (Text):
    1. on join:
    2.     while player is online:
    3.         wipe player's sidebar
    4.         set {_playerhealth} to max health of player
    5.         set name of sidebar of player to "&4&lMy Server"
    6.         set score "&7&lPlayer: %player%" in sidebar of player to 1
    7.         set score "&7&lDiscord: /discord" in sidebar of player to 0
    8.         wait 1 seconds
     
  2. Skoll

    Skoll Active Member

    Joined:
    Sep 2, 2020
    Messages:
    65
    Likes Received:
    6
    look my example and change what you want. You need install skRayFall module

    Code (Text):
    1. options:
    2. server: &aServerName
    3. every 2.3 seconds:
    4. loop all players:
    5. set {_online} to number of all players
    6. wipe loop-player's sidebar
    7. set name of sidebar of loop-player to "{@server}"
    8. set score "&7&m--------------------" in sidebar of loop-player to 6
    9. set score " &c&lPLAYER &7> %loop-player%" in sidebar of loop-player to 5
    10.  
    11. set score " &l<gold>PING&7: %ping of loop-player%" in sidebar of loop-player to 4
    12. set score " &l<dark green>Money&r&7:&a %balance of loop-player%" in sidebar of loop-player to 3
    13. set score " &l<yellow>CASH: 0" in sidebar of loop-player to 2
    14. set score "&7 myserver.com" in sidebar of loop-player to 1
    15. wait 1 tick
     
  3. SteakBites

    SteakBites Member

    Joined:
    Jul 18, 2022
    Messages:
    14
    Likes Received:
    1
    I have skrayfall installed, after adding the necessary indents it loads with no errors but still no sidebar showing
     
  4. Skoll

    Skoll Active Member

    Joined:
    Sep 2, 2020
    Messages:
    65
    Likes Received:
    6
    Maybe some conflict of plugins(you should remove one by one to find what is the problem in this case) or incompatible version of plugin with MC version
     
  5. SteakBites

    SteakBites Member

    Joined:
    Jul 18, 2022
    Messages:
    14
    Likes Received:
    1
    I was thinking about doing that, will report back with the results later.

    EDIT: worked, ty. granted it broke something else but ima just mess with the syntax there.
     
    #5 SteakBites, Mar 22, 2023
    Last edited: Mar 22, 2023
    Skoll likes this.
Thread Status:
Not open for further replies.

Share This Page

Loading...