Accounts.createUser create other filed

Accounts.createUser({username:username,password:password,money:0})

how to create

Have a look at onCreateUser:

Accounts.onCreateUser((options, user) => {

I just used it. It receives a user object with the mongo _id, so if you want you can create a second table with your app’s user info, containing a matching _id field for easy lookups.

It also lets you update and return the user object in case you want to save all user data in the Meteor Mongo users table.

thanks
:grinning::grinning::grinning::grinning: