@mythbusterma How should I do it instead?
Hello! Been searching all day on how to loop through an area & fill it with air with a delay. The part of looping though an area isn't that hard...
... The minute you said that I found out that I forgot that... Well there goes my reputation xD. Thanks for the reply :)
Hello all, Been a while since I've coded and I wanted to pick it up again. So I wanted to make a simple generate plugin and I use my older plugins...
Try to put your random method in your event. Because the random method needs to be triggered before it can generate a random integer.
@BaconStripzMan I know the simple java, but I'm overseeing something I'd guess. :s @mythbusterma After debugging it I saw the key is being set...
@mythbusterma Yeah, that's what I'm trying to figure out..
@mythbusterma Well. I have actually. 3 people to be exact.
@mythbusterma Why doesn't it fullfills the condition for it?
@mythbusterma Hmm, I have changed it to " } else { " instead of having the two if statements and I removed the return;. Not sure if you meant...
@mythbusterma So you basically say I have to remove the return; statement?
@mythbusterma It is in a PlayerJoinEvent. And It runs "if(!(map.containsKey(ip))){" but it doesn't run the "if(map.containsKey(ip)){". That's the...
@mythbusterma Yeah I figured it out myself a bit. But it doesn't really work. HashMap<String, Integer> map = new HashMap<String,...
@teej107 Ahhh, good idea! Can you make me a little example, you can leave the code for getting ip etc out of it. Just use words :P
@teej107 Nah, I more likely going to set an amount of players who are able to join on a single IP.
Hello, I was wondering, what is the best way to store a players IP when they log on and remove it again when they log off? (Just for checking if...
@TheDiamond06 Set the amount in your ItemStack to 1. ItemStack CommonCrate = new ItemStack(Material.CHEST, 1); And after removing the item you...
Hello, I'm spawning an item on a block but the item always goes to the very edge of the corner. I try to teleport it to the middle of the block...
@1Rogue I still have the same problem, it only generates a part of it or if I set a corner on a differen location it doesn't do anything. I have...
@1Rogue is there another way to do so xD?
Separate names with a comma.