Deletino for Lobby - Automatically delete "/playerdata" and
1.1It allows you to delete automatically the /playerdata directory when your server is stopping
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"
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:
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();
}
}Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta