package Ġcom . xe th ly x . rob lo xs ync . b ungee Ċ Ċ import Ġcom . google . common . io . Byte Streams Ċ import Ġnet . md _ 5 . b ungee . api . connection . Prox ied Player Ċ Ċ object ĠMessaging Helper Ġ{ ĊĠĠĠ Ġfun Ġupdate Username ( player : ĠPro x ied Player , Ġusername : ĠString ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġout Ġ= ĠByte Streams . new Data Output () ĊĠĠĠĠĠĠĠ Ġout . write UTF ( username Ġ?: Ġ" off ") ĊĊĠĠĠĠĠĠĠ Ġplayer . server . send Data (" rob lo xs ync : nickname ", Ġout . toByteArray ()) ĊĠĠĠ Ġ} Ċ }