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 :
(even when i type /delete, the scoreboard still shows)
and my plugins :
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 :
