Solved Scoreboard won't delete

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

tom2090

Member
Jun 27, 2017
2
0
0
29
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_language.skript:
on join:
    wait 0.1 second
    player's world is "Hub"
    delete player's sidebar
    set {_PlayerName} to placeholder "%%player_name%%" from player
    set {_PlayerRank} to placeholder "%%vault_rank%%" from player
    set {_PlayerMoney} to placeholder "%%vault_eco_balance%%" from player
    display board named "&c&l❤ &6&lCakeCraft &c&l❤" to player
    make score "&f" in board of player to 9
    make score "&7> Joueur:" in board of player to 8
    make score "&b%{_PlayerName}%" in board of player to 7
    make score "&b " in board of player to 6
    make score "&7> Grade:" in board of player to 5
    make score "&b%{_PlayerRank}%" in board of player to 4
    make score "&b  " in board of player to 3
    make score "&7> Coins:" in board of player to 2
    make score "&b%{_PlayerMoney}%" in board of player to 1
    move display of player to sidebar
on world change:
    wait 0.5 second
    player's world is "Hub"
    delete player's sidebar
    set {_PlayerName} to placeholder "%%player_name%%" from player
    set {_PlayerRank} to placeholder "%%vault_rank%%" from player
    set {_PlayerMoney} to placeholder "%%vault_eco_balance%%" from player
    display board named "&c&l❤ &6&lCakeCraft &c&l❤" to player
    make score "&f" in board of player to 9
    make score "&7> Joueur:" in board of player to 8
    make score "&b%{_PlayerName}%" in board of player to 7
    make score "&b " in board of player to 6
    make score "&7> Grade:" in board of player to 5
    make score "&b%{_PlayerRank}%" in board of player to 4
    make score "&b  " in board of player to 3
    make score "&7> Coins:" in board of player to 2
    make score "&b%{_PlayerMoney}%" in board of player to 1
    move display of player to sidebar
on world change:
    wait 0.5 second
    player's world is "Freebuild"
    wipe player's sidebar
command /delete:
    trigger:
        wipe player's sidebar

(even when i type /delete, the scoreboard still shows)

and my plugins :

1532451243-capture.jpg
 
Status
Not open for further replies.