I managed to convertthe qb-core framework to mongodb as a pet project. And now it is able to basically do all the functionalities. I have posted the rough draft about 2 months ago, but now I would like to open the edits and forks to all of you so you can at least get your hands on a different variant of the framework.
TMG-Manic/TMG-Mainframe: Up to Date Progress of the Project
I ran out of ideas and posted a few different theories on the implementations of it.
You can browse the source code if you are interested in a new way of coding on FiveM.
Thanks.
If this is something you think would be fun to continue working on, post your critiques down below.
Later
This is impressive work! MongoDB is definitely a solid choice for FiveM frameworks. A few thoughts if you’re looking for feedback:
- Performance: MongoDB’s flexibility with document structure is great for rapid development. Have you benchmarked query performance under heavy load (100+ players)? That’s usually where MySQL shows advantages with proper indexing.
- Data Persistence: Make sure you’re handling connection pooling properly - MongoDB connections can be resource-intensive if not managed well. Connection retry logic is critical for production.
- Migration Path: For servers running legacy MySQL QB-Core, a migration utility would be huge. Most admins won’t want to manually convert their entire database.
The native BSON integration is clean though. Definitely interested in seeing where this goes!
Have you benchmarked query performance under heavy load (100+ players)?
Not yet, my current reach for a player base is a little small and needs to be widened. It is one of those things that take time to aggregate.
For servers running legacy MySQL QB-Core, a migration utility would be huge.
That would be smart. I unfortunately re-created the entire server to be its own independent framework. So, when it comes to integrating into QB-Core that would mean rebranding it back to QB-Core and not TMGCore.
I am in the process of restyling the UI. I am going to wait until the framework pieces are completely finished at a Release 1.0.0
After that, I think I will be finished with the project and move onto a different Framework to do the same work as this.