Deletino for Lobby - Automatically delete "/playerdata" and disable "/stats" directories 1.1

It allows you to delete automatically the /playerdata directory when your server is stopping

  1. Luk_3D
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    It allows you to automatically delete the "/playerdata" directory when your server is stopping. Easy but powerful! :p

    If you have a lobby or a login server and you don't want to store useless data you can use my plugin and this settings in "spigot.yml"

    Code (Text):
    stats:
      disable-saving: true
      forced-stats:
        achievement:
          openInventory: 1
    If you don't need my plugin don't download it. In my case it helped me to fix a bug that generated slowdowns during login.
    Thanks for reading!

    Source code:

    Code (Text):
    package Deletino;

    import java.io.File;

    import org.bukkit.Bukkit;
    import org.bukkit.plugin.java.JavaPlugin;

    public class Main extends JavaPlugin{
       
        public void onDisable()
        {
            final File index = new File(Bukkit.getWorlds().get(0).getWorldFolder()+"/playerdata");
            for(String s: index.list())
                new File(index.getPath(),s).delete();
            index.delete();
        }
    }
     
    ANDREI923 likes this.

Recent Updates

  1. Performance improvement

Recent Reviews

  1. claxon007
    claxon007
    5/5,
    Version: 1.1
    I love that update! I log on the server more faster than normal!
    So perfect and cool plugin!
    1. Luk_3D
      Author's Response
      I'm happy to read this :)
  2. xPietry2001
    xPietry2001
    5/5,
    Version: 1.1
    Nice Job bro, but why i got all my playerstats deleted? I thought that this plugin would have transformated my server on Mineplex :(
    1. Luk_3D
      Author's Response
      Nice thanks
  3. xPix3l_85
    xPix3l_85
    5/5,
    Version: 1.1
    This plugin is very usefull. I can keep my storage free with this. Congratulations for your idea and for the update.
    1. Luk_3D
      Author's Response
      Cool my friend :D
  4. ThatsMaNu_
    ThatsMaNu_
    5/5,
    Version: 1.1
    Very useful plugin. I think there aren't plugin like that. 5 deserved stars!
    Since i installed this plugin on my server, the lag during login has disappared!
    1. Luk_3D
      Author's Response
      Nice bro :)
  5. TheForest
    TheForest
    5/5,
    Version: 1.1
    Grande pe deletino bitch, ottimo plugin veramente consigliato, 5 stelle -M3Manuel
    1. Luk_3D
      Author's Response
      Diventerò famoso con questo plugin :D
  6. ANDREI923
    ANDREI923
    5/5,
    Version: 1.0
    ----------------------------------------------
    good for lobby and minigames servers.
    ----------------------------------------------
    1. Luk_3D
      Author's Response
      Thanks for the support, i'm happy to read this :)
  7. xPix3l_85
    xPix3l_85
    5/5,
    Version: 1.0
    This plugin is perfect! I was looking for it! Thanks, this plugin helped me so much!!!
    1. Luk_3D
      Author's Response
      Thanks my friend ;)
  8. claxon007
    claxon007
    5/5,
    Version: 1.0
    Woooww bro! I was searching a plugin like that and i'm so excited 'cause it resolved slowdowns during login phases!!! 5 stars all deserved!!
    1. Luk_3D
      Author's Response
      Thanks man :D
  9. AlexReq
    AlexReq
    5/5,
    Version: 1.0
    The two ones down here trying to find the use of this plugin maybe never had a lobby/login server where this is very userful.
    1. Luk_3D
      Author's Response
      Thanks my friend :)