PlayerManagerImpl

Thread-safe player manager implementation.

Constructors

Link copied to clipboard
constructor(transferServiceProvider: () -> PlayerTransferService?)
constructor()

Functions

Link copied to clipboard
fun add(player: ProxyPlayerImpl)
Link copied to clipboard
open override fun all(): Collection<ProxyPlayer>
Link copied to clipboard
open override fun get(id: UUID): ProxyPlayer?
Link copied to clipboard
open override fun getByName(username: String): ProxyPlayer?
Link copied to clipboard
fun getOrCreate(id: UUID, username: String, language: String = "en-US"): ProxyPlayerImpl
Link copied to clipboard
Link copied to clipboard