You can make your player pack dependent on users.
Players.register(function(app, auth, users, database) {...});
Now you have access to the database and you can load the user schema using
var userModel = database.connection.model('User');
and you can use the schema.add function to extend the schema
userModel.schema.add({ scrore: 'string'});
This should add a rating field to the user model.
I think this might work for you. But I was told by a member of the mongoose team that schema.add only works until the model is compiled. See this link for more information on the add scheme http://mongoosejs.com/docs/api.html#schema_Schema-add
source share