public static void SaveAll() { Bukkit.savePlayers(); plugin.userManager.save(); ServerRegionHandler.SaveRegions(); RandomSpawnsHandler.SaveSpawns(); plugin.arena.SavePvpStats(); plugin.arena.SaveArenas(); }
public static void SaveWorldStructures() { for (World world : plugin.getServer().getWorlds()) { world.save(); plugin.log.info("Saving world " + world.getName() + "."); } Bukkit.savePlayers(); plugin.userManager.save(); }