Commit Graph

452 Commits

Author SHA1 Message Date
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
ljacqu 93cddb7a5c Merge enum branch into master 2015-11-26 21:45:06 +01:00
Gabriele C 34e81b518f clean imports 2015-11-26 18:35:22 +01:00
DNx5 7a78b321e7 refactor all class to use the message key for sending messages. 2015-11-26 10:18:53 +07:00
DNx5 2de0e0e819 Set classes to use Messages getter in plugin instance. 2015-11-26 08:17:19 +07:00
ljacqu 43a60dc091 Change lost in merge 2015-11-25 22:21:37 +01:00
ljacqu 644f7e8541 Merge origin/enum into local branch 2015-11-25 22:18:21 +01:00
ljacqu d2b3d416a9 Change calls to Messages to use the MessageKey enum 2015-11-24 23:27:28 +01:00
DNx5 25c23e144c - send blank inventory on logout if protect inventory is enabled.
- added reload support for protect inventory option.
2015-11-25 00:14:45 +07:00
Gabriele C fb6ddb4b59 Cleanup 2015-11-24 17:47:10 +01:00
DNx5 b4b92e5a93 reordering local variable scope in captcha command 2015-11-24 05:46:28 +07:00
Tim Visée 82bf0f45ca Finalized some fields, removed redundant code, various other fixes 2015-11-23 22:14:03 +01:00
Tim Visée 83e5d726af Improved various code bits 2015-11-23 22:12:01 +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
ljacqu efb57989ed Start tests for email commands
- Removed randomStringGenerator from Management as it is unused
2015-11-21 19:51:49 +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
Gabriele C adcd70b91d auto cleanup 2015-11-21 01:15:52 +01:00
Gabriele C ada992785c login process cleanup 2015-11-21 00:36:46 +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
Xephi 4a49809ff2 Change to is Empty 2015-11-16 18:52:54 +01:00
Gabriele C ddda62aa14 cleaup 2015-11-07 00:13:29 +01:00
Xephi 6f56e865b7 We hope if player is authenticated, he is registered :') 2015-11-04 09:09:19 +01:00
DNx5 375162ab67 update email commands to use new async process 2015-11-03 14:41:05 +07:00
DNx5 4eb94787ac implement async change email into management class. 2015-11-03 14:22:32 +07:00
DNx5 f6a91085bd added async change email process 2015-11-03 14:16:57 +07:00
DNx5 e3166c6807 update management class 2015-11-03 12:52:07 +07:00
DNx5 ce432aa25a add exception to datasource method signature. 2015-11-03 12:38:24 +07:00
DNx5 1562cb7615 missed return statement. 2015-11-03 10:54:26 +07:00
DNx5 872856e729 create teleportTospawn method in Utils class 2015-11-03 03:42:02 +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 7824131cec Remove old loading chunk system 2015-11-01 13:34:21 +01:00
vanhec_a 6007ffb8ef Add some entry to api 2015-10-31 18:40:31 +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 9c19f568fd fix conflict 2015-10-12 17:51:05 +02:00
vanhec_a 8ad2fde798 Remove REALLY old loading chunk system before teleport 2015-10-12 13:56:12 +02:00
Gabriele C 3567fc909d Organize imports 2015-10-09 19:18:24 +02:00
Gabriele C 4c2348e6e3 CleanUp (removed setinventory api method 2015-10-03 12:19:49 +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
games647 47f0f0e927 Fix duplicate registers 2015-09-28 20:08:51 +02:00