ljacqu
18a9fbaa26
#449 Migrate remaining non-group legacy Settings
2016-07-23 14:44:52 +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
ea6603a6dc
Fix registered players being teleported to first spawn, fix player losing his speed
2016-07-04 21:38:23 +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
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
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
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
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
ljacqu
3f039d641a
#707 Convert sync processes into services
2016-05-20 19:42:30 +02:00
ljacqu
f5c89e897f
#707 Convert async processes as services
...
(work in progress - rough, untested changes)
2016-05-17 19:49:06 +02:00
Gabriele C
ee177e8a3a
Remove the IPManager
...
We don't need it anymore
2016-04-08 14:34:21 +02:00
DNx5
ff17e4ca6b
Minor improvement.
2016-04-01 13:05:26 +07:00
ljacqu
654cebd5a7
Minor - rename LimboPlayer methods + code householding
...
- Rename *taskId methods to *task to reflect what they handle
- Remove usages of Wrapper where applicable
- Replace some uses of legacy Settings with NewSetting calls
2016-03-06 15:46:49 +01:00
ljacqu
31bac6964f
Various code householding
...
- Adjust javadoc
- Remove unused PlayerAuth constructor
- Replace legacy Settings with NewSetting calls
- Add process service to all (a)sync processes
- Change IP manager to only cache the calls to the VeryGames API
2016-03-06 14:42:19 +01:00
ljacqu
aeb8307a46
#432 #547 Remove public IP cache map; make processes use ProcessService
...
- Create IP address manager for handling and caching IP addresses -> outside of the manager I do not want to care about caching details
- Make more processes use the ProcessService in favor of statically injected objects
2016-03-01 22:47:28 +01:00
DNx5
b4aebb685c
Remove player from cache on quit.
2016-02-26 13:10:49 +07:00
DNx5
4e011f437a
Change message & timeout task to run synchronously.
2016-02-22 22:11:03 +07:00
games647
678891d0b8
Don't schedule more tasks if the plugin is disabled
...
(Fixes Xephi/AuthMeReloaded#433 )
2016-01-26 21:30:11 +01:00
Xephi
c8fa9a146e
reduce check
2016-01-08 19:26:26 +01: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
81a9811c9b
Revert "Add a way to handle a player logout in playerquit into bungeecord"
...
This reverts commit a3a3907586540d834297dc054bb3d1dfc7855548.
2015-12-30 15:11:17 +01:00
Xephi
a3a3907586
Add a way to handle a player logout in playerquit into bungeecord
2015-12-30 14:40:19 +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
e4fbe4ec53
Fix npc issues ( #320 )
...
This will fix 1 bug..... and will generate new ones! :P
2015-12-08 20:52:45 +01: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
Gabriele C
118c79401a
Prepare the project for javadocs
2015-11-21 01:27:06 +01:00
Xephi
4a49809ff2
Change to is Empty
2015-11-16 18:52:54 +01:00
Xephi
6f56e865b7
We hope if player is authenticated, he is registered :')
2015-11-04 09:09:19 +01:00
Gabriele C
5e7c5560cf
Cleanup2: The Revenge
2015-11-02 00:09:40 +01:00
Tim Visée
3643afdea3
Moved Utils class to util package
2015-11-01 23:29:47 +01: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
DNx5
4e275eeb1d
change Utils to static class.
2015-09-20 14:11:17 +07:00
Gabriele C
f63fe5bc37
Enhance combattag hook
2015-09-15 21:11:56 +02:00
Gabriele C
026d84427b
General npc support, fixes and enhancements
2015-09-15 16:33:32 +02:00
Xephi59
e33ebb7379
Change some custom event to let them be async
2015-08-28 00:16:26 +02:00