xMakerx I belive you must use scanner.hasNext() to be sure it has a next line before getting the line.
slayr288 If you're asigning a null-returning method to a variable it's just fine, a NPE is thrown when you use a method from that pointer (whch is...
Compressions If "dbeug1/2" triggers then I suspect your 'plugin.vulture.contains(player.getName())' doesn't pass through... just for testing, remove...
I never tried this so I can't give you a code example that would work, just try listening to InventoryOpenEvent, check if inventory is CraftInventory...
Ultimate_n00b But also, the hasPermission() method is available for CommandSender as well, so casting to Player was not required at all.
Flawedspirit Send the variables as arguments... player, block, the action condition still must be checked in PlayerInteractEvent... and I really...
I see few diferences in the code, it's too repeatitive, I would convert that code into a single method and use that method in the events, it would be...
Pink__Slime You can't do it like that because it's a temporary inventory, not a storage one... that's why the items are dropped when you close...
ice374 If the iron block inventory is handled by your plugin then you need to identify the inventory (checking title for example) then get the block...
CakeProgrammer What part of before don't you get ? :/ I'm trying to understand if your event even triggers for right click air with that specific...
Ultimate_n00b Not fixed, conditions are evaluated in order, and you're casting before you're checking.
They're numbers from 0 to 255 which make a color... or you can use Color's constants directly.
rsod Like I said, there are plugins that make fake players, search for them... Here's one http://dev.bukkit.org/server-mods/virtualplayers/ but I...
Oneric-1st Since Bukkit is not built by amatures, I belive that once the task finished then Bukkit will remove any reference to the object, allowing...
StickyMan Pitch and yaw are in angles, that value is a number representing N/S/E/W, the number in the paranthesis is what you need, -178, which you...
All objects will sit in the RAM until they don't have any variables pointing to them, after that point the garbage collector will remove them when it...
loderos Is your plugin an API that other plugins use ? If not then you're wasting space by keeping deprecated methods. But I still don't see any...
JoTyler Hmm, this was also already discussed... http://forums.bukkit.org/threads/saving-inventory-temporary.145286/#post-1657340 That's how you'd be...
chasechocolate BajanAmerican JoTyler That way will only store the pointer to the player's inventory, you'll not be cloning it, therefore when...
That's because you're setting it in player's inventory which is limited to the contents of the inventory and quickbar. You need the inventory view...
Separate names with a comma.