ljacqu
bcc31afb90
#761 Add group options as Property objects and #449 remove legacy Settings class
2016-07-23 15:34:48 +02:00
ljacqu
18a9fbaa26
#449 Migrate remaining non-group legacy Settings
2016-07-23 14:44:52 +02:00
ljacqu
a8df8ceb09
#605 Add custom log levels, create debug logging method
...
- Log levels in the log file too
- Create migration from old boolean "stop spam" property to new log level property
2016-07-22 17:45:00 +02:00
Gabriele C
b439a0391c
Add option to apply the protection also to registered users #860
2016-07-16 21:10:29 +02:00
ljacqu
3b06524796
#762 Use timestamps for session + #816 Logout should invalidate a player's session
2016-07-15 19:35:35 +02:00
ljacqu
42c3dcbbcb
Revert code changes to single session
2016-07-12 22:23:53 +02:00
ljacqu
4a41f51384
Merge remote-tracking branch 'origin/master'
2016-07-12 22:15:28 +02:00
ljacqu
8ce1d53403
Merge remote-tracking branch 'origin/master'
2016-07-12 22:15:22 +02:00
Gabriele C
7568453cde
Don't remove session twice
2016-07-12 22:14:33 +02:00
Gabriele C
09d6f5c923
Close #816
2016-07-12 22:10:30 +02:00
ljacqu
e7b980d435
#605 Logger - name methods after their log level
...
- Remove separate print stacktrace method
- Log level into the log similar to console output
2016-07-12 22:06:32 +02:00
ljacqu
dccbd5262f
Don't update IP twice
...
- IP is updated in datasource#updateSession after successful login
- Remove no longer used DataSource#updateIp
2016-07-12 21:45:05 +02:00
Gabriele C
4a37e1a4ab
Cleanup
2016-07-11 22:45:22 +02:00
Gabriele C
2483f21ece
Wtf was that, this may fix a long list of issues!
2016-07-11 22:14:51 +02:00
Gnat008
1ef3fbd0d8
Merge remote-tracking branch 'origin/master'
2016-07-11 15:05:50 -04:00
Gnat008
351431d1d8
Move Bungee interactions to new service class
2016-07-11 15:05:38 -04:00
ljacqu
97274d8c19
#843 Fix NPE upon registration
...
- Let login classes handle the login process, remove duplications in register classes
2016-07-11 20:42:28 +02:00
games647
4f68589b76
Fix restoring inventory on register (Related to #818 )
2016-07-11 17:15:58 +02:00
ljacqu
c9c4e69e1b
#838 Fix force spawn on join setting
...
- Add call to teleport service after login and logout
2016-07-10 13:04:35 +02:00
games647
dff09935e6
Check settings async
...
Based on
6be58ee2e2 (commitcomment-18154945)
2016-07-07 11:34:22 +02:00
games647
6be58ee2e2
Run non-thread-safe addPotionEffect sync on unregister ( Fixes #828 )
2016-07-07 11:06:38 +02:00
ljacqu
d8f6fb085e
Cleanup - remove unused elements in code
2016-07-04 21:53:22 +02:00
ljacqu
ea6603a6dc
Fix registered players being teleported to first spawn, fix player losing his speed
2016-07-04 21:38:23 +02:00
ljacqu
2867ebaddd
Fix failing test
2016-07-04 20:31:40 +02:00
ljacqu
c040623739
Merge 765-teleport-handling into jsoncache-fix
2016-07-04 18:47:34 +02:00
DNx5
140275f366
- Add restore method in LimboCache
...
* Apply it to process that have use of it
- Fix fly & walk speed not get restored
2016-07-04 13:21:57 +07:00
ljacqu
06322f37bf
#765 Don't teleport after registration; make UnregisterAdminCommand use the unregister process
2016-07-03 21:57:44 +02:00
ljacqu
7788ad6230
#765 Replace Utils usages with TeleportService + misc householding
...
- Remove some legacy settings
- Move Utils "addNormal" method to AuthGroupHandler
(Reapplied changes from orphaned fe29089)
2016-07-03 19:55:31 +02:00
DNx5
deffcb3e2b
- Renamed JsonCache to PlayerDataStorage
...
* the methods inside it renamed to fit with class name
* cache folder changed into playerdata
- Renamed LimboPlayer to PlayerData
- Added fly speed to PlayerData
- Removed player's name from PlayerData object
- Added getPlayerLocationOrSpawn method in spawn loader.
2016-07-03 21:52:46 +07:00
DNx5
7ea0763966
Merge remote-tracking branch 'origin/master' into jsoncache-fix
...
Conflicts:
src/main/java/fr/xephi/authme/settings/Settings.java
2016-07-03 19:53:55 +07:00
ljacqu
9a5c432509
#655 Encapsulate mail service
...
- Change SendMailSSL to be injected into classes and created regardless of settings
- Various minor cleanups (remove accidentally committed test, add more precise logging statement)
2016-07-02 20:56:53 +02:00
games647
bc9717d650
Remove tablist hider because it's useless and produces too much issues
...
(Related #810 )
2016-07-02 12:27:07 +02:00
DNx5
5726b0d326
Fix player always teleport to spawn on join.
2016-06-29 22:02:45 +07:00
Gabriele C
56d6fd81b4
Cleanup
2016-06-29 16:18:12 +02:00
Gabriele C
b1b56f2d51
Cleanup, updated some settings
2016-06-29 15:56:55 +02:00
DNx5
22a4ef93bf
- Remove unnecessary @Inject on field.
...
- Teleport player to spawn immediately on PlayerLoginEvent.
- Only save authenticated player's location on quit.
- Fix player's last location get reset if fail to login.
2016-06-29 20:25:01 +07:00
DNx5
392b8ac19e
Sync with master.
2016-06-29 05:17:56 +07:00
DNx5
98c8e00f5a
Merge remote-tracking branch 'origin/master' into jsoncache-fix
...
Conflicts:
src/main/java/fr/xephi/authme/AuthMe.java
src/main/java/fr/xephi/authme/process/quit/AsynchronousQuit.java
2016-06-29 05:00:16 +07:00
games647
348e796752
Switch to the new properties settings
2016-06-28 20:47:22 +02:00
DNx5
45d8e24350
- Fix fly speed not get restored after login.
...
- Attempt to fix #592
2016-06-29 00:34:31 +07:00
DNx5
145747505f
Use JsonCache correctly, couldn't list all changes.
2016-06-28 21:36:58 +07:00
games647
469e8d3a48
Refactor sessions a bit to fix #419
2016-06-28 16:03:04 +02:00
games647
2f341029a6
Use bukkit's updateInventory method for restoring NBT data
2016-06-28 11:25:24 +02:00
Gnat008
23836cda6a
#604 - Move ProtocolLib adapters to new package and add ProtocolLibService
2016-06-27 15:38:43 -04:00
Gnat008
1326606f37
#762 - Move all sessions stuff to new SessionManager class
2016-06-27 13:50:16 -04:00
Gnat008
0c96a3113b
Encapsulate fields in main class; see #762 #655 #604
2016-06-27 11:25:12 -04:00
DNx5
99704e7c29
- Quick fix. Safely update player's inventory.
...
* because it bugs me when i have items with custom NBT Tag
2016-06-27 16:50:45 +07:00
Gabriele C
75f64624bb
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded
2016-06-26 18:18:31 +02:00
Gabriele C
a998354fa2
Project cleanup
2016-06-26 16:19:55 +02:00
ljacqu
df060ff29c
Remove legacy setting + remove obsolete todo comment (wontfix #492 )
...
- Remove migrated legacy setting
- Remove months old todo comment
- Remove large chunk of commented out code and merge two explanations
2016-06-25 01:14:01 +02:00