Can someone make a plugin that after a player dies a SET (default: 9) amount of times, they are sent to somewhere in the Nether (you'd specify the map name).
This sounds very interesting. After being sent to the Nether, they should be able to get back through a portal on the other side of the nether, in plain sight. (configurable ingame?)
could do a counter so it counts deaths++; and then on the ninth.. it spawns them in world = nether :/ and resets the death counter!
ill have a go. But the initial release. There will be no config. Nether world will need to be called Netherworld
Yeah I actually am doing this iPhysX If you want in your are welcomed to help. I haven't gotten very far just started it yesterday. Basically, what @GeekPlaya described isn't the main function, but what will be is that the whole purpose is being able to ban or kick people to the nether. Possible features could include configurable ban/kick on deaths as you have described, kicks will be being able to get back through a portal, banning will be you won't, mute on ban (configurable), ban/kick on blacklisted items, and probably some others I haven't thought of
Couldn't you craft a deaths.log and for each player, it will subtract the lives from 9 or whatever and once it reaches 0, reset and kick to nether? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
@Walker Crouse just have a counter running declare Code: int deaths = 0; int x = 100; int y = 20; int z = 3; Code: PlayerDeath(PlayerEvent event){ if (player.isDead()){ deaths++; } Code: PlayerRespawn(PlayerRespawnEvent){ if (deaths >= 9) { //code to send to nether player.getServer().setWorld("netherworld"); player.setLocation().BlockX(x); player.setLocation().BlockY(y); player.setLocation().BlockZ(z); player.sendMessage(ChatColor.RED + "You used your last life. Bitch!"); deaths - deaths; // resets the deathcount } else { //else code maybe a message? } Something like that i would assume
or you could have them both on the respawn event! Code: PlayerRespawn(PlayerRespawnEvent){ if (deaths >= 9) { //code to send to nether player.getServer().setWorld("netherworld"); player.setLocation().BlockX(x); player.setLocation().BlockY(y); player.setLocation().BlockZ(z); player.sendMessage(ChatColor.RED + "You used your last life. Bitch!"); deaths - deaths; // resets the deathcount } else { deaths++; } ok Code: int deaths = 0; this is the integer deaths.. deaths++; simply adds 1 to the integer. and when it gets to 9.. we can reset it by Code: deaths - deaths; EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I got the ++ part xD I code PHP, vb.net, HTML, CSS, JAvascript, and yeah... so I can understand what you guys are talkin about