Jump to content

[1.8] PlayerLoggedInEvent: When is it called?


Kander16

Recommended Posts

Hi,

 

When is the playerLoggedInEvent called? Before the world has loaded or after?

If it's called before the world is loaded, how to change it so that it's after the world has been loaded.

I'm trying to add a version checker into my mod, and I'm using playerLoggedInEvent for sending a message to the player when the player is logged in.

But I think that if you've a very bad connection, it takes very long to load the message from a file on the server and the world will not load before the message is loaded.

I want to have the message loaded completely after everything else.

Creator of the Master Chef Mod and many more to come.

 

If I helped you, please click the 'thank you' button.

Link to comment
Share on other sites

My opinion: totally wrong place to do such checks. I can't really imagine why version checker should fire from said event.

 

Do you want to add version checker for your MOD?

In that case - forge already gives you one, please use it.

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.