Jump to content

How do i solve this error?


Krowder2
 Share

Recommended Posts

So i made this script:

on join:
    if {deaths::%player's uuid%} is not set: 
    set {deaths::%player's uuid%} to 0
    if {kills::%player's uuid%} is not set: 
    set {kills::%player's uuid%} to 0
    if {killstreak::%player's uuid%} is not set: 
    set {killstreak::%player's uuid%} to 0
    while player is online: 
        set title of player's scoreboard to "&6&l⊂BoxxUniverse⊃"
        set line 1 of player's scoreboard to "&9» IP: &cBoxxUniverse.minehut.gg"
        set line 2 of player's scoreboard to "&9» Killstreak: &c%{killstreak::%player's uuid%}%"
        set line 3 of player's scoreboard to "&9» Deaths: &c%{deaths::%player's uuid%}%"
        set line 4 of player's scoreboard to "&9» Kills: &c%{kills::%player's uuid%}%"
        set line 5 of player's scoreboard to " "
        set line 6 of player's scoreboard to "&e&lStats"
        set line 7 of player's scoreboard to "&9» Online players: &c%size of all players%/%max players%"
        set line 8 of player's scoreboard to "&9» Player: &6%player%"
        set line 9 of player's scoreboard to " "
        set line 10 of player's scoreboard to "&e&lInfo"
        wait 1 second
        
on death: 
    attacker is a player:  
    add 1 to {kills::%attacker's uuid%}
    add 1 to {killstreak::%attacker's uuid%}
    
on death: 
    victim is a player: 
    add 1 to {deaths::%victim's uuid%}
    set {killstreak::%victim's uuid%} to 0

 

and when i try to reload it (/sk reload scoreboard.sk) it pops up "Empty configuration section!" and does anyone know how to fix it and possibly also tell me what "empty configuration setting" means? Thanks! And btw, yes i did use skbee.
    

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×
×
  • Create New...