560 Commits

Author SHA1 Message Date
HaHaWTH
217b411095 GUICaptcha is now beta 2023-10-19 23:40:50 +08:00
HaHaWTH
12cfd243f6 Prepare for B29 2023-10-19 22:09:56 +08:00
HaHaWTH
3dab24c142 Delete useless options & make code more readable 2023-10-19 22:03:23 +08:00
HaHaWTH
76b92bacd9 Prepare for B28 2023-10-15 10:25:26 +08:00
HaHaWTH
1e9058a5cb Clean up 2023-10-15 09:08:48 +08:00
HaHaWTH
11a1547242 Rewrite the update checker 2023-10-14 21:52:05 +08:00
HaHaWTH
17ee5dc97b Prepare for B27 2023-10-14 20:37:23 +08:00
HaHaWTH
f978b285ae Prepare for B26 2023-10-13 18:46:26 +08:00
HaHaWTH
14cc0abdc5 Add LoginLocationFixListener feature 2023-10-13 18:43:05 +08:00
HaHaWTH
e6be595c16 Prepare for B25 update 2023-10-01 19:58:26 +08:00
HaHaWTH
39254506bf Prevent duplicate register listeners(will improve performance) 2023-10-01 19:56:32 +08:00
HaHaWTH
04ad3adbd1 Add 1.8 compatibility & Bump to B24 2023-09-30 15:22:34 +08:00
HaHaWTH
1c25908a04 Bump to Alpha 4 2023-09-30 10:12:43 +08:00
HaHaWTH
84a8137955 Bug Fix 2023-09-30 10:10:25 +08:00
HaHaWTH
038d4c1850 logic improvement 2023-09-30 09:55:26 +08:00
HaHaWTH
401933038d It works! 2023-09-30 09:02:47 +08:00
HaHaWTH
6800356f10 Small tweaks 2023-09-29 15:29:44 +08:00
HaHaWTH
d1ebcfeef0 Fix 2023-09-29 15:22:16 +08:00
HaHaWTH
5305bf0bfd Fix 2023-09-29 15:09:32 +08:00
HaHaWTH
78c5ab5d8a Add banner color switch option & advanced banners 2023-09-29 15:02:18 +08:00
HaHaWTH
a35a277b32 Add useless banners & Code cleanup 2023-09-29 11:34:53 +08:00
HaHaWTH
9093ad2d9f Prepare for b23 2023-09-20 02:32:53 +08:00
HaHaWTH
3f6a7ce48f Sync repo files to b22 2023-09-20 02:15:22 +08:00
HaHaWTH
ed320196fe Remove all files 2023-09-20 02:10:19 +08:00
HaHaWTH
7e49e26735 reupload files 2023-07-11 20:45:01 +08:00
HaHaWTH
b014da245d Del all files 2023-07-11 20:42:24 +08:00
Sabrita
e109094472 删测测试项 默认开启用户名限制并增加默认限制用户 2023-02-28 13:13:17 +08:00
Sabrita
ea1af80ea4 修复构建 2023-02-28 12:51:55 +08:00
Sabrita
912646c041 增加服务器被关闭时的邮箱通知 2023-02-27 19:57:00 +08:00
Sabrita
cfca8ccd85 删除测试库
删除 wecome 增加新代码
2023-02-27 18:34:06 +08:00
ljacqu
442737c27c Output server details if AuthMe stops because of server type (#1946) 2019-12-08 20:12:30 +01: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
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
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
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
a347b4a9bb
Remove sponsor message 2019-01-12 14:03:02 +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
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
09c3e7bf22 Drop deprecated v2 API 2018-09-17 20:21:09 +02:00
ljacqu
58e04556ee Checkstyle: Add 'WhitespaceAfter' check, fix some violations 2018-09-01 08:38:14 +02:00
ljacqu
ecaffbabfc Small cleanups / changes amassed over time
- Small javadoc fixes
- Simplifications
- Move logException method from StringUtils to ExceptionUtils
2018-04-22 12:45:34 +02:00
Gabriele C
aab5d71efd Update sponsort details 2018-03-19 16:53:11 +01:00
games647
f33446ee25 Migrate to GEO IP 2 (Related #1471) (#1529)
* Migrate to GEO IP 2, because support will drop in April

* Change all links of maxmind to https
* Update maxmind database dependency and add javatar to extract
the database from the tar archive
(now only a small difference in jar file size -> ~80KB smaller)
* Verify downloaded archive using MD5 (There are no other checksums available)
* Migrate to Java NIO instead of old java file I/O (Feedback?)
* Internal Optional usage for nullable values (Feedback?)

Minor:
* Schedule a Bukkit async task instead of creating a thread manually
* Validate ip input string
* Extract validation into single method
* Close all resources safely using try-resources

* More https links

* Add documentation

* Set the same last modification as in the tar archive

* Fix tests

* Comment how the legacy API responded to unknown entries

* Document missing function param

* Document our maxmind dependency modifications

* Include time unit into constant

* More logging for downloading the database

* Add missing return if the database cannot be found

* Delete temporarily file after working with it
2018-03-17 03:00:24 +01:00
ljacqu
329657bd5f
#1497 Show specific message for invalid YAML files (#1506)
* #1497 Throw dedicated exception for invalid YAML files and handle it on startup
- Wrap SnakeYAML exceptions when loading config.yml and commands.yml on startup into own exception type
- Handle exception type on startup with specific error message

* #1497 Fix inaccurate JavaDoc comment
2018-02-23 23:31:22 +01:00
ljacqu
23c246748a #930 Register captcha: avoid circular dependency by handling limbo message in captcha command
- Set limbo message in captcha command (as is done for login captcha)
- Add clarifying comments to captcha command
- Remove classes handling circular dependencies
2018-01-06 19:04:03 +01:00
ljacqu
7cf3f6d77b #930 Registration captcha: update message shown to player on failed captcha
- Show message with new captcha code when a captcha has failed
- Requires implementation of circular dependency handler (initial draft)
2018-01-05 00:17:22 +01:00
ljacqu
7932c1bf90 Update to injector 1.0
- Includes Factory and SingletonStore so our custom implementation is removed
2017-11-25 21:27:18 +01:00