World player.dat deleter

Discussion in 'Archived: Plugin Requests' started by Mysticate, Jan 20, 2014.

  1. Offline

    Mysticate

    Plugin category: UTILITY

    Suggested name: WDatLeter

    What I want: I would like this plugin to delete a players data after a kick, quit, or server restart FOR A SPECIFIED WORLD! I know there are plugins that do this, but they delete the data for the world the player was last in. There should be a config file that specifies the world(s).

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: wdat.bypass (to bypass the dat delete)

    When I'd like it by: Yesterday.
     
  2. Offline

    TrenTech

    there's only one player.dat file
     
  3. Offline

    Mysticate

    I thought there were seperate ones per world! I'm not talking about the Essentials player data.
     
  4. Offline

    timtower Administrator Administrator Moderator

    There are seperate files but only the ones of the main world actually do something
     
  5. Offline

    Necrodoom

    Mysticate There is only one per player, stored on the main world. A player can only have one inventory and location.
     
  6. Offline

    Mysticate

    Necrodoom Then how do plugins like Multiverse work? And does this mean I can delete the player data and it'll only clear your data for the main world?

    timtower Huh
     
  7. Offline

    waco001

    Essential player data is stored in the Essentials folder. Go there and delete it yourself if you want.
     
  8. Offline

    Mysticate

    waco001 *facepalm* Can you PLEASE read the thread before you throw out something I asked NOT to get?
     
  9. Offline

    waco001

    Alright :eek: I feel cheap, I didn't read the post right.
    Sorry lmao
     
  10. Offline

    Mysticate

    waco001 :p It's ok man I forgive you lol
     
  11. Offline

    timtower Administrator Administrator Moderator

    Mysticate Bump = Bring Up My Post, only allowed every 24 hours.
    And I was talking about the <playername>.dat files.
    Was trying to say this but didn't came out right:
    Every world has its own files, that is correct. BUT only the files of the main world defined in the server.properties are used, why? Don't know. But I do know that deleting the files of other worlds is impossible since it is 1 file.
    And inventory will go along anyways
     
  12. Offline

    Mysticate

    So if I delete the player dat for the main world, will it delete the player dat for all the worlds?
     
  13. Offline

    timtower Administrator Administrator Moderator

    Then it will be like the player never was on that server before, besides the economy / stats stuff ( can't reset that without modifying plugins )
     
  14. Offline

    Mysticate

    so per world isn't possible?
     
  15. Offline

    timtower Administrator Administrator Moderator

    Inventory is linked, stats are probably linked, hunger, health, sprint.
     
  16. Offline

    Mysticate

    ...
    y u do dis Û < [bucket]
     
  17. Offline

    timtower Administrator Administrator Moderator

    Minecraft*
    Bukkit has nothing to do with this.
    And please use the tahg or reply button to get my attention
     
  18. Offline

    Mysticate


    So what you're saying is... there's no way to delete a player's data per world?
     
  19. Offline

    timtower Administrator Administrator Moderator

    You need to have data per world first to delete it. So with what do you separate the inventory's?
     
  20. Offline

    Mysticate

  21. Offline

    timtower Administrator Administrator Moderator

    Then ask them if they can add a "reset world for player" feature
     
  22. Offline

    Mysticate

    timtower The plugin is practically abondoned; he hasn't updated it in like 2 years...
     
  23. Offline

    timtower Administrator Administrator Moderator

    Not allowed to modify it anyways
     
  24. Offline

    Mysticate

    timtower nope. I'd probably settle for a plugin that just clears your inventory, xp and armor on server leave... I'd like it registered after they leave because I have inventory modifying plugins on join...
     
  25. Offline

    timtower Administrator Administrator Moderator

  26. Offline

    Mysticate

  27. Offline

    timtower Administrator Administrator Moderator

    Garris0n likes this.
  28. Offline

    Mysticate

    timtower
    It takes me 38 hours to code 38 lines

    timtower Thanks! You're now my go-to coding guy :D Even though you don't wanna be coding plugins...
     
  29. Offline

    timtower Administrator Administrator Moderator

    I do want to code, just not taking requests by PM or profile posts
     
    Mysticate likes this.
  30. Offline

    Mysticate

    timtower oh :p does your plugin clear on kick or server restart too?

    timtower
    It works! YOu're the greatest!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016

Share This Page