Expanded TPS API to support MSPT #391
No reviewers
Labels
No labels
documentation
good first issue
help wanted
resolution: duplicate
resolution: invalid
resolution: won't fix
status: needs triage
type: bug
type: feature
type: performance
type: question
version: 1.19.4
version: 1.20
version: 1.20.1
version: 1.20.2
version: 1.20.4
version: 1.20.6
version: 1.21.11
version: 1.21.4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Minecraft/Folia!391
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Biquaternions/feat/mspt-region-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR includes methods to get MSPT per region.
I tried using the same naming as in Bukkit but adapted for the region logic like the TPS API was.
This re-uses the same logic as
CraftServer#getTPSFromRegionand javadocs, which means a possible improvement would be to make a separate function to get theRegionScheduleHandleto re-use in both. However, I decided against this approach since idk if that would make it less likely of getting merged.This API is useful for monitoring tools that take samples in regular intervals.
Rebased for ver/1.21.11
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.