Solved What is better?

Discussion in 'Plugin Development' started by Desle, Jul 26, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Desle

    Alrighty, I have a question..

    What is better? Directly loading from a yml file, or loading ALL of a player's info from a yml once at the start, so I don't have to keep loading from the yml?
     
  2. Offline

    valon750

    Desle

    Definitely loading all information at the start, allowing you to refer to it at a later date.

    It can however slow things down when the plugin is enabling, assuming there was a lot of information to load, however the payoff is acceptable in the long run.
     
    Desle likes this.
Thread Status:
Not open for further replies.

Share This Page