2578 Commits

Author SHA1 Message Date
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
Gabriele C
d89f8e0e66 Fix build 2018-11-30 14:47:08 +01:00
Gabriele C
c11e4b9f15 Remove 1.7 support 2018-11-30 09:23:30 +01:00
Gabriele C
fdcbb3334e Abort initialization if AuthMeBridge is enabled. 2018-11-21 13:15:21 +01:00
Gabriele C
3e1d217973 Fix gson dependency 2018-10-23 16:56:49 +02:00
Alexandre Vanhecke
0b0e8d71b7 Implements whitelist for inventories interactions (#1657) 2018-10-10 02:35:35 +02:00
montlikadani
1d6729425f Do not create a welcome.txt file when boolean is false (#1633)
* Update WelcomeMessageConfiguration.java

* Update WelcomeMessageConfiguration.java

* Fix compile error
2018-10-09 02:21:21 +02:00
Gabriele C
7f91b739f2 Maven cleaup 2018-09-17 22:55:36 +02:00
Gabriele C
09c3e7bf22 Drop deprecated v2 API 2018-09-17 20:21:09 +02:00
Gabriele C
f7024d5382 Fix #1625 2018-09-17 20:16:05 +02:00
Gabriele C
867ac87f1c
Bungee: send OP players by default 2018-09-12 13:04:56 +02:00
ljacqu
22c08c9fc3 #1449 Fix copying of Commands, add tests with command delay 2018-09-11 22:04:27 +02:00
ljacqu
035c2f352a #1449 Update commands.yml and make getter/setter in sync for new delay property 2018-09-09 15:53:39 +02:00
ljacqu
b7f0159618 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into delay-commands-event 2018-09-09 15:49:12 +02:00
ljacqu
ee764c0a6e
Update configme (#1631)
* Upgrade to ConfigMe 1.0.1
* Use ConfigMe reader whenever possible, minor simplifications
2018-09-09 15:45:00 +02:00
ljacqu
b22f26822b
#1627 Replace BCryptService with Maven dependency (#1629)
* #1627 Replace BCryptService with Maven dependency
- Remove BCryptService in favor of a better BCrypt implementation (Maven dependency)
- Introduce BCryptHasher wrapping the dependency with more suitable methods
- Fix inaccurate details about salt length in docu annotation: for BCrypt it's always 22 chars
- Change phpBB hash to produce 2y hashes instead of 2a

* #1627 Use UTF-8 encoding when (dis)assembling Strings

* #1627 Small test additions
2018-09-03 23:13:48 +02:00
Alan Gomes
d39562d624 Create permission to bypass bungeecord server teleportation (#1626) 2018-09-02 13:01:04 +02:00
Alan Gomes
4be174f083 Add PostgreSQL support (#1620)
* Add PostgreSQL support

* Fix code issues and create integration tests

* Fix identation

* Test Postgres data source in postgres integration test

* Relocated the postgres driver
2018-09-02 12:12:35 +02:00
ljacqu
f79c364f84 Minor fixes as reported by CodeClimate 2018-09-01 09:17:42 +02:00
ljacqu
58e04556ee Checkstyle: Add 'WhitespaceAfter' check, fix some violations 2018-09-01 08:38:14 +02:00