Package com.palmergames.bukkit.towny.db
Class TownyFlatFileSource
java.lang.Object
com.palmergames.bukkit.towny.db.TownyDataSource
com.palmergames.bukkit.towny.db.TownyDatabaseHandler
com.palmergames.bukkit.towny.db.TownyFlatFileSource
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.palmergames.bukkit.towny.db.TownyDatabaseHandler
BACKUP_DATE_FORMAT, queryQueueFields inherited from class com.palmergames.bukkit.towny.db.TownyDataSource
plugin, universe -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteDistrict(District district) voiddeleteHibernatedResident(UUID uuid) voiddeleteJail(Jail jail) voiddeleteNation(Nation nation) voiddeletePlotGroup(PlotGroup group) voiddeleteResident(Resident resident) voiddeleteTown(Town town) voiddeleteTownBlock(TownBlock townBlock) voiddeleteWorld(TownyWorld world) getDistrictFilename(District district) getJailFilename(Jail jail) getNationFilename(Nation nation) getPlotGroupFilename(PlotGroup group) getResidentFilename(Resident resident) getTownBlockFilename(TownBlock townBlock) getTownFilename(Town town) getWorldFilename(TownyWorld world) booleanbooleanloadDistrict(District district) booleanbooleanbooleanbooleanloadNation(Nation nation) booleanbooleanloadPlotGroup(PlotGroup group) booleanbooleanloadResident(Resident resident) booleanbooleanbooleanbooleanbooleanbooleanloadWorld(TownyWorld world) booleanbooleanbooleansaveDistrict(District district) booleansaveHibernatedResident(UUID uuid, long registered) booleanbooleansaveNation(Nation nation) booleansavePlotGroup(PlotGroup group) booleansaveResident(Resident resident) booleanbooleansaveTownBlock(TownBlock townBlock) booleansaveWorld(TownyWorld world) Methods inherited from class com.palmergames.bukkit.towny.db.TownyDatabaseHandler
backup, deleteFile, deletePlotData, finishTasks, generateReplacementName, getLegacyPlotFilename, hasPlotData, loadPlotData, loadPlotData, loadRegenList, mergeNation, mergeTown, newNation, newNation, newResident, newResident, newWorld, removeDistrict, removeJail, removeNation, removePlotGroup, removeResident, removeTown, removeTownBlock, removeTownBlocks, removeWorld, renameDistrict, renameGroup, renameNation, renamePlayer, renameTown, savePlotData, saveRegenList, serializeMetadata, toUUIDArray, toUUIDListMethods inherited from class com.palmergames.bukkit.towny.db.TownyDataSource
cleanup, loadAll, loadDistricts, loadJails, loadNations, loadPlotGroups, loadResidents, loadTowns, loadWorlds, removeNation, removeNation, removeTown, removeTown, removeTown, saveAll, saveAllWorlds, saveDistricts, saveJails, saveNations, savePlotGroups, saveQueues, saveResidents, saveTownBlocks, saveTowns, saveWorlds
-
Constructor Details
-
TownyFlatFileSource
-
-
Method Details
-
getResidentFilename
-
getHibernatedResidentFilename
-
getTownFilename
-
getNationFilename
-
getWorldFilename
-
getTownBlockFilename
-
getPlotGroupFilename
-
getDistrictFilename
-
getJailFilename
-
loadTownBlockList
public boolean loadTownBlockList()- Specified by:
loadTownBlockListin classTownyDataSource
-
loadPlotGroupList
public boolean loadPlotGroupList()- Specified by:
loadPlotGroupListin classTownyDataSource
-
loadDistrictList
public boolean loadDistrictList()- Specified by:
loadDistrictListin classTownyDataSource
-
loadResidentList
public boolean loadResidentList()- Specified by:
loadResidentListin classTownyDataSource
-
loadTownList
public boolean loadTownList()- Specified by:
loadTownListin classTownyDataSource
-
loadNationList
public boolean loadNationList()- Specified by:
loadNationListin classTownyDataSource
-
loadWorldList
public boolean loadWorldList()- Specified by:
loadWorldListin classTownyDataSource
-
loadJailList
public boolean loadJailList()- Specified by:
loadJailListin classTownyDataSource
-
loadResident
- Specified by:
loadResidentin classTownyDataSource
-
loadTown
- Specified by:
loadTownin classTownyDataSource
-
loadNation
- Specified by:
loadNationin classTownyDataSource
-
loadWorld
- Specified by:
loadWorldin classTownyDataSource
-
loadPlotGroup
- Specified by:
loadPlotGroupin classTownyDataSource
-
loadDistrict
- Specified by:
loadDistrictin classTownyDataSource
-
loadTownBlocks
public boolean loadTownBlocks()- Specified by:
loadTownBlocksin classTownyDataSource
-
loadJail
- Specified by:
loadJailin classTownyDataSource
-
saveResident
- Specified by:
saveResidentin classTownyDataSource
-
saveHibernatedResident
- Specified by:
saveHibernatedResidentin classTownyDataSource
-
saveTown
- Specified by:
saveTownin classTownyDataSource
-
savePlotGroup
- Specified by:
savePlotGroupin classTownyDataSource
-
saveDistrict
- Specified by:
saveDistrictin classTownyDataSource
-
saveNation
- Specified by:
saveNationin classTownyDataSource
-
saveWorld
- Specified by:
saveWorldin classTownyDataSource
-
saveTownBlock
- Specified by:
saveTownBlockin classTownyDataSource
-
saveJail
- Specified by:
saveJailin classTownyDataSource
-
deleteResident
- Specified by:
deleteResidentin classTownyDataSource
-
deleteHibernatedResident
- Specified by:
deleteHibernatedResidentin classTownyDataSource
-
deleteTown
- Specified by:
deleteTownin classTownyDataSource
-
deleteNation
- Specified by:
deleteNationin classTownyDataSource
-
deleteWorld
- Specified by:
deleteWorldin classTownyDataSource
-
deleteTownBlock
- Specified by:
deleteTownBlockin classTownyDataSource
-
deletePlotGroup
- Specified by:
deletePlotGroupin classTownyDataSource
-
deleteDistrict
- Specified by:
deleteDistrictin classTownyDataSource
-
deleteJail
- Specified by:
deleteJailin classTownyDataSource
-
getHibernatedResidentRegistered
- Specified by:
getHibernatedResidentRegisteredin classTownyDataSource
-
loadCooldowns
public boolean loadCooldowns()- Specified by:
loadCooldownsin classTownyDataSource
-
saveCooldowns
public boolean saveCooldowns()- Specified by:
saveCooldownsin classTownyDataSource
-