Skip to content

Add more API methods to get server's tick times #10447

@molor

Description

@molor

Is your feature request related to a problem?

Yes. Currently there's no method in API to get NMS tickTimes10s and tickTimes60s
Server#getTickTimes returns only tickTimes5s.

image

Describe the solution you'd like.

Deprecate Server#getTickTimes() and instead add methods like getTickTimes5s(), getTickTimes10s() and getTickTimes60s().

Describe alternatives you've considered.

Add Server#getMSPT() (just copy the logic from mspt command and return same double array).

Other

Currently I'm getting these values using Reflection API, and it's very inconvenient...

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureRequest for a new Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions