I've made one yesterday for my server, if you want the jar pm me
hmm they aren't null but maybe this causes the problem, here are some examples of items in the list 1 2 3 4 5 5:1 5:2 5:3 I could do...
hmm this is the code player.getInventory().addItem(new ItemStack(randomItem, 1)); Whole method: public void giveRandomItem(Player player)...
I ran the new code again and it still doesn't work D: Here's the latest StackTrace 13:06:22 [INFO] lucamasira issued server command: /giverandom...
line 90 is giveRandomItem(player); and line 80 is e.printStackTrace(); from my firstRunCheck method(Exception when user creates a file in this...
Hmm it's just an for loop :/ but whatever here's the code public void giveRandomItems(Player player, int amount) { for(int count...
Here's the method that loads the items public void loadItems() { try{ FileInputStream fstream = new...
Okay so I'm making this plugin where I use a chat command, I have more plugins that use chatcommands and they all work but this one doesn't...
Okay so basically my whole plugin is done except one thing. I use the scoreboard API to make scoreboards. I want to make a scoreboard for every...
line 268 is if((int)p.getInventory().getBoots().getEnchantmentLevel(Enchantment.DURABILITY) == 1) I've also tested it that it just returns a...
I already did a check to see if the player had armor on him before calling the method :/
okay so with my first plugin it checks which kind of armor you have(unbreak 1 = light, 2 = medium and 3 = heavy). It then returns a number that im...
Will this work if there are 40+ people on or will it leak too much memory? Solved the problem, I used this tutorial [media] EDIT by Moderator:...
Okay so I'm working on my first plugin I only need 1 more thing to finish it. What it basically does is enable fly when you put up special...
Separate names with a comma.