Commit Graph

84 Commits

Author SHA1 Message Date
Dreeam e89b6182a7 Merge remote-tracking branch 'upstream/master' into feat/i18n 2024-06-02 17:19:47 +08:00
HaHaWTH d7a5869e99 Cleanup & Fix 2024-06-01 15:13:04 +08:00
HaHaWTH dc599fe5c3 Completely removed gui captcha things 2024-05-31 23:48:12 +08:00
Dreeam 100805da8b Merge branch 'master' into feat/i18n 2024-05-31 20:36:27 +08:00
Dreeam 0c10cb0ead Fix code style 2024-05-29 22:55:19 +08:00
Dreeam 89817d420c Move utils to I18NUtils 2024-05-29 20:34:27 +08:00
Dreeam d09e545554 Add hard mapping to convert to AuthMe language code from locale code 2024-05-29 17:07:30 +08:00
Dreeam 2219dd55dd Intial i18n messages support
Send different languages of messages based on player's client setting
2024-05-29 00:11:25 +08:00
HaHaWTH 9e208532d3 Initial MiniMessage support 2024-05-27 04:56:50 +08:00
Dreeam 89b0d59ab9 Merge branch 'AuthMe:master' into feature/upstream 2023-12-05 06:06:28 -05:00
HaHaWTH 441e020192 Localized DoubleLoginFix 2023-11-12 14:19:01 +08:00
HaHaWTH eed5ce1b7b Localized LoginLocationFix 2023-11-12 14:12:11 +08:00
HaHaWTH e69ba501da Localized BedrockAutoLogin 2023-11-12 11:31:47 +08:00
HaHaWTH 010874586a Localized GUI Captcha 2023-11-11 11:12:48 +08:00
HaHaWTH cf01767ad3 Revert changes 2023-09-23 18:29:17 +08:00
HaHaWTH 4bcc992b7f Implement translation (1) 2023-09-23 18:12:52 +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
ljacqu 2de4a60f3a Revert "Update to ConfigMe 1.4.0"
- ConfigMe uses a different version from SnakeYAML, causing issues because it uses a newer configuration. For now, we stay on 1.3 as a quick fix.
This reverts commit 79309c3c05.
2023-08-24 15:09:50 +02:00
ljacqu 79309c3c05 Update to ConfigMe 1.4.0 2023-08-23 07:27:35 +02: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
Sattera 110fc7266d [功能] 向 authme.admin.whitelistmessage
权限节点添加没有注册资格的玩家尝试入服的提醒
2023-06-24 18:47:26 +08:00
Sattera b1bee0967c [功能] 添加白名单(玩家是否注册)
玩家添加authme.whitelist权限来忽略白名单
2023-06-24 13:09:17 +08:00
ljacqu f24d6c5b5f Update translation doc page, add comment for missing entries, fix verifyMessages task 2023-06-21 12:15:57 +02:00
Sattera 7e5d9ed1e8 [功能] 添加隐藏自动登录时发送登录成功消息 2023-06-02 20:06:49 +08:00
Sabrita 674d72c113 优化 import 。更改默认配置 2023-02-28 12:36:56 +08:00
ljacqu ac5868787a Update to ConfigMe 1.2.0 2020-09-07 21:33:00 +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 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 4be130b71b Fix #1493 Extract handling of message file paths to a separate class with constants 2019-06-22 22:37:32 +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 1e3ed795c1 #1141 2FA implementation fixes
- Merge TotpService into TotpAuthenticator
- Add missing tests
- Migrate old 2fa enabled key to new one
2018-05-01 22:49:07 +02:00
ljacqu 29ac3a7022 #1141 Fixes to TOTP implementation
- Revert back to SHA1 as HMAC hash function so that it works with Google authenticator
- Add message to user to tell him to run /2fa confirm to add a TOTP code
2018-04-22 11:13:27 +02:00
ljacqu de0e588cf3 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1141-optional-additional-2fa-auth 2018-04-22 07:14:05 +02:00
Tony 1f9bf38755 Added EmailChangedEvent (#1549)
* Added EmailChangedEvent

* Fix failing tests

Silly.

* Documented the EmailChangedEvent

* Separate messages for cancelled email event

* Added lang todos for all the languages I can't speak

I wish I could though.

* Checkstyle satisfaction

* Changed log level to info for cancelled events
2018-04-03 17:45:27 +02:00
ljacqu 9326094d9c #1141 Fix review remarks by @games647
- Use SHA512 to generate keys instead of default SHA1
- Declare google authenticator dependency as optional and add relocation rule
2018-04-03 00:13:53 +02:00
ljacqu e9ab82db6b #1141 Make 2fa messages translatable, various cleanups (null safety, ...) 2018-03-21 23:56:13 +01:00
ljacqu f66a8a5b06 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded into 1141-optional-additional-2fa-auth
# Conflicts:
#	src/main/java/fr/xephi/authme/permission/PlayerPermission.java
#	src/main/java/fr/xephi/authme/service/BukkitService.java
2018-03-20 23:07:25 +01:00
ljacqu 495cfc69a9 #1141 Move TOTP code during login as separate step: /2fa code
Rough version.
- Introduces a limbo player state on the LimboPlayer, allowing us to add further mandatory actions between successful (password) authentication and the ability to play on the server
2018-03-20 23:06:08 +01:00
HexelDev 900e8f2415 Updated messages 2018-03-15 21:44:49 +01:00
HexelDev d2fbf12c3c Merge branches '642-kick-on-fast-commands' and 'master' of https://github.com/AuthMe/AuthMeReloaded into 642-kick-on-fast-commands 2018-03-15 19:47:11 +01:00
HexelDev fe4d5e7c0d Saving user join and check on command 2018-03-10 19:13:23 +01:00
ljacqu 1a53cd11b2 #829 Move CommandSender / name to first argument to avoid confusion with varargs
- Overloaded method with (String, String...) as args was problematic as it could be confusing on its own and also confusing with the (CommandSender, String...) flavor
2018-03-10 16:58:30 +01:00
Maxetto 7a3e2e9f71 Use spaces instead of tabs 2018-03-07 19:37:20 +01:00
Maxetto bc4cb5046d Fix yet another build 2018-03-07 19:29:24 +01:00
Maxetto 9b7139a17a Add Display Name tag replacement too
#1509
2018-03-07 19:08:36 +01:00
Maxetto 00de15016a Follow remarks
#1509
2018-03-05 19:38:24 +01:00
Maxetto 3541f21985 I forgot this wasn't Apache's StringUtils 2018-02-28 18:25:50 +01:00
Maxetto 2aaf58182c Be able to replace sender name in every message
Closes #829
2018-02-28 16:18:08 +01:00