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

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

It allows you to delete automatically the /playerdata directory when your server is stopping. Free Minecraft Java mod for 1.7, 1.8, 1.9.

⬇ Download on Spigot
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();
    }
}
 

Deletino for Lobby - Automatically delete "/playerdata" and disable "/stats" directories is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 323 times (via Spigot). Download it and open it directly in the game.

Explore more