@Scimiguy Thanks it worked. :D Solved!
@caderape Mine doesn't change gamemode. What my question is, what if the player quits instead of dies? Do I keep the code in both? @Scimiguy
@Zombie_Striker @MarinD99 This is my code. In what event should I put it? I think PlayerDeathEvent. for (Player p :...
@MarinD99 I meant list. Sorry :P My list stores the data of people who have died. So on player death, it adds them to the list. Once the player...
That's what I've done @Scimiguy But after that, i cant figure out how to stop the game once theres one player left. Like, it will like say,...
The title says it all. I'm making a plugin which checks if only one player is left. My complication is that I store the players who have died in a...
Hi. I'm making a UHC plugin where there is a countdown that teleports the players around the area, then disables pvp for ten minutes. (I solved...
@teej107 is it meant to be a Runnable or a BukkitRunnable? could you give me the basic structure of a bukkit runnable? I hope that's not...
I implemented some of the stuff given there, and made this. But I still can't cancel it. I can't figure out whats wrong. private BukkitTask...
@boysnnoco I have made the timers, but the problem lies on this line: int tasks = Bukkit.getServer().getScheduler().runTaskTimer(this, new...
Hi My Bukkit Task Timer doesn't seem to be working. I'm trying to make a plugin that teleports players when they join. But my task timer doesn't...
Aah, thanks a lot @teej107 and @MarinD99 :D
Thanks. I wasn't able to find much help with vectors, but I was able to get this. All I need is to check if he enters an area. public int...
Hi. I have a problem which I don't know how to solve. :P My problem is that when a player goes into a certain area, it should spawn a mob inside...
@Hawktasard thanks! It worked great! Thanks for the help. :D But I also have one problem. I'm trying to remove the bottle from his hand. Not...
Hi, I'm creating a plugin where when a player right clicks a water bottle, it check whether the player is on fire. If he is, he is no longer on...
@au2001 Oh.. Thanks! Solved it.
@au2001 Great! I tried it, but it no longer allows you to ride it. EDIT: I figured out the problem, but my original problem still isn't solved....
@au2001 I tried it, but the ender pearl just floats into the ground, and I can no longer ride it... :(
Great, but I don't know how to do that? :P Any pointers?
Separate names with a comma.