Class SQLite
java.lang.Object
org.reprogle.honeypot.storagemanager.sqlite.Database
org.reprogle.honeypot.storagemanager.sqlite.SQLite
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet's the DB connection, also verifies if JDBC is installed.voidload()Loads the DBMethods inherited from class org.reprogle.honeypot.storagemanager.sqlite.Database
addPlayerHistory, close, createHoneypotBlock, createHoneypotPlayer, deleteAllBlocks, deleteAllHistory, deleteAllPlayers, deletePlayerHistory, getAction, getAllHoneypots, getCount, initialize, isHoneypotBlock, removeHoneypotBlock, retrieveHistory, setPlayerCount
-
Constructor Details
-
SQLite
Create an SQLite object from the instance- Parameters:
instance- The instance of the plugin
-
-
Method Details
-
getSQLConnection
Get's the DB connection, also verifies if JDBC is installed. If it isn't plugin is disabled as it can't function without it- Specified by:
getSQLConnectionin classDatabase- Returns:
- Connection if the connection is valid, otherwise returns null
-
load
public void load()Loads the DB
-