MyApi 1.2

Details

  • Filename
    MyApi.jar
  • Uploaded by
  • Uploaded
    Mar 3, 2015
  • Size
    20.65 KB
  • Downloads
    234
  • MD5
    facdfe5ccf1799d0e44e3070e29b33ac

Supported Bukkit Versions

  • 1.8.1
  • CB 1.7.9-R0.2
  • CB 1.7.2-R0.3

Changelog

Works on any bukkit version. This is not important.

Changes :

Add

  • Add SQLite support.
  • Add CountRows method to count rows in the columns specified.
  • Add two methods to check if a table exist and if a column exist.
  • Add a new method to know what is the result of the exist methods.
  • Add a new ApiResponse (MYAPI_NOT_INITIALISE). This is when the library is not initialise correctly.
  • Add Long as a new type data.

Changes

  • Change ApiResponse MYSQL_NOT_CONNECT to DATABASE_NOT_CONNECT for compatiblity with mysql server / sql file.
  • Change Object table to Map<Integer,Object> to be more simple to use.
  • Change INT to INTEGER for SQL data syntax.

Fixes

  • Close some statement they have not been closed.
  • Fixes null pointer exception when you didn't initialise correctly the Api.

Can crash when you create a table with MySQL, fix in MyApi 1.2.1