package Ġcom . r pk it . experience . bukkit . listener Ċ Ċ import Ġcom . r pk it . characters . bukkit . character . RP K Character Service Ċ import Ġcom . r pk it . core . service . Services Ċ import Ġcom . r pk it . experience . bukkit . experience . RP K Experience Service Ċ import Ġcom . r pk it . players . bukkit . profile . minecraft . RP KM inecraft Profile Service Ċ import Ġorg . bukkit . event . EventHandler Ċ import Ġorg . bukkit . event . Listener Ċ import Ġorg . bukkit . event . player . Async Player Pre Login Event Ċ Ċ class ĠAsync Player Pre Login Listener Ġ: ĠListener Ġ{ ĊĊĠĠĠ Ġ@ EventHandler ĊĠĠĠ Ġfun Ġon Async Player Pre Login ( event : ĠAsync Player Pre Login Event ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġm inecraft Profile Service Ġ= ĠServices [ RP KM inecraft Profile Service :: class . java ] Ġ?: Ġreturn ĊĠĠĠĠĠĠĠ Ġval Ġcharacter Service Ġ= ĠServices [ RP K Character Service :: class . java ] Ġ?: Ġreturn ĊĠĠĠĠĠĠĠ Ġval Ġexperience Service Ġ= ĠServices [ RP K Experience Service :: class . java ] Ġ?: Ġreturn ĊĠĠĠĠĠĠĠ Ġval Ġm inecraft Profile Ġ= Ġm inecraft Profile Service . getM inecraft Profile ( event . unique Id ). join () Ġ?: Ġreturn ĊĠĠĠĠĠĠĠ Ġval Ġcharacter Ġ= Ġcharacter Service . getActive Character ( minecraft Profile ). join () Ġ?: Ġreturn ĊĠĠĠĠĠĠĠ Ġexperience Service . load Experience ( character ). join () ĊĠĠĠ Ġ} Ċ Ċ }