promotional bannermobile promotional banner

MyApi

MyApi
Back to Files

MyApi 1.2

File nameMyApi.jar
Uploaded
Mar 4, 2015
Downloads
371
Size
20.6 KB
File ID
867529
Type
R
Release
Supported game versions
  • CB 1.7.9-R0.2
  • 1.8.1
  • CB 1.7.2-R0.3

What's new

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

This mod has no additional files