Character creator
kcds.ui.CharacterCreator opens the game's character stage, with a panel of choices next to the figure.
// client kcds.ui.CharacterCreator.open({ title: 'Who are you?', genders: 'both' }); kcds.core.Events.on('characterCreatorClosed', (appearance, reason) => { if (reason === 'accepted') { kcds.core.Events.toServer('saveLook', appearance); } });
It changes nothing itself. Send the accepted look to the server and apply it with player.setAppearance
(Players).
Reference: CharacterCreator.