Player Region Grouping API #380

Closed
opened 2025-07-03 19:38:35 +02:00 by codeHusky · 2 comments
codeHusky commented 2025-07-03 19:38:35 +02:00 (Migrated from github.com)

On large SMP servers, players may go AFK for a considerable amount of time to farm items from their mob farms. Keeping these players in the standard consideration for region creation seems a bit unnecessary as these regions are sometimes far from other players. or otherwise can get unexpectedly merged with other regions and drastically impact performance.

Describe the solution you'd like.

If there was an API you could use on a Player to put them into a sort of region group, where all players in that group are prioritized to be put on the same "region" to be ticked together, and as a result only affect the performance of others also AFKing, that could be nice. This could also be helpful for giving something like giving players who are engaged in combat, low on health, etc, a priority region for higher TPS to help prevent their death.

Of course, this API wouldn't "force" the players to be grouped into a specific region, it would just encourage the regionizer to group players with the same "region group tags" together.

Describe alternatives you've considered.

At the moment, I'm just kicking AFK players as our rules don't allow it. I think this suggestion could have utility outside of simply managing AFK players, though.

Other

No response

### Is your feature request related to a problem? On large SMP servers, players may go AFK for a considerable amount of time to farm items from their mob farms. Keeping these players in the standard consideration for region creation seems a bit unnecessary as these regions are sometimes far from other players. or otherwise can get unexpectedly merged with other regions and drastically impact performance. ### Describe the solution you'd like. If there was an API you could use on a Player to put them into a sort of region group, where all players in that group are prioritized to be put on the same "region" to be ticked together, and as a result only affect the performance of others also AFKing, that could be nice. This could also be helpful for giving something like giving players who are engaged in combat, low on health, etc, a priority region for higher TPS to help prevent their death. Of course, this API wouldn't "force" the players to be grouped into a specific region, it would just encourage the regionizer to group players with the same "region group tags" together. ### Describe alternatives you've considered. At the moment, I'm just kicking AFK players as our rules don't allow it. I think this suggestion could have utility outside of simply managing AFK players, though. ### Other _No response_
Trard commented 2025-07-07 11:48:05 +02:00 (Migrated from github.com)

sounds nice

sounds nice
ocelotpotpie commented 2025-12-25 04:49:14 +01:00 (Migrated from github.com)

This doesn't really work with the current design of Folia.

This doesn't really work with the current design of Folia.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Minecraft/Folia#380
No description provided.