Eric
5bfb0a1a22
Renamed config variables
2018-07-23 17:57:01 +02:00
Eric
21fd9bb5ed
Check if backup table already exists to prevent errors
2017-08-15 12:44:02 +02:00
Eric
8d459220d3
Vacuum SQLite database on server stop
...
Closes #132
2017-08-15 12:44:02 +02:00
Eric
a8f589c1b7
Added config option to disable economy logging
2017-08-15 12:44:01 +02:00
Eric
397304c748
Use collection instead of array in Database#getShops
2017-08-15 12:44:01 +02:00
Eric
49d90da57a
Added type parameter to callback
2017-07-30 13:54:48 +02:00
Eric
3eef8250d2
Fixed shops duplicating after extending
2017-06-06 18:13:24 +02:00
Eric
f6a7f5e3ba
Use more prepared statements
...
+ Removed quotation marks and semi colons from queries
2017-04-10 20:32:36 +02:00
Eric
508baf4f6b
If a world is not found, only show the error once
2017-04-10 20:06:05 +02:00
Eric
97c0ca70c2
Force to not use SSL for connecting to MySQL server
...
Fixes #86
2017-03-25 15:17:37 +01:00
Eric
b6a233f2b4
Fixed javadoc for methods with a callback as parameter
...
Also, the getShops() method now always gets all shops from the
database instead of returning the existing one
2017-03-25 15:17:36 +01:00
Eric
dd7a82b49e
Added notification about offline revenue on join
...
Closes #47
2017-03-25 15:17:35 +01:00
Eric
1e38edc7a0
Improved database interaction
2017-03-25 15:17:33 +01:00
Eric
7b3dac61ac
Query and update SQL database asynchronously
2017-03-25 15:17:32 +01:00
Eric
73f5d0f79e
Change get(...) to getShop(...) in database
2016-11-26 17:07:21 +01:00
Eric
6a96e235a6
Readded autoReconnect parameter to MySQL connection url
2016-08-20 12:38:53 +02:00
MineTheCube
e94463ccbe
Make logEconomy asynchronous ( #21 )
2016-08-18 16:59:57 +02:00
Eric
d1453d5839
Added economy log in database file
...
Closes #19
2016-08-18 13:30:14 +02:00
Eric
aa2051e9cc
Added configurable ping interval to MySQL
2016-08-16 12:26:35 +02:00
Eric
51584a3d04
Removed almost every stack trace that might me printed
...
Stack traces will now be printed in the debug log (if enabled) and in the console, there will only be displayed an error message without the stack trace
2016-08-10 13:47:25 +02:00
Eric
312e7c9dca
Disconnect from database when plugin disables
...
+ Reconnect to database on shop reload or server reload
+ A few debug messages were added on SQLExceptions
2016-08-06 12:17:53 +02:00
Eric
57af99da1b
Now using reflection instead of different modules
...
This commit also fixes spawn eggs on 1.8.x
2016-08-05 15:26:47 +02:00