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
-
Field Summary
Fields inherited from class com.palmergames.bukkit.towny.db.TownyDatabaseHandler
BACKUP_DATE_FORMAT, queryQueue
Fields inherited from class com.palmergames.bukkit.towny.db.TownyDataSource
plugin, universe
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteHibernatedResident
(UUID uuid) void
deleteJail
(Jail jail) void
deleteNation
(Nation nation) void
deletePlotGroup
(PlotGroup group) void
deleteResident
(Resident resident) void
deleteTown
(Town town) void
deleteTownBlock
(TownBlock townBlock) void
deleteWorld
(TownyWorld world) getJailFilename
(Jail jail) getNationFilename
(Nation nation) getPlotGroupFilename
(PlotGroup group) getResidentFilename
(Resident resident) getTownBlockFilename
(TownBlock townBlock) getTownFilename
(Town town) getWorldFilename
(TownyWorld world) boolean
boolean
boolean
boolean
loadNation
(Nation nation) boolean
boolean
loadPlotGroup
(PlotGroup group) boolean
boolean
loadResident
(Resident resident) boolean
boolean
boolean
boolean
boolean
boolean
loadWorld
(TownyWorld world) boolean
boolean
boolean
saveHibernatedResident
(UUID uuid, long registered) boolean
boolean
saveNation
(Nation nation) boolean
savePlotGroup
(PlotGroup group) boolean
saveResident
(Resident resident) boolean
boolean
saveTownBlock
(TownBlock townBlock) boolean
saveWorld
(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, removeJail, removeNation, removePlotGroup, removeResident, removeTown, removeTownBlock, removeTownBlocks, removeWorld, renameGroup, renameNation, renamePlayer, renameTown, savePlotData, saveRegenList, serializeMetadata, toUUIDArray, toUUIDList
Methods inherited from class com.palmergames.bukkit.towny.db.TownyDataSource
cleanup, loadAll, loadJails, loadNations, loadPlotGroups, loadResidents, loadTowns, loadWorlds, removeNation, removeNation, removeTown, removeTown, removeTown, saveAll, saveAllWorlds, saveJails, saveNations, savePlotGroups, saveQueues, saveResidents, saveTownBlocks, saveTowns, saveWorlds
-
Constructor Details
-
TownyFlatFileSource
-
-
Method Details
-
getResidentFilename
-
getHibernatedResidentFilename
-
getTownFilename
-
getNationFilename
-
getWorldFilename
-
getTownBlockFilename
-
getPlotGroupFilename
-
getJailFilename
-
loadTownBlockList
public boolean loadTownBlockList()- Specified by:
loadTownBlockList
in classTownyDataSource
-
loadPlotGroupList
public boolean loadPlotGroupList()- Specified by:
loadPlotGroupList
in classTownyDataSource
-
loadResidentList
public boolean loadResidentList()- Specified by:
loadResidentList
in classTownyDataSource
-
loadTownList
public boolean loadTownList()- Specified by:
loadTownList
in classTownyDataSource
-
loadNationList
public boolean loadNationList()- Specified by:
loadNationList
in classTownyDataSource
-
loadWorldList
public boolean loadWorldList()- Specified by:
loadWorldList
in classTownyDataSource
-
loadJailList
public boolean loadJailList()- Specified by:
loadJailList
in classTownyDataSource
-
loadResident
- Specified by:
loadResident
in classTownyDataSource
-
loadTown
- Specified by:
loadTown
in classTownyDataSource
-
loadNation
- Specified by:
loadNation
in classTownyDataSource
-
loadWorld
- Specified by:
loadWorld
in classTownyDataSource
-
loadPlotGroup
- Specified by:
loadPlotGroup
in classTownyDataSource
-
loadTownBlocks
public boolean loadTownBlocks()- Specified by:
loadTownBlocks
in classTownyDataSource
-
loadJail
- Specified by:
loadJail
in classTownyDataSource
-
saveResident
- Specified by:
saveResident
in classTownyDataSource
-
saveHibernatedResident
- Specified by:
saveHibernatedResident
in classTownyDataSource
-
saveTown
- Specified by:
saveTown
in classTownyDataSource
-
savePlotGroup
- Specified by:
savePlotGroup
in classTownyDataSource
-
saveNation
- Specified by:
saveNation
in classTownyDataSource
-
saveWorld
- Specified by:
saveWorld
in classTownyDataSource
-
saveTownBlock
- Specified by:
saveTownBlock
in classTownyDataSource
-
saveJail
- Specified by:
saveJail
in classTownyDataSource
-
deleteResident
- Specified by:
deleteResident
in classTownyDataSource
-
deleteHibernatedResident
- Specified by:
deleteHibernatedResident
in classTownyDataSource
-
deleteTown
- Specified by:
deleteTown
in classTownyDataSource
-
deleteNation
- Specified by:
deleteNation
in classTownyDataSource
-
deleteWorld
- Specified by:
deleteWorld
in classTownyDataSource
-
deleteTownBlock
- Specified by:
deleteTownBlock
in classTownyDataSource
-
deletePlotGroup
- Specified by:
deletePlotGroup
in classTownyDataSource
-
deleteJail
- Specified by:
deleteJail
in classTownyDataSource
-
getHibernatedResidentRegistered
- Specified by:
getHibernatedResidentRegistered
in classTownyDataSource
-
loadCooldowns
public boolean loadCooldowns()- Specified by:
loadCooldowns
in classTownyDataSource
-
saveCooldowns
public boolean saveCooldowns()- Specified by:
saveCooldowns
in classTownyDataSource
-