Hi, I was wondering what's wrong with this code? I expect it to put all stacks of an item it finds into a player's inventory, effectively "taking" it...
I can't figure out why these 2 lines would keep throwing an NPE: 1. for(String drug: plugin.getConfig().getStringList("drug-ids")) 2....
Hi, I'm not sure what's wrong here. There aren't any errors that I can see, but the file I'm trying to create isn't showing up. Can anyone help?...
Hello, I'm trying to write a method to reload a file, but I keep getting a NullPointerException. Can anyone help? //variables mentioned: private...
Hi, I was just wondering, I don't quite get what is stored in the hashmap for the inventory.all() method. Can someone provide a little insight?...
Hello, I'm trying to make this plugin, but for some reason, the repeating task seems to continue. Can anyone help? final int duration =...
Hi, I'm trying to make this plugin, but when the player is hit, nothing happens. Can anyone help? http://pastebin.com/3AdCtLPH Also, I'm having the...
How do I define types of potions in the config file? For instance, if I wanted to have a potion of swiftness, its id is 373:2, but a potion of...
I've run into a little problem: Is there a line of code available to remove/add back a specific permission? Any help is appreciated, thanks!
I'm having trouble getting a message to be a certain color defined by config.yml. Can anyone help? The Java file: http://pastebin.com/xQ4ZeBBN The...
Hi, I've run into a problem: I got the Core Essentials plugin, and now when I try to edit a regular sign, it just turns blank. Any help would be...
Hi! Ok, so I'm not sure what exactly is going on, but when I go onto my Bukkit server, it says I'm in the default group instead of the Owner group,...
Separate names with a comma.