-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animated Scoreboard #10
Comments
Hello, you must run a scheduler every X ticks and simply call the There is currently no utility class for doing some String animations easily, but it's planned for later. |
I think I rushed too much, I don't even get a static scoreboard, I followed the steps of github and I can't make a scoreboard with this api, I'm currently at 1.12.2 |
This is my code
public void onPlayerJoin(PlayerJoinEvent event) {
} |
Your code seems correct, check if your listener is correctly registered, if your plugin is correctly exported, if you don't have any error in the console, and things like that |
My plugin is exported correctly, I don't receive errors, and my listener is registered |
it just doesn't show anything upon entering |
Ok, I solved it, I just had to put depend: Netherboard and put the pl to my server, how could I use the api correctly and not have to put Netherboard.jar in my plugins folder? |
You can copy the core and bukkit modules to your code, or include them inside your jar using Maven/Gradle |
Regarding the animated scoreboard, would this code be good? `package miniprueba; import fr.minuskube.netherboard.Netherboard; public class ScoreBoard implements Listener{
` |
If you create the Scoreboard on PlayerJoinEvent and make sure to call the method |
Yes, it worked, now how would it make the score lively? import fr.minuskube.netherboard.Netherboard; public class ScoreBoard implements Listener{
|
. |
Firstly you must only create the scoreboard once, not each time the scheduler is called, and then in your Sb method you just do whatever you want in it and you'll be able to make animations, edit the texts, etc... |
So I would have to remove the method where I have created the scoreboard of the run () method? |
. |
You must create the scoreboard ( |
`package miniprueba; import fr.minuskube.netherboard.Netherboard; public class ScoreBoard implements Listener{
}` Ok. It is assumed that now I would have to change the text of the score, but how do I get it back to the text of the previous score? |
. |
Hi, how could I make an animated scoreboard using your API?
The text was updated successfully, but these errors were encountered: