"world_name/players" (delete?)

Discussion in 'Archived: Plugin Requests' started by nTiger, Jan 12, 2013.

  1. Offline

    nTiger

    Hi, I need to block "player.dat" from being generated/made

    as it's useless on my server. Is there a way to block it or remove it ?

    After like 1K people it starts to take a bit of space %_%.
     
  2. Offline

    Bubelbub

    xD
    Easy doing (on linux):

    touch player.dat
    chmod 0444 player.dat
    chown root: player.dat

    (as root)

    Then the minecraft user couldnt change the file ;)
    On windows it is the same.
    But not chmod etc.
    There you must change the Security Settings and start the server with other user!
     
  3. Offline

    ZachBora

    Bubelbub, player.dat isn't 1 file, it's a folder with each player's name with .dat. He'll need to set permission on the players folder.
     
  4. Offline

    lordaragos

    Regardless, it's much easier to do so on a linux machine..

    What OS are you running the server on?
     
  5. Offline

    nTiger


    It's an linux debian,

    but wait a sec, does chests saves in to players/name.dat file ?
     
  6. Offline

    stuntguy3000

    What do you mean by chests?
     
  7. Offline

    caxco93

    why dont you test it... it would take like 1 minute tops
     
  8. Offline

    ZachBora

    Of course chests don't save in player dat files. Except maybe the ender chest.
     
  9. Offline

    Kodfod

    I don't think there is a way to block the creation of the files... is there?

    Like stated above you can always delete it... But don't do it while that player is online.... however a plugin can check for offline players, and delete the files. (not sure how that would effect the server while the player is offline. Don't think anything weird would happen...)
     
  10. Offline

    ZachBora

    When the player logs off, delete his file. Or on server start.
     

Share This Page