You would have to store the player's kit, and then you could check what that players kit is and if it is what you want, you could have a different...
public void onPing(PingEvent pingEvent) { PingAPI.registerListener(new PingListener() { public void onPing(PingEvent event)...
It is a lot easier to use, and it is more efficient as it only tries to remove the potion effects that you actually have.
It is better to use: for (PotionEffect effect : player.getActivePotionEffects()){ player.removePotionEffect(effect.getType()); }
You might want to check their food level before adding 2, to ensure you are not setting their food level over 20. Also, you may want to create an...
The reason that this is not working is because the max food level is 20.
Yes. You could easily create a plugin that does those functions at the end of the game and when the server starts up.
nite How are you getting the player's name? Are you calling it from a method, or passing it into the method you are setting the scoreboard with?...
Epicballzy You can also just cast (int) to the double you have, and it automatically rounds it to the nearest number.
Script1996 It is because you didn't set a value for the Scores... You have only defined the Displaying Strings.
Nagynorbiii It is impossible to have the Beacon Beam without a Beacon presently there. If you want to make a particle plugin, I would suggest...
malikdbuseck It has to be onEnable not onEnabled. Other than that, it seems like it will work.
It is possible to increase the max players size. The way you would do it is by registering a Event called ServerListPingEvent, and inside the...
AdamQpzm Can you explain how to get the current time, and how to add for example 20 minutes to it and store that time? I am having trouble...
Hello Bukkit Developers, I am here today to try to find a way to have a cooldown for a kit plugin, but have it be able to keep going through a...
Separate names with a comma.