I'm gonna give it a try.
I don't know but it doesn't seem to work, because the onPlayerRespawn event seems to be the moment you click spawn and you cannot get any effects...
I will try to do it. :)
I think checking for the move event is better because I want to cancel the teleportation too if you get hit and change your location.. Thank you...
I will try this thank you. Edit: Thanks for this it finally works now. But I still have another question how can I do that the countdown stops...
No if it's declared as final, it doesn't change the number there and the waitingTime--; won't work.
Thank you for the fast answer, I can't try it now because I am in school but I will test it when I am at home. :) There's still a problem that's...
Hello guys I tried to make a plugin which ports you to your bed after 5 seconds. The teleportation costs exp and right I have the following...
Okay I added the code and it works now. Thank you, this helped me alot :) This topic can be closed now.
It is linked to the config.yml and if the number is changed there i want to change the default runs to the number which is given there, couldn't I...
Thanks for your help. :) I will request when I successfully finished my Plugin or if i have another problem there. I Have another problem now....
Hello community, I tryout creating plugins and i have a problem creating my first command. The command is /mob and it should have 2 arguments the...
Hey, I'm gonna try to create it tomorrow. I will reply if I finished or didn't. Whatever I try doing it.
Separate names with a comma.