public function setMetadata($metadataKey, MetadataValue $metadataValue) { $this->server->getPlayerMetadata()->setMetadata($this, $metadataKey, $metadataValue); }