70 Commits

Author SHA1 Message Date
DNx5
4161dcaa94 Fix SingleSession check order. 2016-01-03 09:34:44 +07:00
DNx5
052e414ff3 Moved VeryGames IP check into AsyncJoin process.
- Updated VeryGames IP check method.
- Remove player's IP from realIp map on quit.
2016-01-03 09:34:41 +07:00
Xephi
806201e1cc Add Hostname to restricted ip method 2015-12-28 11:59:30 +01:00
games647
8c1eef3f59 Remove gamemode and flying switching
Fixes Xephi/AuthMeReloaded#355
Fixes Xephi/AuthMeReloaded#320
Fixes Xephi/AuthMeReloaded#258
Fixes Xephi/AuthMeReloaded#246
2015-12-23 15:00:44 +01:00
Gabriele C
1d21333c94 I'm a noob 2015-12-23 12:27:41 +01:00
Gabriele C
8bfb56f34e fix blindness when timeout = 0 2015-12-23 11:51:06 +01:00
Gabriele C
874d7cd59f Fix remove speed 2015-12-21 20:20:35 +01:00
DNx5
7383242599 Attempt to fix #339 2015-12-13 23:07:58 +07:00
DNx5
1741c38822 Merge remote-tracking branch 'origin/authme-process' into db-improve 2015-12-06 03:46:41 +07:00
DNx5
93484a3449 Merge remote-tracking branch 'origin/master' into authme-process
Conflicts:
	src/main/java/fr/xephi/authme/cache/limbo/LimboCache.java
	src/main/java/fr/xephi/authme/listener/AuthMePlayerListener.java
	src/main/java/fr/xephi/authme/process/register/AsyncRegister.java
	src/main/java/fr/xephi/authme/settings/Settings.java
2015-12-05 03:23:50 +07:00
Xephi
0d1cf8c7e2 Idk how it can be null, but well ... 2015-12-04 17:17:35 +01:00
ljacqu
1ca6bcffe1 Make AuthMe.management private; create test for CaptchaCommand 2015-12-02 22:13:43 +01:00
ljacqu
690a8d67a3 Abstract Messages into two layers; move to new 'output' package
- Abstract Messages into two layers: the top layer 'Messages' is how Messages can be retrieved and sent as before. In the background, package-private, MessagesManager actually does the file read and worries about I/O while Messages takes care of higher-level things (such as joining two lines or checking the current language).
2015-12-01 21:45:02 +01:00
Tim Visée
fdc747d007 Refactored player permissions enum, to make the name suit better 2015-12-01 16:19:05 +01:00
DNx5
d692530035 Moved is player can connect check into prelogin event. 2015-12-01 01:35:30 +07:00
DNx5
029214c080 Fix npe after register. 2015-12-01 01:29:56 +07:00
ljacqu
364583e7db Change use of String permissions to the permission enums 2015-11-28 21:59:29 +01:00
DNx5
2de0e0e819 Set classes to use Messages getter in plugin instance. 2015-11-26 08:17:19 +07:00
ljacqu
d2b3d416a9 Change calls to Messages to use the MessageKey enum 2015-11-24 23:27:28 +01:00
Tim Visée
47b1d00ccf Fixed various spelling and grammar issues 2015-11-23 22:07:32 +01:00
Tim Visée
2e868c7492 Reformatted all code files, cleaned up the project 2015-11-23 21:33:08 +01:00
AuthMe-Team
9ec2d6d059 Stuff from the common floobits workspace
Author:    AuthMe-Team <AuthMeTeam@123NoEmail.com>
2015-11-23 20:23:52 +01:00
Gabriele C
bd1f868c6d standard javadoc 2015-11-21 01:31:18 +01:00
Gabriele C
118c79401a Prepare the project for javadocs 2015-11-21 01:27:06 +01:00
Tim Visée
3500ee6fb7 Replaced code that used legacy deprecated permissions methods 2015-11-20 20:23:03 +01:00
DNx5
6bc5bb3cb1 optimize some code. 2015-11-17 06:54:24 +07:00
DNx5
1562cb7615 missed return statement. 2015-11-03 10:54:26 +07:00
Gabriele C
5e7c5560cf Cleanup2: The Revenge 2015-11-02 00:09:40 +01:00
Gabriele C
3fc2bcde6d Merge pull request #61 from timvisee/master
Moved Utils class to util package
2015-11-01 23:31:26 +01:00
Tim Visée
3643afdea3 Moved Utils class to util package 2015-11-01 23:29:47 +01:00
Gabriele C
7cea79eefc cleanup 2015-11-01 14:41:41 +01:00
vanhec_a
f722fa161a Add a join blocker in case Cache Loading 2015-10-31 17:34:16 +01:00
Xephi59
505bda79f0 Need to calcul position synchronously 2015-10-23 00:37:57 +02:00
Gabriele C
3567fc909d Organize imports 2015-10-09 19:18:24 +02: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
Gabriele C
4b67cf961c fix speed remover 2015-09-20 17:21:49 +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
Gabriele C
026d84427b General npc support, fixes and enhancements 2015-09-15 16:33:32 +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
Xephi59
e33ebb7379 Change some custom event to let them be async 2015-08-28 00:16:26 +02:00
Xephi59
5c059bdd43 Move from Join to Login 2015-08-10 23:15:29 +02:00