every 19 seconds:
loop all players:
set {onlineplayers} to amount of players
every 20 seconds:
loop all players:
wipe loop-player's sidebar
display board named "&8&l&m-+- &c&lDEV &8&l&m-+-" to loop-player
make score of "&F&m&l------------------" in board of loop-player to 40
make score of "&7" in board of loop-player to 39
make score of "&2&lMoney" in board of loop-player to 38
make score of "%{Money::%loop-player%}%" in board of loop-player to 37
make score of "&7" in board of loop-player to 36
make score of "&3&lRank" in board of loop-player to 35
make score of "%{Rank::%loop-player%}%" in board of loop-player to 34
make score of "&e" in board of loop-player to 33
make score of "&e&LPlayer Count" in board of loop-player to 32
make score of "%{onlineplayers}%" in board of loop-player to 31
make score of "&8" in board of loop-player to 30
make score of "&F&m&l-------------------" in board of loop-player to 29
move display of loop-player to sidebar
No errors
latest stable build of skript...
Spigot 1.8.9
When the skript is enabled every 20 seconds the server has a huge lag spike, without it enabled it runs fine.
loop all players:
set {onlineplayers} to amount of players
every 20 seconds:
loop all players:
wipe loop-player's sidebar
display board named "&8&l&m-+- &c&lDEV &8&l&m-+-" to loop-player
make score of "&F&m&l------------------" in board of loop-player to 40
make score of "&7" in board of loop-player to 39
make score of "&2&lMoney" in board of loop-player to 38
make score of "%{Money::%loop-player%}%" in board of loop-player to 37
make score of "&7" in board of loop-player to 36
make score of "&3&lRank" in board of loop-player to 35
make score of "%{Rank::%loop-player%}%" in board of loop-player to 34
make score of "&e" in board of loop-player to 33
make score of "&e&LPlayer Count" in board of loop-player to 32
make score of "%{onlineplayers}%" in board of loop-player to 31
make score of "&8" in board of loop-player to 30
make score of "&F&m&l-------------------" in board of loop-player to 29
move display of loop-player to sidebar
No errors
latest stable build of skript...
Spigot 1.8.9
When the skript is enabled every 20 seconds the server has a huge lag spike, without it enabled it runs fine.