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 Scoreboard won't delete

Discussion in 'Skript' started by tom2090, Jul 24, 2018.

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

    tom2090 Member

    Joined:
    Jun 27, 2017
    Messages:
    2
    Likes Received:
    0
    Hello !

    I post on this forum because it's the first time i encounter a problem with Skript.

    The problem is, when i configure a scoreboard to show, there's no problem. But when I try to wipe it, it just stay showed. I tried to delete the scoreboard file of all the maps (I use multiverse + inventories), and it wasn't working too.

    I run the server on Spigot 1.9.4 (with ViaVersions) and using Skript v2.2-dev13.

    Here is my code :
    Code (Skript):
    1. on join:
    2.     wait 0.1 second
    3.     player's world is "Hub"
    4.     delete player's sidebar
    5.     set {_PlayerName} to placeholder "%%player_name%%" from player
    6.     set {_PlayerRank} to placeholder "%%vault_rank%%" from player
    7.     set {_PlayerMoney} to placeholder "%%vault_eco_balance%%" from player
    8.     display board named "&c&l❤ &6&lCakeCraft &c&l❤" to player
    9.     make score "&f" in board of player to 9
    10.     make score "&7> Joueur:" in board of player to 8
    11.     make score "&b%{_PlayerName}%" in board of player to 7
    12.     make score "&b " in board of player to 6
    13.     make score "&7> Grade:" in board of player to 5
    14.     make score "&b%{_PlayerRank}%" in board of player to 4
    15.     make score "&b  " in board of player to 3
    16.     make score "&7> Coins:" in board of player to 2
    17.     make score "&b%{_PlayerMoney}%" in board of player to 1
    18.     move display of player to sidebar
    19. on world change:
    20.     wait 0.5 second
    21.     player's world is "Hub"
    22.     delete player's sidebar
    23.     set {_PlayerName} to placeholder "%%player_name%%" from player
    24.     set {_PlayerRank} to placeholder "%%vault_rank%%" from player
    25.     set {_PlayerMoney} to placeholder "%%vault_eco_balance%%" from player
    26.     display board named "&c&l❤ &6&lCakeCraft &c&l❤" to player
    27.     make score "&f" in board of player to 9
    28.     make score "&7> Joueur:" in board of player to 8
    29.     make score "&b%{_PlayerName}%" in board of player to 7
    30.     make score "&b " in board of player to 6
    31.     make score "&7> Grade:" in board of player to 5
    32.     make score "&b%{_PlayerRank}%" in board of player to 4
    33.     make score "&b  " in board of player to 3
    34.     make score "&7> Coins:" in board of player to 2
    35.     make score "&b%{_PlayerMoney}%" in board of player to 1
    36.     move display of player to sidebar
    37. on world change:
    38.     wait 0.5 second
    39.     player's world is "Freebuild"
    40.     wipe player's sidebar
    41. command /delete:
    42.     trigger:
    43.         wipe player's sidebar
    (even when i type /delete, the scoreboard still shows)

    and my plugins :

    [​IMG]
     
  2. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    310
    Likes Received:
    10
  3. tom2090

    tom2090 Member

    Joined:
    Jun 27, 2017
    Messages:
    2
    Likes Received:
    0
    Kinda hard to understand, but i will try this ! I keep you updated.
    --- Double Post Merged, Jul 25, 2018, Original Post Date: Jul 25, 2018 ---
    I found a plugin who works well using PlaceholderAPI, so Skript variables. It will be way better for me :emoji_wink:

    https://www.spigotmc.org/resources/simplescore.23243/
     
Thread Status:
Not open for further replies.

Share This Page

Loading...