[SUPPORT] How have you all created your banking systems for servers if you run one?
-
Hello everyone, I'm fairly new to modding on plutonium and am running into quite a bit of issues getting a banking system to work. What are some of the solutions you have come up with if you run a banking mod? As my current build / mod currently saves the bank data temporarily and isn't a persistent save. Any advice / tips would be great!
-
i use an sql database for all external data / stats (player data/info, kills, stats, high rounds, time, server status, player count, server use, reset times, etc)
I used the fileIO method but the database got way too big and bogged down. It was also cumbersome to sort through and very slow. SQL is super fast and easy to sort and the best part is the work is done off server and then sent to whatever source asks for it (in game, the discord bot, webpages, etc)It was a must for the number of entries my database quickly grew to.
Edit: it helps that i was very familiar with SQL but if you are not, i think it is a relatively easy thing to learn and popular enough that any simple google search can yield the results you need on the proper way to word queries.
-
i use an sql database for all external data / stats (player data/info, kills, stats, high rounds, time, server status, player count, server use, reset times, etc)
I used the fileIO method but the database got way too big and bogged down. It was also cumbersome to sort through and very slow. SQL is super fast and easy to sort and the best part is the work is done off server and then sent to whatever source asks for it (in game, the discord bot, webpages, etc)It was a must for the number of entries my database quickly grew to.
Edit: it helps that i was very familiar with SQL but if you are not, i think it is a relatively easy thing to learn and popular enough that any simple google search can yield the results you need on the proper way to word queries.
DirkRockface Ah okay, That is what I was trying to get setup but I never figured out how to get the game to pull any data from the SQL. I had the data going to the SQL no problem lmao, I have some experience from running my own FiveM servers but this isn't quite the same
-
Update, Just found your response to Dec for Clipstone and found the SQL Setup guide you sent him in the comments. Gonna give that a try thanks for the tips / info!
-
Let me know if you have any issues, happy to help... i'm on Plutonium's Discord, same name!