Skip to content

Feature Request: Improve ecosystem stability by not relying on private TPS field #34

@A248

Description

@A248

Paper has had an API to obtain the TPS for a long time now. Accessing TPS values appears to be the only place in which Server-Expansion relies on server internals.

Server-Expansion should use Paper's TPS API where it exists, and fallback to reflection for servers running without the method.

Doing so would mean Server-Expansion is not liable to break in the case of changes to server internals. A recent example is 1.17. Generally, it is much better for plugin software not to rely on internal fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions