Skip to content
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

9.1.2 Release #244

Merged
merged 10 commits into from
Nov 30, 2024
Merged

9.1.2 Release #244

merged 10 commits into from
Nov 30, 2024

Conversation

MrDave1999
Copy link
Owner

No description provided.

MrDave1999 and others added 10 commits November 28, 2024 19:12
This middleware was used to inject the player entity into the OnPlayerPauseStateChange callback, but it is no longer needed because YSF is not used.
This new system doesn't immediately detect when the player is paused. Instead, it identifies a paused state when the player (client) stops sending information packets to the server for 4 seconds.
chore: Remove YSF plugin for AFK detection
…nline (#241)

The player pause status check timer was running even when no players were online, leading to unnecessary server resource usage.

Current behavior:
* The timer starts only when there are players connected to the server
* The timer stops when there are no players connected to the server
…ne (#243)

This change ensures that the map rotation timer only starts when there are players online, preventing unnecessary processes from running when no players are active. This also avoids creating unnecessary logs when the filterscripts are loaded/unloaded.

Current behavior:
* The timer starts only when there are players connected to the server
* The timer stops when there are no players connected to the server
@MrDave1999 MrDave1999 merged commit 4a3ddee into main Nov 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant