String s = ""; // first create an empty string for (int i = 0; i < args.length; i++) { // loop through all arguments if (i > 0) { // is true...
Can you show us the code where you register the event? And please double check if you are somehow registering the event multiple times.
You are getting the killer of the player even if he did not die by a player. you could do it more effective you can simply fix it by changing...
You have to reset the score. The best way to do this to store the entry in a string and then reset it when you create the next entry....
cast the entity to a TNTPrimed and use TNTPrimed#setFuseTicks you set it to an int which is in ticks (1 second = 20 ticks)
@samyounes03 the stacktrace would be really helpful. But if i had to guess i would say the error is in the Integer#parseInt or ind the...
If still not resolved here is the corresponding thread including a tutorial on how to use it:...
@ElCreeperHD I agree with @AdamQpzm. You need to format your code. Because it is nonsense right now (take a close look at the brackets).
try renaming one of the packages
@SrNicks_ what do you mean by "take the player"
I think you should read through: https://bukkit.org/threads/tutorial-scoreboards-teams-with-the-bukkit-api.139655/ Because you have some really...
Can you give us the full error and the code this is related to(addExperience method)?
@FisheyLP You have to press this button and then follow the tutorial. [IMG]
@FisheyLP Still not working? You have to create a new launch configuration (button is topleft) (blanc paper with yellow plus)
https://bukkit.org/threads/tutorial-remote-debugging-with-bukkit.92081/ it's a bit limitated but it works.
Separate names with a comma.