Commit Graph

633 Commits

Author SHA1 Message Date
Gabriele C
4b67cf961c fix speed remover 2015-09-20 17:21:49 +02:00
DNx5
878ab70c2f move GeoIP function into Utils 2015-09-20 21:50:39 +07:00
DNx5
2cea7387c9 set all listeners to use checkAuth method. 2015-09-20 21:25:29 +07:00
DNx
14f187c32d start working on modules 2015-09-20 20:17:40 +07:00
DNx5
c94f9c5cdc update to use the new vault API 2015-09-20 20:17:37 +07:00
DNx5
b27079026b use guava's bytestream 2015-09-20 20:17:35 +07:00
Gabriele C
d826777701 remove speed option + config description enhancements 2015-09-20 13:41:06 +02:00
Gabriele C
23e16bb717 Fix fly speed 2015-09-20 12:08:24 +02:00
DNx5
ec1e0527ec sneaky plugin message 2015-09-20 15:58:16 +07:00
DNx5
297e41e9bd cleanup 2015-09-20 15:54:37 +07:00
DNx5
6babac98eb extract auth check into a method. 2015-09-20 15:53:18 +07:00
DNx5
ff1cc8c27d not needed, it does the same thing if event is cancelled 2015-09-20 14:54:49 +07:00
DNx5
314fb01105 store isAuthAvailable into local variable.
improve performance when cache is not enabled.
2015-09-20 14:46:03 +07:00
DNx5
22638c29e5 update logger 2015-09-20 14:26:46 +07:00
DNx5
4e275eeb1d change Utils to static class. 2015-09-20 14:11:17 +07:00
DNx5
e1893ce85b ups, forgot to put inventory. 2015-09-20 11:42:41 +07:00
DNx5
4288fa29b6 update 2015-09-20 09:26:29 +07:00
DNx5
b1276da416 protect inventory only for registered player 2015-09-20 09:18:30 +07:00
DNx5
350ab53563 update base64 2015-09-20 08:44:30 +07:00
DNx5
53fcfb5b43 cleanup encryption 2015-09-20 08:44:28 +07:00
Gabriele C
b427d14bcb Speed 0 when not logged! 2015-09-19 22:28:55 +02:00
Gabriele C
dc35d768aa add max connections setting 2015-09-19 20:20:46 +02:00
DNx
0f631d34d3 Merge pull request #45 from Xephi/master
Fix bad async call
2015-09-19 14:13:42 +07:00
DNx5
4ec548cb8d added null check, #209 #210 2015-09-19 13:27:31 +07:00
DNx5
a00deb0e0f unregister asynchronously 2015-09-19 12:51:59 +07:00
DNx5
b5546c07b4 cleanup string concatenates 2015-09-16 11:37:18 +07:00
DNx5
51067498ea cleanup MySQL throws 2015-09-16 11:36:08 +07:00
DNx5
6a8e581ba8 added softdepend for PerWorldInventories 2015-09-16 11:20:43 +07:00
Gabriele C
f63fe5bc37 Enhance combattag hook 2015-09-15 21:11:56 +02:00
Gabriele C
5fb3542cea useledd imports 2015-09-15 19:37:59 +02:00
Gabriele C
4fca6108d9 cleanup 2015-09-15 19:07:41 +02:00
DNx5
cdfdc06312 revert logger 2015-09-15 23:37:33 +07:00
DNx5
1de2705840 remove constant check 2015-09-15 23:20:26 +07:00
Gabriele C
b62e527b40 useless stuff 2015-09-15 18:15:26 +02:00
DNx5
f2e207dab1 change structure of ModuleManager 2015-09-15 23:11:45 +07:00
DNx5
24c7efbd94 update loadResource method 2015-09-15 23:10:52 +07:00
DNx5
221b32744c fix string concatenates performance 2015-09-15 22:44:40 +07:00
Gabriele C
026d84427b General npc support, fixes and enhancements 2015-09-15 16:33:32 +02:00
DNx5
c473e81eb9 same fix for normal sqlite 2015-09-15 16:31:07 +07:00
DNx5
6f22aa779b sqlite fix, load AuthMe faster. 2015-09-15 16:23:56 +07:00
DNx5
c82aaa303d cleanup MySQL code. 2015-09-15 15:40:19 +07:00
DNx5
f975fefd4a run saveAuth async in CacheDataSource 2015-09-15 15:39:45 +07:00
DNx5
3996c8cfca this should not cause lag anymore if database cache is enabled. 2015-09-15 15:03:00 +07:00
DNx5
3620b712b7 improve DatabaseCalls, 2015-09-15 14:38:55 +07:00
DNx5
91d6ead466 update ConsoleLogger 2015-09-15 14:34:07 +07:00
DNx5
e1b2a1852c update ConsoleLogger 2015-09-15 14:33:23 +07:00
DNx5
232f332be2 revert, bad file encoding. 2015-09-15 13:43:39 +07:00
DNx5
7add63869e no need to rewrite language file. fix #206 2015-09-15 00:02:52 +07:00
DNx5
e9cf5de663 added ID messages translation. 2015-09-14 23:39:53 +07:00
DNx5
b8abe71584 remove message 'bad_database_email' 2015-09-14 23:35:31 +07:00
DNx5
0b23074770 changed settings load method. 2015-09-14 20:46:56 +07:00
DNx5
7c56dec476 change all usage of getOnlinePlayers 2015-09-14 19:50:32 +07:00
DNx5
0768642e85 cleanup Settings 2015-09-14 18:58:37 +07:00
Gabriele C
550cffcc42 cleanup 2015-09-14 12:34:52 +02:00
DNx5
981da0a0f3 extract language if available. 2015-09-14 09:26:52 +07:00
DNx5
670caaea4b fix resource extracting. 2015-09-14 08:23:02 +07:00
DNx5
9736e4c207 init instance at the top, to avoid problems. 2015-09-14 04:32:12 +07:00
DNx5
2fe9e735a1 init playerBackup field on enable. 2015-09-14 04:21:38 +07:00
DNx5
a4fd60a6f6 fix cache, still not add null check. 2015-09-14 03:45:09 +07:00
DNx5
b4124bc46d cleanup Listeners. 2015-09-14 01:42:31 +07:00
DNx5
f60604c86c run admin register task async. 2015-09-14 01:22:23 +07:00
Gabriele C
e11a1e9b09 damn 2015-09-13 20:03:28 +02:00
Gabriele C
c0e75dbbd2 fix tabulation 2015-09-13 20:01:55 +02:00
Gabriele C
b1b441fac2 cleanup 2015-09-13 19:58:54 +02:00
DNx5
355c04c361 prevent eating food 2015-09-14 00:19:37 +07:00
DNx5
7458224ada Enhance mainclass 2015-09-13 23:41:28 +07:00
DNx5
e85d8acc24 refactor, 2015-09-13 22:40:19 +07:00
DNx5
b0fc123229 replace cache with Json 2015-09-13 22:10:41 +07:00
DNx5
cb59f44b9b Merge remote-tracking branch 'origin/master'
Conflicts:
	src/main/java/fr/xephi/authme/AuthMe.java
2015-09-13 22:09:12 +07:00
DNx5
576ff59fcd replace cache with Json 2015-09-13 22:08:18 +07:00
Gabriele C
f297609818 cleanup 2015-09-13 17:07:07 +02:00
DNx5
851eab2fd0 cleanup Utils.java 2015-09-13 21:57:36 +07:00
Gabriele C
680717dbca Fix 2015-09-13 16:28:47 +02:00
Gabriele C
3cbc7ab18f should fix item usage issue 2015-09-13 15:18:22 +02:00
Gabriele C
76b4f62e79 cleanup 2015-09-13 15:01:22 +02:00
Gabriele C
d8c2a25116 Working sqlitehikari! ;D 2015-09-13 12:25:12 +02:00
Gabriele C.
b2234b1e0d Merge pull request #44 from DmitryRendov/team
Fixed PBKDF2DJANGO hash map
2015-09-13 12:12:51 +02:00
DmitryRendov
023e64c8d5 Fixed PBKDF2DJANGO hash map 2015-09-13 09:59:30 +00:00
Gabriele C.
c485a58036 Update MySQL.java 2015-09-12 11:53:30 +02:00
Gabriele C
d4cf739081 Fix hikari 2015-09-10 19:56:33 +02:00
Gabriele C.
639a0482c2 Merge pull request #43 from DNx5/master
improve inventory cache method  (EXPERIMENTAL)
2015-09-10 12:11:10 +02:00
DNx5
08d72785b4 improve inventory cache method 2015-09-10 13:29:11 +07:00
Gabriele C
08c77b6483 Cleanup 2015-09-09 20:21:45 +02:00
Gabriele C.
0180b2210c Merge pull request #42 from DNx5/master
cleanup & improvements
2015-09-08 20:49:29 +02:00
DNx5
afeb359b73 cleanup & improvements 2015-09-09 01:28:27 +07:00
Gabriele C
46002b95e3 Cleanup 2015-09-08 18:12:31 +02:00
Gabriele C
c1d56d5ee5 Fix hikari for mysql and sqlite 2015-09-08 17:33:52 +02:00
Gabriele C.
e2b3c51cab Update MySQL.java 2015-09-08 16:49:47 +02:00
vanhec_a
cbca79f1a4 Fix bad async call 2015-09-08 11:43:32 +02:00
Gabriele C
c0eb15ee49 Cleanup 2015-09-07 20:38:29 +02:00
DNx5
90c7187bab run task async, fix #200 2015-09-07 23:28:15 +07:00
DNx5
5a9c6278b6 Merge branch 'master' of git://github.com/AuthMe-Team/AuthMeReloaded into AuthMe-Team-master
Conflicts:
	src/main/java/fr/xephi/authme/datasource/MySQL.java
2015-09-07 20:49:10 +07:00
Gabriele C
65bb488f4c PBKDF2DJANGO Hash 2015-09-07 14:30:56 +02:00
Gabriele C
7d8ef95a22 Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded 2015-09-07 14:06:29 +02:00
Gabriele C
84b5dcc625 Cleanup 2015-09-07 14:05:50 +02:00
Gabriele C.
8ec497a5e8 Update AuthMe.java 2015-09-07 13:25:40 +02:00
Gabriele C.
284909a215 Merge pull request #39 from Xephi/master
Up
2015-09-07 13:23:18 +02:00
Alexandre Vanhecke
1e9d7f879a Sponsor 2015-09-07 12:35:49 +02:00
Gabriele C.
3032608f6a Merge pull request #38 from DmitryRendov/master
Hash update
2015-09-06 23:59:03 +02:00
DmitryRendov
7c2649abf5 Fix 2015-09-06 20:32:58 +00:00
DmitryRendov
495dd35b48 Updated PBKDF2 hasher to support Django 1.7+ 2015-09-06 20:28:25 +00:00
DNx5
200ff01cd9 never return null, just throw exception. 2015-09-06 22:24:23 +07:00
Gabriele C
3926faeb35 Fix Hikari timeouts 2015-09-06 13:51:35 +02:00
Gabriele C
1f66a7474d Stuff! + HikariCP Log4J 2015-09-05 00:45:48 +02:00
Gabriele C
63889c030a fix conflict 2015-08-28 23:21:22 +02:00
Xephi59
3bcaa3f12b Change to minimum lifeTime 2015-08-28 00:16:49 +02:00
Xephi59
e33ebb7379 Change some custom event to let them be async 2015-08-28 00:16:26 +02:00
Xephi59
eec7a7f575 Add SALTEDSHA512 Encryption 2015-08-27 23:28:12 +02:00
Gabriele C
7c9298f096 More unstuble stuff! (Now it compiles) 2015-08-27 00:21:53 +01:00
Gabriele C
568784a8e1 test new mysql (not working yet) 2015-08-26 22:52:23 +01:00
Gabriele C
fd063b17e2 fix conflict 2015-08-26 22:43:07 +01:00
Xephi59
3ce87f1710 Fix 2015-08-26 19:01:39 +02:00
Xephi59
fa6e048c21 Fix DriverClassName not properly set 2015-08-26 18:55:33 +02:00
Gabriele C.
c61568e900 Merge pull request #33 from Xephi/master
Up
2015-08-22 16:35:07 +02:00
Gabriele C
217c217d13 Stuff 2015-08-22 16:34:06 +02:00
Xephi59
c7a711d0b2 Add Try/catch to DataSource close 2015-08-22 15:30:17 +02:00
Gabriele C
c12e24d0f8 Added stacktraces to find out what's the problem -_- 2015-08-21 23:35:44 +02:00
Xephi59
cd0659ac89 ahah copy/paste spotted :D 2015-08-20 23:30:31 +02:00
Xephi59
e1eb22239a Add Third Party PreLogin Event 2015-08-20 23:29:02 +02:00
Xephi59
86e1b8df7c Define a max life time of a pool 2015-08-20 18:59:41 +02:00
Xephi59
b84d96360e TEMP FIX - Catch all Exception instance due to HikariCP thrown 2015-08-20 18:49:22 +02:00
Xephi59
9d950b9b4a Potential NPE 2015-08-20 18:39:40 +02:00
Gabriele C
c88bad08c0 added nullcheck 2015-08-15 21:10:36 +02:00
Gabriele C
8c8f84ae4a Some fixes!
Thanks to Koolaid5000 for the forcesinglesession fix idea! 👍
2015-08-15 19:52:33 +02:00
Alexandre Vanhecke
1ad4865911 Need to get the old value 2015-08-14 12:32:04 +02:00
Gabriele C
b982ff3c95 Deprecated the chestshop hook 2015-08-13 19:25:00 +02:00
Xephi59
455864d14d Fix NPE 2015-08-12 21:04:04 +02:00
Xephi59
5c059bdd43 Move from Join to Login 2015-08-10 23:15:29 +02:00
Xephi59
11db85ac26 Fix LowerCase/Session Stolen issue 2015-08-10 22:56:07 +02:00
Xephi59
253b54da1d Messages can now be customized more easily 2015-08-10 00:06:55 +02:00
Gabriele C.
20c75f1980 Update AdminCommand.java 2015-08-04 15:18:45 +02:00
Gabriele C.
52b48f71c4 Update AuthMe.java 2015-08-04 15:16:59 +02:00
Gabriele C.
fc97c60529 Update plugin.yml 2015-08-03 19:18:30 +02:00
Gabriele C.
8122a3bf1e Merge pull request #28 from Xephi/master
update realName
2015-08-03 18:44:43 +02:00
Xephi59
c1ffe47468 update realName 2015-08-03 18:37:42 +02:00
Gabriele C.
70da194aad Merge pull request #27 from Xephi/master
Up
2015-08-03 18:35:45 +02:00
Xephi59
50b41effa6 Fix conversion issue with lower case 2015-08-03 18:24:20 +02:00
Xephi59
f019be4833 little fix 2015-08-03 18:22:52 +02:00
Gabriele C
acbae36ddf Spaces in pom + optimizations 2015-08-02 14:22:34 +02:00
Xephi59
d10e5b081b Omfg ... 2015-08-02 01:14:39 +02:00
Xephi59
9be5d3518f Flatfile don't support lowercase 2015-08-02 00:56:50 +02:00
Xephi59
fa7c8be10f Try to fix lowercase issue 2015-08-02 00:40:00 +02:00
Xephi59
0c20101947 Bcrypt only support $2a previously 2015-08-01 03:03:54 +02:00
Xephi59
30564fad6e nice fail 2015-08-01 02:57:25 +02:00
Gabriele C
62e3bc4f11 Fixed non closed reader 2015-08-01 01:06:42 +02:00
Gabriele C
72f0f65bed added perworlditems check 2015-08-01 01:05:05 +02:00
Gabriele C
945b24990a fixed cp property 2015-07-31 16:26:54 +02:00
Xephi59
5ed134b172 Fix SaveQuitLoc, idk why spigot handle quit player as dead player 2015-07-31 14:55:47 +02:00
Xephi59
4ecbd7b526 Try this way to fix quitloc 2015-07-31 14:39:49 +02:00
Xephi59
84a1227afd Handle misconnection 2015-07-31 14:32:28 +02:00