Runtime part of AncapFramework.
IF YOU WANT TO USE DATABASES OTHER THAN SQLITE DOWNLOAD DRIVER POT
Just download plugin and put it plugins folder. Required ProtocolLib.
You SHOULD use it! The AncapFramework is stupidly must-have for your plugin. Here's the short list of features of the Framework:
CommandAPI - get rid of the routine of declaring sub-commands, parsing arguments, answering players in case of wrong arguments and lack of rights - write only the logic of your plugin. Asynchronously!
Internationalization - simply use LanguageAPI and add allow players to receive messages in their own language. Its hard to implement in your own plugin? No! Just add locale_<number>.yml file to resources folder and thats all!
DatabaseAPI - just work with database, nothing else.
EventAPI - high-level null-safe abstraction upper the plain Bukkit events.