You could store the block that the player is in inside a variable then periodically check if they have moved out of that block, if they have then...
AdamQpzm Necrodoom Alright, thanks. Forgot it might be managed by the individual plugins. As for that "lightweight" justification AdamQpzm, I...
Hey, I am making a MySQL-based permissions plugin using http://wiki.bukkit.org/Developing_a_permissions_plugin as a guide but am wondering how...
will181 That was still removing the whole itemstack RingOfStorms Thanks, with a few small tweaks that works perfectly :)
Just tested the code Seems to be returning false even if the player does have snowballs in the inventory for some reason. Any suggestions?...
will181 Would you be able to provide an example of how you would attempt this. What you suggested is similar what I am doing in lines 10 - 13....
thomasb454 Debug lines for what? All the code that should be getting executed is getting executed, the gun fires and it removes the snowballs from...
thomasb454 Its in the original post, line 13; p.updateInventory()
thomasb454 I am using it in the code, doesn't work. I know alot of the depreciated methods do still work however in this case it doesn't seem to...
thomasb454 "The updateInventory() method is depreciated and doesn't seem to work any more, anyone have any tips on a workaround?" I have that...
Hello, I am making a paintball plugin for my minigames network and part of it allows the user to purchase a shotgun which fires 9 paintballs...
RawCode ZodiacTheories JuicyDev Sorry guys, fixed now
RawCode I can confirm that I have tested the hack client WeepCraft before and that does include the regen hack that JuicyDev is talking about....
JustinsCool15 That code works perfectly for left clicking with the item but it refuses to remove the last item if you right click with it for some...
This should be really simple, right?.. What I am trying to do is make it so if the player clicks with a Baked Potato it removes 1 from the...
Separate names with a comma.