Completion API method If you access "only Async" on the primary thread, you will get a RuntimeException("Cannot operate database in primary thread!") error
SyncMap
MapData createData()
MapRedirect createRedirect(int priority, String permission, int redirectId)
MapData fromBukkit(MapView mapView)
MapData fromImage(BufferedImage image)
BufferedImage toImage(MapData mapData)
boolean existData(int mapId) throws SQLException only Async
int createData(MapData mapData) throws SQLException only Async
MapData getData(int mapId) throws SQLException only Async
boolean setRedirect(int mapId, MapRedirect mapRedirect) throws SQLException only Async
List<MapRedirect> getRedirects(int mapId) throws SQLException only Async
boolean deleteRedirects(int mapId) throws SQLException only Async
boolean deleteRedirect(int mapId, String permission) throws SQLException only Async
boolean deleteRedirect(int mapId, int priority) throws SQLException only Async