Page 1 of 1

Way to tell when all pokemon in a player's party are fainted

PostPosted: 26 Nov 2013 01:19
by Anselm
So I run a pixelmon server, and we've been having a ton of fun with the mod so far!

We were looking for maybe a way to have the player die and return to a nearby pokecenter when all their pokemon faint.

I was wondering if there was a pre setup way for us to do this, and if not how I could tell from an external plugin when all the pokemon in a party faint.

Re: Way to tell when all pokemon in a player's party are fai

PostPosted: 26 Nov 2013 09:57
by Animalol
There is not a way to set up that. If you want people to spawn in a Pokecenter, you'll just have to have the spawn point set there.
Sorry.

Re: Way to tell when all pokemon in a player's party are fai

PostPosted: 26 Nov 2013 13:04
by Anselm
I already have set the spawn point there, that wasn't what I was wanting to do. I was wanting to detect when their party had fainted, and send them there. I was wondering if there was a variable of some sort I could access in the plugin to determine that

Re: Way to tell when all pokemon in a player's party are fai

PostPosted: 26 Nov 2013 21:09
by Animalol
Like I said, that is not possible. The only way that could be made possible is if someone were to make a mod of some sort.
I don't believe that will be implemented into the Pixelmon mod.

Re: Way to tell when all pokemon in a player's party are fai

PostPosted: 15 Dec 2013 11:20
by an55432
And of course,if you dont have the gamerule in keepInventory,you may lose your stuff

Re: Way to tell when all pokemon in a player's party are fai

PostPosted: 15 Dec 2013 16:19
by LaKerfuffle
MoeBoy76 wrote:Hi Anselm,

As Animalol has said, you need either a side-mod or a plugin to get this to happen, it is possible as they do it on Pokeopolis but i don't think that they will give anyone the code for it so you are on your own from here, sorry.

best of luck,
MoeBoy76

Lol you all are completely missing the point of the post. He just wanted to get clued in as to how this could implemented in the code. I think it's a given that this would require a mod or plug-in.