File Details
MyApi 1.2
- R
- Mar 4, 2015
- 20.65 KB
- 331
- CB 1.7.9-R0.2+2
File Name
MyApi.jar
Supported Versions
- CB 1.7.9-R0.2
- 1.8.1
- CB 1.7.2-R0.3
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

