Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disable player.dat saving / creating

Comments in 'Plugin Development' started by MyNameIsTriXz, Sep 27, 2016.

  1. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Should I disable the storing of player .dat files? Each player file takes around 2 kB, means that when my server has 1.000.000 players, then it will take 4 GB... too much. Btw whats the usage of these files and is your player.dat storing disabled?
  2. HotFireyDeath
    Offline

    HotFireyDeath Notable Member Plugin Developer

    Joined:
    Mar 19, 2015
    Posts:
    328
    Plugins:
    1
    Minecraft User:
    HotFireyDeath
    The player.dat file stores general player data, such as inventory, location, health, and other personal attributes.
    If you disable player.dat saving, you'll need to find some other way to retain their data.
    MyNameIsTriXz likes this.
  3. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Ah thx, I think I can delete it because I have a minigame server.
    HotFireyDeath likes this.
  4. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    you could by using a plugin who delete then every shutdown or something
    but i believe there better methods
    MyNameIsTriXz likes this.

Share This Page

Advertisement