#getCurrentItem() is the method you want from that event.
@OllieGardner PacketContainer chest = new PacketContainer(PacketType.Play.Server.BLOCK_ACTION); chest.getBlocks().write(0,...
It's half written but I went back to school this week. I'll get it to you when I can, maybe this weekend? ;)
@Trevor1134 thank you for acknowledging the thread, would hate to steal your thunder. @Hergarian I'll get to this soon and I'll have an update...
You can do this by default in Bukkit
Try using a manifest and placing the twitter4j JAR in your plugins folder
@meguy26 I've written it. I'll upload it when I get home
@DogeDebugger @meguy26 I'll take over and do it with YAML. Playernames not uuids.
@mrCookieSlime that's why I'm not doing it. I'll wait until it's been at least a week if not more.
@Hergarian I could but I don't want to steal it from @Trevor1134
@TheGamesHawk2001 you are making your config static. Make a #getInstance() method in your Main and have it return an instance of your plugin. Then...
Use the InventoryClickEvent with #getPlayer()
Another problem with your code is that if you try to interact with any item in any inventory other than the one named "Are you sure?" It won't...
Is your listener in your Main class?
Your config could be null.
Separate names with a comma.