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
ljacqu
8b27444a49
#421 Create PluginHooks
...
- PluginHooks manages third-party plugins and allows to perform actions and queries on them, instead of public fields on the AuthMe main class
2016-03-12 18:24:34 +01: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
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
ljacqu
dede592c55
#547 add process service to AsyncJoin
2016-02-28 20:03:06 +01:00
DNx5
8324decfa1
Merge branch 'master' into db-improve
...
Conflicts:
src/main/java/fr/xephi/authme/AuthMe.java
2016-02-26 12:42:32 +07:00
DNx5
4e011f437a
Change message & timeout task to run synchronously.
2016-02-22 22:11:03 +07:00
ljacqu
614d544edf
#534 Send error if name is restricted (this time for real)
2016-02-20 07:26:58 +01:00
ljacqu
f5b5595f08
#525 Make "not owner" kick reason translatable
2016-02-14 21:46:47 +01:00
ljacqu
b3734f4010
#415 Move some permission nodes out of authme.player.*
...
- Move certain permission nodes outside of the authme.player branch
- Update classes / permissions list
- Remove wildcard node from code completely (since not used)
2016-02-14 14:15:02 +01:00