Skip to content

Add getOfflinePlayerIfCached(UUID) #11644

Description

@OoLunar

Is your feature request related to a problem?

#4687 allows us to easily search the usercache.json file, however there's no UUID overload for the method even though the usercache.json file saves the player's UUID.

Describe the solution you'd like.

Adding an getOfflinePlayerIfCached(UUID) overload for the getOfflinePlayerIfCached(String) method.

Describe alternatives you've considered.

Calling getOfflinePlayer(UUID), however that has the possibility of making an HTTP request. As this method will be called upon extensively - though results could be cached - this isn't ideal.

Other

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution: awaiting responseAdditional information is required from the issue reporter

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions