Help with MongoDB in java

Status
This thread has been locked.

UTF

Premium
Feedback score
3
Posts
115
Reactions
32
Resources
0
Hey, im trying to connect to a mongo database in a plugin but i cant figure out how to do it. If you can help me add me on discord: UTF#0393

P.S: not offering money just wana know how to do it

Cheers, sqldatabase.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

PTech

Feedback score
6
Posts
422
Reactions
261
Resources
0
One - If you're a developer, read the documentation, it's literally the easiest thing to do --pretty sure they even give examples.

Two - don't use mongo.

Three - If you're not a developer, refer to the developer of the plugin so that they can assist you.

There. Problem done.
 

Dori

Full Stack Developer
Supreme
Feedback score
28
Posts
459
Reactions
198
Resources
0
One - If you're a developer, read the documentation, it's literally the easiest thing to do --pretty sure they even give examples.

Two - don't use mongo.

Three - If you're not a developer, refer to the developer of the plugin so that they can assist you.

There. Problem done.

It is proven that Mongo is much faster than SQL, also, it can be much better for many things to do with Minecraft.
For example, to check if a person has completed an achievement, SQL would require creating a column for every achievement when in Mongo you can just add the value to the JSON.
 

PTech

Feedback score
6
Posts
422
Reactions
261
Resources
0
It is proven that Mongo is much faster than SQL, also, it can be much better for many things to do with Minecraft.
For example, to check if a person has completed an achievement, SQL would require creating a column for every achievement when in Mongo you can just add the value to the JSON.
Yeah. But it has been proven many times that the way mongo comes pre-packaged is very unsafe, and can cause data corruption. And also, not sure what you mean by "every achievement", so I can't really answer that.
 
Status
This thread has been locked.
Top