When a player dies and triggers the PlayerDeathEvent, how do I force them to respawn?
I fixed it but thanks.
Every time a player joins the server, I check to see if the amount of players is above the set minimum. If so, I do stuff like generate worlds and...
Bukkit.getWorld(name) != null returns false even if the world is there And Bukkit.getWorld(name).getName() gives an error when the world isn't...
How do I check to see if a world by a certain name is in the server folder?
Is it possible to remove the old terrain in a certain area and replace it with a new random terrain? I believe chunks would be involved but I...
How do I go about creating randomly generated worlds? Would it be something like this? WorldCreator wc = new WorldCreator("RandomWorld");...
I happen to trying to do the same thing, but this says myTask may not have been initialized, any ideas? final int myTask =...
I plan on making a game plugin, something simple, maybe a fighting game, last person alive wins. When enough people join the server, they teleport...
Oh duh thanks a bunch!
Okay thanks and wouldn't it be getServer().getOnlinePlayers().length ?
How do I perform an action when a certain amount of players join the server? I looked for a method to get the amount of players on the server in...
Wait no that won't work! The player.teleport method only takes one argument right? EDIT by Moderator: merged posts, please use the edit button...
I would like to be able to, for example, move the player from the normal world to the nether world, and I would have to imagine that it is...
I am making a plugin that whenever it is enabled, it creates a hollow cube at a specified point on the map. For some reason it doesn't always work...
S1llySausage Yeah, that's what I ended up doing. It would have been much nicer to not have to worry about that but it will have to do. Thanks...
In my plugin, I set the spawn location when the plugin is enabled using this, World world = Bukkit.getWorld("world");...
there is no 1.3 yet! tell me why!
I am using the PermissionsBukkit plugin and I have this written in the permissions.yml file. http://pastebin.com/YjgEMLPY Neither of us can...
It's a little different but still doesn't work and yes I am using PermissionsBukkit here is the link: http://pastebin.com/44J7Dm03
Separate names with a comma.