9 Commits

Author SHA1 Message Date
Tim Visée
3643afdea3 Moved Utils class to util package 2015-11-01 23:29:47 +01:00
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
DNx5
4e275eeb1d change Utils to static class. 2015-09-20 14:11:17 +07:00
Gabriele C
4fca6108d9 cleanup 2015-09-15 19:07:41 +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
30e9610053 IN DEVELOPPEMENT : Change how session work 2015-07-07 01:40:37 +02:00
Xephi59
487c91136c IN DEVELOPPEMENT !!!! Begin to increase performances 2015-06-29 01:35:08 +02:00