Supported by CRC
Character creation menu that follows the character selection menu.
- CRC DB
- CRC Instructional Buttons
- CRC Native Menu
- Login Plugin (Choose 1)
- CRC Appearance
- CRC Preview Character
Highly recommended to get the extension, for better event handling.
-
Create a folder in your
src
folder calledcrc-create-character
. -
Add the
TypeScript
files from this resource, to that folder. -
Modify
server.toml
and ensure it loads whatever you named the folder.
In the case of the example above it should be crc-create-character
.
resources = [
'crc-db',
'crc-native-menu',
'crc-instructional-buttons',
'crc-discord-login',
'crc-create-character'
'watch-resources'
]
Your resource structure may vary
- Selection will immediately follow the login plugins.
- A selection event or creation event will be pushed after selection.
This is called after the Appearance
data has been written to the Database.
alt.on('crc-create-character-finish', (player: alt.Player, _id: string) => {
console.log(`Their MongoDB 'characters' document ID is ${_id}`);
})