Gabriele C
58c42cf300
Package cleanup
...
- authme.cache to authme.data
- Rename PlayerData to LimboPlayer to match with LimboCache
- Move authme.converter to authme.datasource.converter
- Split output package into output and message
2016-10-05 21:10:40 +02:00
Gabriele C
42dbb27728
Service cleanup
2016-10-04 19:08:18 +02:00
ljacqu
8d64c0e5bf
#830 Initialize login process with more specific methods (with password vs. force login)
2016-10-01 00:48:23 +02:00
ljacqu
4eab258993
#937 Add option for AuthMe to run in sync
...
- Create BukkitService#runTaskOptionallyAsync and BukkitService#scheduleSyncTaskFromOptionallyAsyncTask whose behavior depends on a new setting
- Use the new methods where applicable
- Declare events async or sync depending on the new setting
2016-09-18 21:58:14 +02:00
ljacqu
2f1613840e
#736 Remove getter for Management instance on main class
2016-08-20 22:03:11 +02:00
Gabriele C
57ff91eedc
Damn git
2016-08-09 14:56:15 +02:00
Gabriele C
76f0178d0f
Whoops
2016-08-09 14:53:50 +02:00
Gabriele C
4f1d6585cf
Cleanup, take 3
2016-08-09 14:53:22 +02:00
Gabriele C
b8d2d61ec5
Revert "Cleanup"
...
This reverts commit 7fc195336f9afde3f1baf4ca97eb94d4ad02c752.
2016-07-27 09:51:01 +02:00
Gabriele C
7fc195336f
Cleanup
...
@ljacqu What to do with the management instance in the main class
(unused now)
2016-07-27 02:24:46 +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
ljacqu
3b06524796
#762 Use timestamps for session + #816 Logout should invalidate a player's session
2016-07-15 19:35:35 +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
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
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
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
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
ljacqu
15886fb517
#723 Let LimboPlayer task manager decide which message key to use
...
- Pass boolean (is registered) value and determine internally which message key (email registration vs. regular) to use in the message task
2016-06-15 20:37:00 +02:00
ljacqu
5cbb83e153
Code householding, add tests to TempbanManager
...
- Delegate event firing to BukkitService
- Write tests for IP banning function
- Update comments on tempban properties in config.yml
2016-06-14 21:52:43 +02:00
ljacqu
89bbfc48ee
#723 Create provider for TimeoutTask and MessageTask, remove LimboCache#getInstance
...
- Create class to handle the creation of "LimboPlayer tasks" (adds encapsulation, reduces duplication)
- Move group setting into its own class because (mutual dependency between LimboCache and PermissionsManager otherwise)
2016-06-12 22:00:05 +02:00
ljacqu
d6e1fd5ceb
Use injection in and for LimboCache, migrate some legacy settings, remove setGroup from Utils
...
- New injector method allows to retrieve services if they've already been instantiated -> useful for onDisable() which might be run after aborted initialization
- Deprecate various methods that need to be removed
2016-06-12 16:14:34 +02:00
ljacqu
3cdec91255
Do not teleport unregistered player if registration is optional
2016-06-12 12:48:32 +02:00
ljacqu
68d5145cd7
#729 Refactor spawn handling into separate service (work in progress)
2016-06-12 12:46:03 +02:00
Gnat008
0cc5dd2cd5
Remove code causing issues
2016-06-11 20:54:50 -04:00
Gnat008
26cb7464e1
Re-add a scheduled task
2016-06-11 20:49:15 -04:00
Gabriele C
01f297919d
1.10 API + cleanup
2016-06-11 17:46:24 +02:00
ljacqu
25f5fdb45c
Code householding (PlayerListener / Settings)
...
- Use field on PlayerListener for storing nickname pattern -> repeatedly parsing pattern is expensive
- Remove unused legacy setting fields
- ForceFlatToSqlite cannot be run from converter command -> remove Converter interface to create more natural method signatures
2016-05-28 22:04:55 +02:00
games647
466fb8cab9
Run explicit non-thread-safe setGameMode sync
2016-05-26 10:52:49 +02:00
Gabriele C
55cc882002
Remove scheduler methods from the ProcessService
...
@ljacqu it's ok now? ;)
2016-05-24 16:07:03 +02:00
Gabriele C
740b44ca36
cleanup
2016-05-23 23:49:56 +02:00
ljacqu
c1885a381b
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 707-process-as-service
...
Conflicts:
src/main/java/fr/xephi/authme/process/join/AsynchronousJoin.java
src/main/java/fr/xephi/authme/process/login/AsynchronousLogin.java
2016-05-20 19:48:41 +02:00
ljacqu
3f039d641a
#707 Convert sync processes into services
2016-05-20 19:42:30 +02:00
Gabriele C
92287cb5dd
Delay the first "please login/register" message on join
2016-05-19 23:18:16 +02:00
ljacqu
f5c89e897f
#707 Convert async processes as services
...
(work in progress - rough, untested changes)
2016-05-17 19:49:06 +02:00
games647
ee08087871
Fix a couple race conditions ( Fixes #698 and #697 )
2016-05-08 20:44:18 +02:00
ljacqu
02079f1f5c
#432 Create custom dependency injector
2016-04-27 22:49:20 +02:00
ljacqu
59d3bc95c0
Move getOnlinePlayers() from Utils to BukkitService; delete Wrapper
2016-04-23 15:24:41 +02:00
ljacqu
0dab887848
Code householding
...
- Various migrations from legacy settings to new settings
- PlayerListener: use shouldCancelEvent() to see if chat should be canceled
- Merge permission manager listener with general server listener
2016-04-23 00:18:03 +02:00
Gabriele C
ee177e8a3a
Remove the IPManager
...
We don't need it anymore
2016-04-08 14:34:21 +02:00
Gabriele C
68ef28df08
Fix minor issues
2016-04-07 22:51:02 +02:00
Gabriele C
ee3299afd2
Fix startup error #643
2016-04-07 19:10:57 +02:00
Gabriele C
88e517635c
wtf was that xD
2016-04-03 13:03:16 +02:00
Gabriele C
de89244e0e
#630 Disable collisions for unlogged players
2016-04-01 18:21:05 +02:00
ljacqu
8293766f98
#421 Create SpawnLoader
...
- Non-static service class which handles the spawnpoints used in AuthMe
2016-03-12 18:25:38 +01:00