Jump to content

Help needed with a scoreboard!


JustMurpy

Recommended Posts

Hello there! I've been trying to make a scoreboard for the longest time, I've been trying to achieve;

Server Name:

Player:
Player name:
Rank:
Kills:
Deaths:
KDR:

Server:
Server IP:
Online: (0/10)
Joins:
TPS:

Edited by JustMurpy
Needed to fix something!
Link to comment
Share on other sites

This was created in skBee. I created it for a server I used to play on.

every tick:
    loop all players:
        set title of loop-player's scoreboard to "&6&lPogMined"
        set line 13 of loop-player's scoreboard to "&f&m----------------------"
        set line 12 of loop-player's scoreboard to " &6&lName: &f%loop-player%"
        set line 11 of loop-player's scoreboard to " &6&lRank: &f%loop-player's prefix%"
        set line 10 of loop-player's scoreboard to " &6&lPing: &f%loop-player's ping%"
        set line 9 of loop-player's scoreboard to " &6&lLevel: &f%{level::%loop-player's uuid%}%"
        set line 8 of loop-player's scoreboard to " &6&lEXP: &f%{exp::%loop-player's uuid%}%/%{expreq::%loop-player's uuid%}%"
        set line 7 of loop-player's scoreboard to "&f&m----------------------"
        set line 6 of loop-player's scoreboard to " &6&lKills: &f%{kills::%loop-player's uuid%}%"
        set line 5 of loop-player's scoreboard to " &6&lDeaths: &f%{deaths::%loop-player's uuid%}%"
        set line 4 of loop-player's scoreboard to "&f&m----------------------"
        set line 3 of loop-player's scoreboard to " &6&lOnline: &f%amount of online players%"
        set line 2 of loop-player's scoreboard to " &6&lPogMined.minehut.gg"
        set line 1 of loop-player's scoreboard to "&f&m----------------------"

on join:
    if {kills::%player's uuid%} isn't set:
        set {kills::%player's uuid%} to 0
    if {deaths::%player's uuid%} isn't set:
        set {deaths::%player's uuid%} to 0

Line 3 - Sets the title of the scoreboard the the server name

Line 4 - 16 - Sets lines on the scoreboard.

 

To get the amount of joins just add 1 to a variable on a first join event.

To get the tps you can just use %tps% if you want.

Discord: Dead#6905

Love anime!


Anime Gifs

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
×
×
  • Create New...