Clear items in inventory by player.getInventory().clear();
bump Question abandoned. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
"Get the names of the people with the top kills and order them when they execute the command." That's what I want to know how to do. I have a...
http://bukkit.org/threads/chunkgenerators-blockpopulators-faq.22795/
How does this help? This saves kills to a config file and if you do /leaderboard it shows top 10 and it also shows your rank EDIT by Moderator:...
Hello, I currently am looking for a way to make a leaderboard. It will arrange all the "kills" in order and will show the players name. The...
Watch PogoStick29Dev and learn how to make a game, then figure it out from there.
So I would do it by doing this: http://i.stack.imgur.com/VwTxr.png
Just to clarify, to change compilation versions, you completely change your Java version and than right click properties and go to Java Build...
I have tried compiling it in Java 6,7, and 8. It's not working... I have completely removed Java from my PC four times over this matter.
Java 6 was giving the server problems, and at this point, I am going to change hosting services.
The server runs on 7
StringBuilder builder = new StringBuilder(); for (String s : staffPermisions) { builder.append(s); } String combinedStrings =...
Hey, I have been doing Bukkit for some time now, and this error has came upon me. 01.02 12:47:28 [Server] INFO Caused by:...
Don't use null for Armor, use Material.AIR.
This is the wrong section....
There are many types of methods http://docs.oracle.com/javase/tutorial/java/javaOO/methods.html Learn basic java
There is no getTokens() method for Player. You also said that if a player has not enough tokens, you will give it to them... I am not sure what...
No problem! Types: http://jd.bukkit.org/rb/apidocs/org/bukkit/entity/Horse.Variant.html
So you would go on entity damage event, @EventHandler public void onEntityDamage(EntityDamageEvent e) { Entity entity = (Entity) e.getEntity(); if...
Separate names with a comma.