StatsEraser

Discussion in 'Archived: Plugin Requests' started by Ted_Craft, Jul 12, 2014.

  1. Offline

    Ted_Craft

    Plugin Request
    StatsEraser

    Plugin Category: Admin Tools​
    Suggested Name: StatsEraser​

    What I Want
    Description, Commands, Permissions

    Description: This is a very simple plugin that simply erases a player's stats when they leave the server. (Located in: \world\stats\<UUID>.json) It is useful for lobby servers who want players to always spawn at the spawnpoint.​

    Commands: None that I can think of.​

    Permissions:
    • statseraser.exempt Player is exempt from stats erasing.
    When I'd like it by: Take your time if you attempt making this plugin, but I suppose depending on when you decide to make it, July 20th, is reasonable. (Let me know if it isn't reasonable.)​

    Thank you for taking the time to read this, and I hope someone decides to fulfill this request! Thank you if you do! Let me know if you need any further explanation in the comments.​

    - Ted_Craft​
     
  2. Offline

    TheMcScavenger

    Depending on the plugins you're using, you may want to delete more files than just that one.. If you're looking to wipe all the player's data that is..

    Think about:
    • Player DAT file
    • Essentials YAML file
    • Stats JSON file
    • Other plugins that store data per player
    A good idea would be to be able to define paths to the files to be deleted, and have it automatically detect what kind of name the file is (Player name or UUID)..
     

Share This Page