Commit Graph

869 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
DNx5 a013a6c54f update Settings 2015-10-03 13:01:44 +07:00
Gabriele C. 683ec09ecf Update team.txt 2015-10-03 00:49:59 +02:00
Gabriele C. ac92a58b75 Update pom.xml 2015-10-02 23:59:34 +02:00
Gabriele C. e82d2894d5 Merge pull request #49 from games647/sameNick
Fix same nick kick if the name contains an upper case letter
2015-10-02 23:08:37 +02:00
Gabriele C. fec8f8b698 Merge pull request #50 from games647/master
Up
2015-10-02 23:07:52 +02:00
games647 34cc4ce78e Fix same nick kick if the name contains an upper case letter 2015-10-02 21:56:46 +02:00
games647 4b1854c7e2 Fix duplicate registers 2015-09-30 18:13:53 +02:00
Gabriele C 646eaad2ce cleanup 2015-09-28 21:35:06 +02:00
Gabriele C. d90183ca02 Update README.md 2015-09-28 21:28:58 +02:00
Gabriele C. 15d80665e8 Merge pull request #47 from games647/duplicateRegister
Fix duplicate registers
2015-09-28 20:14:18 +02:00
games647 47f0f0e927 Fix duplicate registers 2015-09-28 20:08:51 +02:00
Gabriele C. d74dbeab97 Merge pull request #46 from lifehome/patch-1
Patch 1
2015-09-28 11:03:51 +02:00
Ivan Ip b61db5c569 Simplified and updated strings.
Modified some translation and proofread grammars, for players' easy-understanding. Also corrected some typo on color scheme.
2015-09-28 16:34:07 +08:00
DNx5 72604bfdea improve cached datasource performance. 2015-09-25 07:20:46 +07:00
DNx5 f88e197863 cleanup Settings 2015-09-25 05:21:32 +07:00
DNx5 45d939f0f5 init field first, fix #221 2015-09-25 01:06:58 +07:00
DNx5 8b71f964da fix changepassword issue. #190 #218 2015-09-24 18:30:24 +07:00
Gabriele C 8f446fa6af Fix settings (i hope) 2015-09-23 22:10:11 +02:00
DNx5 53f3ad114b re-add geoip methods and set as deprecated 2015-09-24 00:55:01 +07:00
DNx5 10580e3447 cleanup converters 2015-09-23 21:50:17 +07:00
DNx5 fec4fb2913 projectile issue 2015-09-23 17:55:56 +07:00
Alexandre Vanhecke 638374418c Merge pull request #201 from AuthMe-Team/master
stuff from the team repo
2015-09-21 01:14:57 +02:00
DNx5 837da9a0fa disabling protectInventory should be okay now 2015-09-21 01:16:04 +07:00
DNx5 dfe1074f65 revert fixdurability task. not necessary 2015-09-21 00:45:37 +07:00
DNx5 365e23d863 show the name, not displayname 2015-09-21 00:44:40 +07:00
DNx5 490f9406c3 added durability fix 2015-09-21 00:15:05 +07:00
DNx5 b9dce03af5 add ProjectileLaunch listener. 2015-09-20 23:17:03 +07:00
DNx5 accd209e84 add null check for vehicle 2015-09-20 22:58:54 +07:00
DNx5 5247b5aa2c fix cache folder not removed 2015-09-20 22:55:44 +07:00
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