module.json
What is module.json?
You can create module.json to enable additional modules or disable not use modules. Allowing more modules will increate load time when start up the vm.
Here is default module.json
{
"gamedrive": {
"customData": true,
"virtualGood": true,
"player": true,
"room": false,
"dns": false,
"iap": {
"google": false
},
"webRequest": false
}
}
How to use module.json?
- Create module.js in root directory to control entire project
- Create module.json inside each room folder to override the root module.json
Good to know
module.json will not works when call action. So all modules will be loaded