Cuberite Forum
Login - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html)
+--- Thread: Login (/thread-811.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: Login - deepdream - 02-16-2021

Hello, thank you for your contribution. I encountered a problem. After the player logs in and is teleported to the last position, he will take damage. what is the problem?


RE: Login - NiLSPACE - 02-18-2021

I'm not receiving any damage when logging in. Are you perhaps in the air or something while logging out?


RE: Login - deepdream - 02-21-2021

(02-18-2021, 07:31 PM)NiLSPACE Wrote: I'm not receiving any damage when logging in. Are you perhaps in the air or something while logging out?

It should be because I was too close to the wall. After logging in again, I was stuck on the wall and then died.

I added the code a_Player:SetInvulnerableTicks(3) before teleported, solved this problem.


RE: Login - NiLSPACE - 02-25-2021

Sorry for the late reply, I've been a bit busy with work. Could you create a pull request for that? I suspect others would like to not die as well Smile


RE: Login - Jmaniacs - 06-02-2021

HI, how to change the time until the user gets kicked if he dont put a pass? im getting kicked too early


RE: Login - Jmaniacs - 06-02-2021

(06-02-2021, 04:14 AM)Jmaniacs Wrote: HI, how to change the time until the user gets kicked if he dont put a pass? im getting kicked too early

Forget this, as i see that at the moment of login u start at a position then getting back to yours last. How to modify this login-temp-spawn position?


RE: Login - NiLSPACE - 06-02-2021

The plugin sends the player to the current world's spawn. If you want to change that you'd have to modify the code here by changing the individual GetSpawnXYZ() with custom coordinates.