Jump to content

SkBee Tutorial - Scoreboards


emopediaMC

Recommended Posts

Hello all, this tutorial is for people who want a nice sidebar/scoreboard in their server.

Required Addons:
Skript (obviously)
SkBee

What we first want to do is make a while loop for our scoreboard, we can achieve this by doing this

on join:
	while player is online:

Once we have added the while loop, we can start adding/making the scoreboard. We will first make a title for our scoreboard.

on join:
	while player is online:
		set title of player's scoreboard to "My Server"
		wait 1 tick

We have now made a start to our scoreboard, all we need to do now is add some scoreboard lines.

on join:
	while player is online:
		set title of player's scoreboard to "My Server"
		set line 1 of player's scoreboard to "first line :O"
		wait 1 tick

If we want to add variables to the scoreboard, we can do something like this.

on join:
	while player is online:
		set title of player's scoreboard to "My Server"
		set line 1 of player's scoreboard to "hmm yes, a variable %{variable::%player's uuid%}%"
		wait 1 tick

We can also do this.

on join:
	while player is online:
		set title of player's scoreboard to "My Server"
		set line 1 of player's scoreboard to "Online Players: %size of all players%"
		wait 1 tick

Thats it for this tutorial, I hope this helped someone and I hope I explained it well.. lol

 

Edited by emopediaMC
i forgot a wait.. im stupid
  • Sad 1

Developer

 

Joined Minecraft in 2010 on PC

Joined Minehut in August 2016

1 year Skript experience

2 months Java experience

5 months Javascript experience

 

Link to comment
Share on other sites

Very simple and gets straight to the point. I like it!

BUT... you forgot on thing. The wait! Don't want ppl's servers crashing o_o

Edited by _omga

If I helped you at all, leave a like!

IGN: _omga
Discord: omega#1000

 

Link to comment
Share on other sites

1 minute ago, _omga said:

Very simple and gets straight to the point. I like it!

BUT... you forgot on thing. The wait! Don't want ppl's servers crashing o_o

yep... forgot about that lol, adding it now

Developer

 

Joined Minecraft in 2010 on PC

Joined Minehut in August 2016

1 year Skript experience

2 months Java experience

5 months Javascript experience

 

Link to comment
Share on other sites

  • 2 weeks later...

Where Exactly do you put 

Quote

on join:
	while player is online:
		set title of player's scoreboard to "My Server"
		set line 1 of player's scoreboard to "Online Players: %size of all players%"
		wait 1 tick

Do you put somewhere in file manager?

Link to comment
Share on other sites

15 hours ago, RoiBoDSVC said:

Where Exactly do you put 

Do you put somewhere in file manager?

In the file manager, go to plugins > skript > scripts. In that scripts folder, make a file called like scoreboard.sk and put that skript in there and click save. Then in game do /sk reload scoreboard and then relog. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

Amazing

  • Like 1
  • Haha 1
  • Confused 1
image.png.6b83388bece6fb7d874e120f33c8dd96.png


IGN ➣ Pickey ( Soon ) 
Joined MineHut ➣ January 7th 2019
Joined Forums ➣ January 11th 2021
 
Admin on NotedGens
Manager on NotedGens
Developer on Cropied
Developer on Gennow (Genable)

==========================================
Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )
Retired From: InvadedLands ( Moderator )
Retired From:  MineTime ( Sr.Moderator )
Retired From: Hero Mines ( Helper )
Link to comment
Share on other sites

Does SkBee's scoreboard kinda interfere with some other skript addon cuz nothing is showing up for me

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

On 3/14/2021 at 3:54 AM, Starshinex3 said:

Does SkBee's scoreboard kinda interfere with some other skript addon cuz nothing is showing up for me

sorry for the late reply, do you have skrayfall installed?

Developer

 

Joined Minecraft in 2010 on PC

Joined Minehut in August 2016

1 year Skript experience

2 months Java experience

5 months Javascript experience

 

Link to comment
Share on other sites

NoNo worries! Yes I do and already found out I just need to disable fastScoreboards. Thank you tho!

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

  • 1 month later...
On 2/27/2021 at 8:53 AM, emopediaMC said:

Hello all, this tutorial is for people who want a nice sidebar/scoreboard in their server.

Required Addons:
Skript (obviously)
SkBee

What we first want to do is make a while loop for our scoreboard, we can achieve this by doing this


on join:
	while player is online:

Once we have added the while loop, we can start adding/making the scoreboard. We will first make a title for our scoreboard.


on join:
	while player is online:
		set title of player's scoreboard to "My Server"
		wait 1 tick

We have now made a start to our scoreboard, all we need to do now is add some scoreboard lines.


on join:
	while player is online:
		set title of player's scoreboard to "My Server"
		set line 1 of player's scoreboard to "first line :O"
		wait 1 tick

If we want to add variables to the scoreboard, we can do something like this.


on join:
	while player is online:
		set title of player's scoreboard to "My Server"
		set line 1 of player's scoreboard to "hmm yes, a variable %{variable::%player's uuid%}%"
		wait 1 tick

We can also do this.


on join:
	while player is online:
		set title of player's scoreboard to "My Server"
		set line 1 of player's scoreboard to "Online Players: %size of all players%"
		wait 1 tick

Thats it for this tutorial, I hope this helped someone and I hope I explained it well.. lol

 

How do i add deaths and kills? 😄

Link to comment
Share on other sites

15 hours ago, Skray said:

How do i add deaths and kills? 😄

adding deaths and kills are quite easy, first you need to create the kills and death variable and make them add up when you die and well... kill someone

Deaths and Kills variable

on death:
	victim is player
    	add 1 to {deaths::%victim's uuid%}
	add 1 to {kills::%attacker's uuid%}

Adding it to the scoreboard

on join:
	while player is online:
		set title of player's scoreboard to "Servername"
		set line 2 of player's scoreboard to "Kills: %{kills::%player's uuid%}%"
		set line 1 of player's scoreboard to "Deaths: %{deaths::%player's uuid%}%"
		wait 1 tick

Please also make sure you do not reply to posts over 1 month old (like this one). That is classified as necroposting, but anyways I hope that helps you. If you do have any issues with this, please don't reply here and I suggest joining the discord at https://discord.gg/minehut and asking in the #skript channel.

Edited by emopediaMC

Developer

 

Joined Minecraft in 2010 on PC

Joined Minehut in August 2016

1 year Skript experience

2 months Java experience

5 months Javascript experience

 

Link to comment
Share on other sites

🔐 Topic locked.

Please do not reply on threads that have been inactive for over a month.

  • Confused 1

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...