MongoDB Loader Plugin FAQ
10 questions players actually ask, answered.
Do I need to install MongoDB on my server to use this plugin?
No, MongoDB Loader Plugin only provides the connection tools and file management that other plugins need. You'll need to set up an actual MongoDB database separately, but this plugin handles the communication between your server and that database.
My plugin keeps crashing when it tries to save player data. How do I fix it?
Make sure MongoDB Loader Plugin is loaded before your data-saving plugin by adding it to your plugin.yml dependencies. If you're saving very large amounts of data at once, the plugin will prevent timeout errors automatically, but check that your database connection settings are correct.
What's the difference between depend and softdepend in plugin.yml?
Use `depend:` if your plugin absolutely cannot run without MongoDB Loader Plugin—the server will fail to start if it's missing. Use `softdepend:` if your plugin works fine on its own but can use database features when MongoDB Loader is available.
Can I use this plugin with plugins that don't support MongoDB?
Yes, MongoDB Loader Plugin only affects plugins that are specifically coded to use it. Other plugins will ignore it and work normally.
How do I know if MongoDB Loader Plugin is actually running?
Check your server logs when it starts up—you should see a message confirming the plugin has loaded. If other plugins that depend on it are loading without errors, MongoDB Loader is working correctly.
Will this plugin slow down my server?
No, MongoDB Loader Plugin runs in the background and only handles file loading and database connection setup. The actual performance impact depends on how much data your other plugins are storing, not on this plugin itself.
What happens if I remove MongoDB Loader Plugin after other plugins are using it?
Any plugin with `depend: [MongoDBLoader]` will fail to load and your server may not start. Plugins using `softdepend` will still work but lose their database features.
Can multiple plugins use MongoDB Loader Plugin at the same time?
Yes, that's the whole point—MongoDB Loader Plugin is designed to supply database tools to all your plugins that need them simultaneously.
Do I need to configure anything in MongoDB Loader Plugin itself?
No, MongoDB Loader Plugin works out of the box. Configuration happens in the individual plugins that use it—they tell MongoDB Loader how to connect to your database.
What should I do if a plugin says it can't connect to the database even though MongoDB Loader is installed?
Check that your MongoDB database is actually running and accessible from your server. Verify the connection details (host, port, credentials) in the plugin's configuration file, and make sure MongoDB Loader Plugin loaded before that plugin in your server logs.