Commit Graph

268 Commits

Author SHA1 Message Date
games647 5bf9b05d30 Fix BungeeAuth Maven repository 2017-09-13 12:34:56 +02:00
games647 7839804a4c Drop support for deprecated AuthMe API 2017-09-12 17:05:18 +02:00
games647 d18b734550 Update dependencies 2017-09-08 11:17:05 +02:00
games647 7f51659cc7 Version dump 2017-09-03 20:06:00 +02:00
games647 484855724b Add ip parameter to verify a player doesn't use an authentication proxy.
This doesn't prevent proxy connections in general, but it verifies that
the same IP that is used for connecting to the Minecraft server is also
used for authenticating against the Mojang servers.

This happens if someone uses McLeaks. They use an authentication proxy
in order to hide and control the credentials behind those leaked or
donated accounts. So a user of that service joins the server using
a direct connection, but asks the McLeaks servers to send a relevant
request to the Mojang session-servers in order to pass the premium
verification process.
2017-08-25 13:20:55 +02:00
games647 4ea7968366 Remove Importer to prepare for code refactor 2017-08-24 18:50:37 +02:00
games647 551441cdc4 Add HTTP-proxies support 2017-08-18 16:09:59 +02:00
games647 edf5933e07 Set the fake offline UUID on lowest priority (-> as soon as possible)
Then every plugin listening on priority level higher than lowest can see that fake UUID

This also fixes race conditions for plugins listening on the same priority as FastLogin before (->low)
(Fixes #167)
2017-08-01 10:29:58 +02:00
games647 033333e35c Minor cleanup using inspections + Https
* Use https for maven repositories if possible
* Fix typos
* Merge ProtocolLib listeners into one class
* Upgrade maven plugins and dependencies
2017-07-22 08:27:55 +02:00
games647 ea44002e91 Update dependencies and format imports 2017-06-30 17:23:46 +02:00
games647 fbdd8ffc35 Choose player name casing based on client request.
Since BungeeCord commit 5bc189fbb7e8ca19984544af78a083024404fb2a the name casing is based on
the exact name saved at Mojang. This means it could have breaking effects on FastLogin, because
it performs case-sensitive checks against the database. To provide backwards compatibility with
old data we restore the old implementation access for FastLogin.

Thanks to @Maxetto for pointing this out. This commit basically reverts:
059c3f346e
2017-06-07 21:09:00 +02:00
games647 a79e18445a Fix building because the bungee proxy repo is down [ci skip] 2017-05-19 12:01:02 +02:00
games647 059c3f346e Lowercase name inside pendingconnection for comparisons against the database 2017-05-10 17:06:25 +02:00
games647 194c67cd6f Fix markdown syntax 2017-04-05 09:24:41 +02:00
games647 f37cc0a0db Add commit id to the version 2017-02-14 14:01:57 +01:00
games647 70a81bfcdf Correctly wait for BungeeAuth loading by using the correct depend tag (Fixes #119) 2017-02-10 19:06:57 +01:00
games647 c47dd1df80 Fix FileNotFoundEx if the bungee config doesn't exist 2017-01-28 16:38:48 +01:00
games647 f08daa9b72 Update bungee-proxy maven repository 2017-01-06 13:00:17 +01:00
games647 f3ac6090f1 Fix bungee online check (Fixes #101) 2016-12-23 10:01:38 +01:00
games647 a25d97879f Fail safetly if there session was started (prevents duplicate errors) 2016-11-26 10:06:27 +01:00
games647 41abffdb08 Fix Spigot console command invocation sends result to ingame players 2016-10-20 14:06:18 +02:00
games647 e69eb70377 Update BungeeAuth dependency and use the new API 2016-10-05 10:06:02 +02:00
games647 157ca04691 Fix timestamp parsing in newer versions of SQLite 2016-09-23 12:26:18 +02:00
games647 bebb04bdea Share the same force login mangement for less duplicate code 2016-09-22 10:56:31 +02:00
games647 1acc825f81 Remove deprecated API methods 2016-09-21 13:22:48 +02:00
games647 87ca00d75d [SwitchMode] Kick the player only if the player is unknown to us 2016-09-21 09:16:19 +02:00
games647 5075a71843 A few code styling things 2016-09-20 13:32:06 +02:00
games647 da266c7e91 Fix loading of settings 2016-09-19 17:59:45 +02:00
games647 bef90d11cd Deploy only the universal jar to the target folder 2016-09-18 11:40:21 +02:00
games647 a02acd2d63 Remove the nasty UltraAuth fakeplayer workaround 2016-09-18 10:38:05 +02:00
games647 ca42a7c19e Refactor more code for more Java 8 and Guava usage 2016-09-17 15:19:07 +02:00
games647 b533197f05 Fix config loading in BungeeCord 2016-09-17 15:19:07 +02:00
games647 17c2099bf1 Make use of the awesome Java 8 features 2016-09-16 17:40:42 +02:00
games647 31d6b67381 Try to upgrade to Java 8. I hope enough people are using it. 2016-09-16 16:31:47 +02:00
games647 4292e9aaa0 Less deprecated warnings + Clean up 2016-09-15 11:10:52 +02:00
games647 07d0aededa Fix loading with unloaded configuration values 2016-09-15 10:33:17 +02:00
games647 218bc50c96 Drop support for LoginSecurity 1.X since 2.X seems to be stable 2016-09-14 17:44:32 +02:00
games647 a3b2e33aad Switch to vik1395 repository for BungeeAuth 2016-09-13 09:53:46 +02:00
games647 76f5ba7ed1 Refactor a lot of code + Add Guava v10 as shared library 2016-09-11 21:26:03 +02:00
games647 9f5f61f1c2 Do the same for the password generator 2016-09-11 19:57:27 +02:00
games647 3e9c8e3a7e More shared project code for less errors and less duplication 2016-09-11 18:59:42 +02:00
games647 8e5da01be0 Added configuration to disable auto logins for 2Factor authentication
(Fixes #65)
2016-09-09 16:52:44 +02:00
games647 5022c9aa7b Add cracked whitelist (Fixes #42)
(switch-mode -> switching to online-mode from offlinemode)
2016-09-09 16:40:24 +02:00
games647 58ac73a5a9 Fix update username in FastLogin database after nameChange (Fixes #67) 2016-08-31 13:29:06 +02:00
games647 d20db79f46 Add second attemp login -> cracked (Fixes #51) 2016-08-29 17:38:46 +02:00
games647 ad60397851 Added auto login importers 2016-08-25 17:45:09 +02:00
games647 3e84ebd787 [BungeeAuth] Do not login the player if it's already logged in using
sessions
2016-08-19 22:00:07 +02:00
games647 36d7564c3a Fix race condition when waiting for bukkit message while
bungee redirects player
2016-08-19 21:07:29 +02:00
games647 596caa0573 Invoke forcelogin in BungeeCord only once 2016-08-19 20:52:51 +02:00
games647 fe4331298f Send a message on BungeeCord if there is only an auth plugin 2016-08-18 20:22:04 +02:00