football70500 So far as I read it, what that function, saveInventory() is doing is it is just getting the player's inventory, not the inventory...
Zer0DZN You can go about this a few ways. Hopefully you know about Hashmaps and Threads. If not, there should be other posts elsewhere that...
Avery246813579 I did tell you what I typed and it came across as an error. Also, what good would looking at my other code do you? I see no point...
Sorry to bug people, but I have looked over my code about 20 - 40 times now and I need another pair to go over it for me. The command argument...
JHG0 Possibly because you are not updating the inventories. Sorry that I am giving you a deprecated function, but it works really well. use...
xXTroopsXx Depends on what you are doing to move the block. If it is just a command, then get the x, y, and z you want to move the block to, then...
Monkey_Swag Glad to help :)
Monkey_Swag Try using something like this: If(event.getBlock().getType() == Material.GRASS_BLOCK) { //code time! }
Bump. I also want to see how this resolves.
ChroniclerBat How many, or what errors did you get? Are you getting any or is it looking fine?
I want to do a plugin where a player can teleport to another player only if the first can see and has their cross hairs on another player. How do...
Maurdekye Wolvereness I am having an issue with the divide and the distance functions. Can you help me? When I do the first code below, I get an...
Maurdekye Wolvereness Wow! Thank you both! I will have to test it out when I get a chance.
AoH_Ruthless jusjus112 AoH is correct. Right now your plugin is getting your Location "loc" from where they were before. Instead play the effects...
Norbu10 When initializing your plugin saying public class //yourclassname// implements Runnable
jusjus112 Are you talking about if another player does the teleport? Or is it when you do the teleport you can see the effect or hear the sound?...
Norbu10 Did you at least try just the implementing Runnable?
HariHD ChroniclerBat Most likely, it is in your onCommand event. I am not really sure about the cmd.getName().equals..... But I do know that if...
Norbu10 Most likely you haven't implemented runnable. Go to your header and where, on your main class you put the "extends JavaPlugin", this...
alan1099 Connor2weirdness A better way to do it would be with a for() statement along with the kick statement. The one that Connor2weirdness said...
Separate names with a comma.