use of com.palmergames.bukkit.towny.tasks.DeleteFileTask in project Towny by TownyAdvanced.
the class TownyFlatFileSource method deleteWorld.
@Override
public void deleteWorld(TownyWorld world) {
File file = new File(getWorldFilename(world));
queryQueue.add(new DeleteFileTask(file, false));
}
use of com.palmergames.bukkit.towny.tasks.DeleteFileTask in project Towny by TownyAdvanced.
the class TownyFlatFileSource method deleteHibernatedResident.
@Override
public void deleteHibernatedResident(UUID uuid) {
File file = new File(getHibernatedResidentFilename(uuid));
queryQueue.add(new DeleteFileTask(file, true));
}
use of com.palmergames.bukkit.towny.tasks.DeleteFileTask in project Towny by TownyAdvanced.
the class TownyDatabaseHandler method deletePlotData.
@Override
public void deletePlotData(PlotBlockData plotChunk) {
File file = new File(getPlotFilename(plotChunk));
queryQueue.add(new DeleteFileTask(file, true));
}
use of com.palmergames.bukkit.towny.tasks.DeleteFileTask in project Towny by TownyAdvanced.
the class TownyFlatFileSource method deleteResident.
/*
* Delete objects
*/
@Override
public void deleteResident(Resident resident) {
File file = new File(getResidentFilename(resident));
queryQueue.add(new DeleteFileTask(file, false));
}
use of com.palmergames.bukkit.towny.tasks.DeleteFileTask in project Towny by TownyAdvanced.
the class TownyFlatFileSource method deletePlotGroup.
@Override
public void deletePlotGroup(PlotGroup group) {
File file = new File(getPlotGroupFilename(group));
queryQueue.add(new DeleteFileTask(file, false));
}
Aggregations