Best method to store varaibles! MySQL vs Variables

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

RogerDodg3r

Member
Nov 17, 2018
3
1
3
Hello!

I am currently working on large PRG project. I need to find a best way to store player's variable. YML files could cause some lag due to accessing to hard drive, even after optimization:

Code:
set yaml value "level" from file "varaibles/players/%first character of player%/%player%.yml"

Variables shown below, is way faster than storing variables in YML but i am afraid that this could cause some lags after storing min. 40 variables per player.

Code:
{level::%player%}

I was hoping for MySQL database since I use SQL in python i thought this could save my ass but i could not find a performance information.

If someone know how could I could save my variables please leave comment below(If you are not experience skripter, please don't post anything :emoji_slight_smile:).

Have nice one!
MrJuliusz
 
Status
Not open for further replies.