2368 Commits

Author SHA1 Message Date
Gabriele C
990830c395 Bump spigot api version, fix BukkitService.runTaskTimerAsynchronously() #2150 2020-07-10 20:55:15 +02:00
Gabriele C
06be8ea6f4 Port thread safety/performance optimizations from #1992 2020-06-26 22:23:50 +02:00
Leo Garbe
35a3ad1867
Fixed unrestricted inventories (#2080) 2020-04-22 12:18:48 +02:00
ljacqu
f7911edd60
#1448 Create AuthMePlayer to get player data from API with (#2000)
* #1448 Create AuthMePlayer to get player data from API with

* #1448 Add tests for new API method & AuthMePlayer

* #1448 Create AuthMePlayer to get player data from API with
- Use Optional for all values that may be null

* #1448 Add comment that AuthMePlayer data does not update itself
2020-02-12 20:06:42 +01:00
Gabriele C
0e8da5a556 Fix the GeoIp DB updater 2020-01-26 22:29:14 +01:00
Drc-DEV
8fb21c5fb4 Add method to get the registration date to the API (#1993)
* Add method to get the registration date to the API

* Removed unnecessary check

* Add method to get the registration IP to the API
2020-01-24 23:09:28 +01:00
Gabriele C
b85ba98d85 Add bStats pluginId 2020-01-22 10:47:08 +01:00
Gabriele C
4796069ff8 Link to EssentialsX's MaxMind license tutorial 2020-01-21 10:33:46 +01:00
Gabriele C
a43127dd2b
Update the GeoIp database download method [BREAKING] (#1990)
* Update the GeoIp database download method [BREAKING]

Now GeoIp database updates require a ClientID and a LicenseKey, which can be obtained for free at https://www.maxmind.com/en/accounts/current/license-key

* Codestyle
2020-01-21 10:28:50 +01:00
Gabriele C
e05c07799d Compile against 1.15 api, update luckperms to 5.0 (breaking change) 2019-12-12 16:41:44 +01:00
ljacqu
442737c27c Output server details if AuthMe stops because of server type (#1946) 2019-12-08 20:12:30 +01:00
ljacqu
e31cb5bb9e Fix some CodeClimate issues
- Mostly missing Javadoc on methods & line length violations
2019-11-03 10:54:43 +01:00
Arvind Kumar
d6711d83b3 Fixes in documentation (#1927)
* Fixed typos and grammer in documentation
2019-10-17 08:34:27 +02:00
Gabriele C
d30580d5d4
Listener optimizations (#1884)
* Drop CraftBukkit support, listeners cleanup

* Codestyle

* Codestyle

* Remove useless player.saveData() calls

* Micro optimization on the join process

* Requested changes

* Fix unit test

* Test onPlayerHeldItem listener

* Requested changes

* Remove unused import
2019-08-11 23:47:50 +02:00
ljacqu
e2f2ff0763 #1874 Output number of loggers in /authme debug stats 2019-08-11 11:36:28 +02:00
ljacqu
363e85e363 Set up logger at start of initialization to avoid NPE on errors later on
- Thanks to sgdc3 for the hint
2019-08-11 11:32:03 +02:00
ljacqu
647ee245e0 #1874 Format debug messages in log, use Java 8 date formatter
- Format debug messages properly in the authme.log as well
- Replace DateFormat with Java 8's DateTimeFormatter (which is thread-safe)
2019-08-10 22:44:57 +02:00
Gabriele C
48357831cd
Revert "Packet based movement freeze (#1879)" (#1882)
This reverts commit db3acce70c2096054e7854d318cf29688280a6fd.
2019-08-07 10:49:23 +02:00
Gabriele C
db3acce70c Packet based movement freeze (#1879)
* Remove unused files
* Remove walk/fly speed from limbo player
* Implement packet based movement freeze
2019-08-07 06:47:00 +02:00
Hex3l
fadda43d13 Improves spawn choice if undefined (#1880)
* Improves spawn choice if undefined #1700

* Just a missing line <.<

* Moves the checks into the "default" case
2019-08-07 01:01:55 +02:00
ljacqu
d87fa860e6 Add test for UuidUtils 2019-08-06 19:42:06 +02:00
ljacqu
c34f00f759 #1874 Introduce individual ConsoleLogger instance per class (#1875)
* #1874 Introduce individual ConsoleLogger instance per class
- Create ConsoleLoggerFactory from which a separate logger can be created for each class
- Allows to support individual log level settings in the future

* Fix CodeStyle issue

* Replace full class name with import

* Update usages after merge from master
2019-08-06 15:15:16 +02:00
Alexandre Vanhecke
254d4d75a2 Add optional column for players uuids (#1840) 2019-08-06 15:13:13 +02:00
ljacqu
7bede2528f
#1523 Create admin commands to handle players' 2FA data (#1876)
* #1523 Create admin commands to handle players' 2FA data
- Create admin command to view if a player has enabled 2FA
- Create admin command to disable 2FA for a specified player
2019-08-05 19:31:59 +02:00
ljacqu
f0d3d085c6 #1574 Use server name in 2FA QR code link instead of IP 2019-08-02 15:38:13 +02:00
ljacqu
210a4f61cb #1219 Make 2FA tokens one-use only (#1848)
- Make TotpAuthenticator keep track of the used codes and reject any known ones
2019-07-06 18:26:43 +02:00
ljacqu
fc06558687 Minor: change bukkit service to return a plain collection of Player
- List is read-only and can be easily "upcast" to Collection<Player>
- Remove awkward hack that was needed for mocking the method previously (issues with generics)
2019-06-22 23:50:06 +02:00
ljacqu
81cf14fbc1 #1752 #1830 Do not hide inventory if player is not registered 2019-06-22 23:30:56 +02:00
ljacqu
4be130b71b Fix #1493 Extract handling of message file paths to a separate class with constants 2019-06-22 22:37:32 +02:00
ljacqu
ff2f43bdc5 #1743 Stop mobs from targetting players when not authenticated 2019-06-22 20:54:01 +02:00
ljacqu
d1b6161687 Minor: print stack trace if AuthMe is disabled due to exception, remove unused imports 2019-06-17 22:47:15 +02:00
ljacqu
e9cd16aaac Undo star imports 2019-06-17 21:58:25 +02:00
Gabriele C
ce4bb43dee Remove bPermissions support 2019-05-02 10:42:24 +02:00
Gabriele C
5b97841699 Add 1.14 compatibility 2019-04-23 17:18:42 +02:00
Alexandre Vanhecke
44cb787577 Add an option to disable MySQL server certificate check - Fix #1735 2019-04-05 22:31:47 +02:00
Gabriele C
a347b4a9bb
Remove sponsor message 2019-01-12 14:03:02 +01:00
Gabriele C
bdbb7d79fd
Specify licensing in about command 2019-01-12 12:17:08 +01:00
Gabriele C
98efa35183
Happy new year! 2019-01-01 03:52:25 +01:00
Kristjan Krušič
696bcc7ba6 Update the copyright year to 2018 just in time. (#1721)
We can't just skip from 2017 to 2019.
2019-01-01 03:50:41 +01:00
games647
2f7672b489
Hide the inventory for online players on reload (Related #1709) 2018-12-25 16:58:03 +01:00
ljacqu
75e1e5ce51 #1707 Make column context thread-safe 2018-12-17 20:42:43 +01:00
ljacqu
c27a8d359c Merge branch '5.5.0' of https://github.com/AuthMe/AuthMeReloaded 2018-12-04 19:52:12 +01:00
ljacqu
136b9e4b6e Close #1317 Remove migration of lastlogin column from timestamp to bigint 2018-12-04 19:51:11 +01:00
ljacqu
e84be5e4de #1702 Consider that Vault permission handler may return null for permission groups 2018-12-04 19:45:46 +01:00
ljacqu
80647c04f4 Merge branch '5.5.0' of https://github.com/AuthMe/AuthMeReloaded 2018-12-04 19:05:14 +01:00
ljacqu
f431325516 #1650 Fix users with capitals not having their session saved 2018-12-04 19:04:25 +01:00
Gabriele C
427251a4f3 Actually support 1.8 servers 2018-12-02 00:28:14 +01:00
Gabriele C
650a97647a Drop FlatFile storage converter
It's time...
2018-11-30 15:29:30 +01:00
Gabriele C
24804d3f12 Better server version warning message 2018-11-30 15:20:13 +01:00
Gabriele C
04a835a282 Check server version on startup 2018-11-30 15:17:54 +01:00