Home›Java›Mods›Deletino for Lobby - Automatically delete "/playerdata" and disable "/stats" directories
ModsJava
Deletino for Lobby - Automatically delete "/playerdata" and disable "/stats" directories
Java mod listed for Minecraft 1.7–1.12. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotIt allows you to automatically delete the "/playerdata" directory when your server is stopping. Easy but powerful! 
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"
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:

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
disable-saving: true
forced-stats:
achievement:
openInventory: 1
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();
}
}
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();
}
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
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 331 times (via Spigot). Download it and open it directly in the game.