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
1c3ca520dc
Fix player being unable to walk after admin registration
...
- Fix sessions still working after being disabled on reload
2016-07-04 19:56:44 +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
games647
ed6ba3ac8d
Restore the inventory on disabling inventoryProtect on reload
...
(Fixes #818 )
2016-07-03 17:31:13 +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
8f5817883e
Testing - check return value of Set#add instead of separately checking Set#contains
2016-07-03 11:47:37 +02:00
ljacqu
2420a83ec3
#797 Add missing French messages
...
- Thanks to @Twonox
2016-07-03 09:49:38 +02:00
ljacqu
a9574d2363
#819 Email text migration - migrate %tag% style placeholders as well
2016-07-02 22:22:03 +02:00
ljacqu
3984208548
#797 Make two messages translatable
2016-07-02 21:52:50 +02: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
ljacqu
d2556b8a04
#817 Sessions timeout - remove mention of 0 = unlimited in config comments
2016-07-02 19:39:13 +02:00
ljacqu
22911a0bb9
Remove duplicate column initialization code, add datasource integration tests
...
- Drop initialization of all columns on table create in favor of checking each column individually. This is slower but guarantees that each column is only defined once in the code. Columns are only created once so having clean code outweighs performance.
- Write more datasource integration tests
2016-07-02 19:16:26 +02:00
ljacqu
f1d5f3df28
Merge conversion classes to one class per conversion type
...
- Fix issues in #736 using service getters
2016-07-02 15:18:13 +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
ljacqu
0283395da4
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into jsoncache-fix
...
Conflicts:
src/main/java/fr/xephi/authme/listener/protocollib/ProtocolLibService.java
2016-07-02 11:01:46 +02:00
ljacqu
70226f7ddb
#813 Move test resources to conform to package structure
2016-07-02 10:57:30 +02:00
ljacqu
de3f3a42ab
#679 Fix compatibility with InnoDB/XtraDB engine
...
- Includes other improvements in collation and data types
2016-07-02 10:24:44 +02:00
ljacqu
1f35ccd841
Improve bat helpers / minor changes to logging and todo messages
2016-07-02 10:17:52 +02:00
ljacqu
73a9b5ce0c
Cleanup - reduce duplication in MySQL class
2016-07-02 08:28:37 +02:00
ljacqu
6585b68749
Fix TeleportationService tests + rename methods
...
- Fix and supplement unit tests for TeleportationService
- Rename methods as to avoid confusion (login vs. LoginEvent when player joins)
- Add javadoc with note about Player#hasPlayedBefore always being false
2016-06-30 22:38:36 +02:00
ljacqu
1cadbd2345
Minor code householding
...
Various neglectable changes while looking at recent commits
- Remove Inject annotation on ProtocolLib adapters that are no longer created via injection
- Reduce ProtocolLib adapters to package private - interaction always goes via ProtocolLibService
- Fix typos
2016-06-30 20:50:13 +02:00
games647
a02c1c4e60
Change to a total task timeout instead of individual one
2016-06-29 17:48:33 +02:00
DNx5
abf6645620
Fix test
2016-06-29 22:31:10 +07: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
609b148157
Touch the file, it works fine now.
2016-06-29 06:19:49 +07:00
DNx5
b455e20811
- Fix NPE in JsonCache.
2016-06-29 06:06:54 +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
DNx5
ad068ffba0
- Make JsonCache injectable
...
- Only inject needed field
2016-06-29 04:49:10 +07:00
Gabriele C
6b13f9d370
Fix plugin version in plugin.yml
2016-06-28 22:14:30 +02:00
Gabriele C
cca668a2dd
Merge pull request #142 from AuthMe-Team/random-logout
...
Fix random logout
2016-06-28 22:01:31 +02: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
Gabriele C
ffa92def12
Create ISSUE_TEMPLATE.MD
...
#801
2016-06-28 16:47:58 +02:00
DNx5
145747505f
Use JsonCache correctly, couldn't list all changes.
2016-06-28 21:36:58 +07:00
Gabriele C
451a570c73
Cleanup
2016-06-28 16:17:01 +02:00
Gabriele C
1c5d4d697a
Merge branch 'master' into random-logout
2016-06-28 16:14:19 +02:00
Gabriele C
c383c072ff
Remove my stupid code
2016-06-28 16:12:20 +02:00
games647
837bbd69ac
Remove the debug code as the source for random-logouts is found
2016-06-28 16:09:32 +02:00
games647
469e8d3a48
Refactor sessions a bit to fix #419
2016-06-28 16:03:04 +02:00
Gabriele C
70b57b389e
Cleanup
2016-06-28 14:28:37 +02:00
games647
874869cef8
Fix NPC showing when authenticated ( Fixes #791 )
2016-06-28 12:26:03 +02:00