-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Save player logout times on shutdown #3157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Even though Paper now has API to expose |
# Conflicts: # Essentials/src/com/earth2me/essentials/Essentials.java
@md678685 Your changes were applied in case you didn't notice, there is now proper fallback |
I'm assuming MD's comment here also applies to this issue. Probably shouldn't dump all of the NMS code directly into the Essentials class. |
Would want @md678685 to have a look since this is very simple reflection and deals with mapped method names, moving this to provider classes would break on every update. |
Providers != building against NMS (the |
Properly save userdata and mark the player's last logout time when the server is shutting down. Fixes EssentialsX#2764.
Properly save userdata and mark the player's last logout time when the server is shutting down.
Note: This method was added in Paper 1.15.2 and won't support lower versions unless we use reflection.
Fixes #2764