Commit Graph

204 Commits

Author SHA1 Message Date
games647 86ff20b6c9 Replacing old inventory protecting with safe packet modifications using ProtocolLib.
Instead of clearing the inventory of players and storing it's contents in a file, we now prevent
the server from sending the inventory packet if the player is not logged in. The player will
see a empty inventory, but has still his items stored on the server. Therefore we don't
need to modify the player's inventory and we won't make any inventory corrupted.

Fixes Xephi/AuthMeReloaded#203,
Fixes Xephi/AuthMeReloaded#193,
Fixes Xephi/AuthMeReloaded#191,
Fixes Xephi/AuthMeReloaded#148

Remove dead code + Fix empty inventory on the unregister command

Fix NPE if ProtocolLib isn't enabled or installed
2015-10-03 10:48:40 +02:00
games647 47f0f0e927 Fix duplicate registers 2015-09-28 20:08:51 +02:00
DNx5 365e23d863 show the name, not displayname 2015-09-21 00:44:40 +07:00
DNx5 accd209e84 add null check for vehicle 2015-09-20 22:58:54 +07:00
Gabriele C 4b67cf961c fix speed remover 2015-09-20 17:21:49 +02:00
DNx5 c94f9c5cdc update to use the new vault API 2015-09-20 20:17:37 +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 314fb01105 store isAuthAvailable into local variable.
improve performance when cache is not enabled.
2015-09-20 14:46:03 +07:00
DNx5 4e275eeb1d change Utils to static class. 2015-09-20 14:11:17 +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
DNx5 4ec548cb8d added null check, #209 #210 2015-09-19 13:27:31 +07:00
Gabriele C f63fe5bc37 Enhance combattag hook 2015-09-15 21:11:56 +02:00
Gabriele C 4fca6108d9 cleanup 2015-09-15 19:07:41 +02: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 3620b712b7 improve DatabaseCalls, 2015-09-15 14:38:55 +07:00
DNx5 7c56dec476 change all usage of getOnlinePlayers 2015-09-14 19:50:32 +07:00
DNx5 f60604c86c run admin register task async. 2015-09-14 01:22:23 +07:00
Gabriele C c0e75dbbd2 fix tabulation 2015-09-13 20:01:55 +02:00
DNx5 e85d8acc24 refactor, 2015-09-13 22:40:19 +07:00
DNx5 576ff59fcd replace cache with Json 2015-09-13 22:08:18 +07:00
DNx5 08d72785b4 improve inventory cache method 2015-09-10 13:29:11 +07:00
Xephi59 e33ebb7379 Change some custom event to let them be async 2015-08-28 00:16:26 +02:00
Xephi59 e1eb22239a Add Third Party PreLogin Event 2015-08-20 23:29:02 +02:00
Xephi59 9d950b9b4a Potential NPE 2015-08-20 18:39:40 +02:00
Xephi59 5c059bdd43 Move from Join to Login 2015-08-10 23:15:29 +02:00
Xephi59 f019be4833 little fix 2015-08-03 18:22:52 +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 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 60fc76981c Merge branch 'master' of https://github.com/Xephi/AuthMeReloaded 2015-07-31 01:57:50 +02:00
Xephi59 1cc1311323 little fix to lowercase issue 2015-07-31 01:57:40 +02:00
Gabriele C fc09fb3a5c Updated plugin.yml 2015-07-30 23:54:19 +02:00
Gabriele C b0d9fdc978 code style 2015-07-28 18:36:12 +02:00
Gabriele C 47211ab803 Code cleanup 2015-07-28 02:57:50 +02:00
Gabriele C 223fff4b52 New attempt to fix the broken email registration -_- 2015-07-28 02:11:58 +02:00
Gabriele C c4f516582c Ok, go away stupid checks! 2015-07-28 01:39:58 +02:00
Gabriele C f80017de67 Fixed xD 2015-07-28 01:26:04 +02:00
Gabriele C 90d8fc8548 Second attempt to fix email registration 2015-07-28 01:15:00 +02:00
Gabriele C 5388f08117 Allow session timeout = 0 (with warnings) 2015-07-28 00:04:16 +02:00
Gabriele C ba06bb514a Revert "First attempt to fix the email registation issue"
This reverts commit cd3e7b5d43.
2015-07-27 16:09:06 +02:00
Gabriele C cd3e7b5d43 First attempt to fix the email registation issue 2015-07-27 15:08:40 +02:00
Xephi59 c51b131a54 Concurrent shit 2015-07-25 04:28:37 +02:00
Xephi59 4c2fad3643 Fix LowerCase issue 2015-07-23 16:23:25 +02:00
Xephi59 a9dcf15759 Remove PlayerLogs, so buggy 2015-07-23 13:06:56 +02:00