Commit Graph

1140 Commits

Author SHA1 Message Date
games647 82cb25f809 Output more informational messages by default 2017-08-19 21:53:07 +02:00
games647 551441cdc4 Add HTTP-proxies support 2017-08-18 16:09:59 +02:00
games647 22a56862b0 Remove mcapi.ca section and fix config typos 2017-08-16 17:18:58 +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 c6da04de70 Fix listening for login start packets if ProtocolLib is installed
Another call on ProtocolLib's types removes all previous listening types

Fixes #163
2017-07-25 13:18:08 +02:00
games647 0459b0a5a1 Remove bungee chatcolor for Bukkit to support KCauldron 2017-07-22 08:35:32 +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 6595dc6ac0 Increase hook delay to let ProtocolLib inject the listener 2017-06-30 17:37:57 +02:00
games647 ea44002e91 Update dependencies and format imports 2017-06-30 17:23:46 +02:00
games647 131de8404c Add support for new authme API 2017-06-12 17:26: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 7db8c78975 Drop support for old authme API 2017-06-04 15:52:01 +02:00
games647 b102f06f8e Update ProtocolLib to fix building 2017-05-27 11:24:43 +02:00
games647 a79e18445a Fix building because the bungee proxy repo is down [ci skip] 2017-05-19 12:01:02 +02:00
games647 cf1a0c1bef Remove ebean util usage to make it compatible with 1.12 2017-05-14 17:11:10 +02:00
games647 059c3f346e Lowercase name inside pendingconnection for comparisons against the database 2017-05-10 17:06:25 +02:00
Leo G. ~ Leoko 47db2c7858 Fixed AuthHook (#144)
* Fixed AuthHook

The setServerStarted()-Method is now also called if an extern AuthHook
hooks into FastLogin via the API

* Simplified if-Statement
2017-04-19 14:39:27 +02:00
games647 5bb8640d78 Do not try to hook into a plugin if auth plugin hook is already set using the FastLogin API 2017-04-17 15:22:09 +02:00
games647 881b2ec7bc Fix changelog markdown syntax 2017-04-15 09:42:17 +02:00
games647 194c67cd6f Fix markdown syntax 2017-04-05 09:24:41 +02:00
games647 863607c9a4 Add optional useSSL config option 2017-02-23 09:16:11 +01: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 b8d029d6da Remove third party API 2017-02-04 14:09:38 +01:00
games647 c47dd1df80 Fix FileNotFoundEx if the bungee config doesn't exist 2017-01-28 16:38:48 +01:00
games647 4d5b1787b1 Migrate to Java 7 NIO files 2017-01-26 09:52:45 +01:00
games647 8c764220bd Fix duplicate premium username message 2017-01-21 18:02:45 +01:00
games647 9af076b4c4 Fix premium username logging message at the wrong place 2017-01-09 17:57:50 +01:00
games647 22aa9287e9 Fix NoClassDef errors if the optional PlaceholderAPI is not available (Fixes #108) 2017-01-07 18:42:10 +01:00
games647 f08daa9b72 Update bungee-proxy maven repository 2017-01-06 13:00:17 +01:00
games647 bc53743c6b Add placeholder variables 2017-01-06 12:54:02 +01:00
games647 a430a079c9 Do no print auto login message on authme session reuse (Related #101) 2016-12-23 22:12:55 +01:00
games647 f3ac6090f1 Fix bungee online check (Fixes #101) 2016-12-23 10:01:38 +01:00
games647 5ca9b9c59a Add note about firewalling your spigot server if you use BungeeCord 2016-12-22 09:13:58 +01:00
games647 b886d1501f Update LoginSecurity to make it buildable 2016-12-16 15:56:30 +01:00
games647 0082cc6536 Use static builder to make it independent from ProtocolLib without throwing NoClassDefFoundError 2016-12-16 15:49:40 +01:00
games647 7f96d55084 Convert config values to string if casting fails 2016-11-26 13:27:39 +01:00
games647 3851d539f8 Workaround injector class is package private in older versions of ProtocolLib (Fixes #94) 2016-11-26 11:33:15 +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 e924b7a2fa Automatically register players who are not known to the auth plugin
Fixes #85
2016-10-03 13:46:33 +02:00
games647 157ca04691 Fix timestamp parsing in newer versions of SQLite 2016-09-23 12:26:18 +02:00
games647 ae3e03405d No duplicate login's like auth plugins auto logins if it's the same ip 2016-09-23 10:42:25 +02:00
games647 bebb04bdea Share the same force login mangement for less duplicate code 2016-09-22 10:56:31 +02:00
games647 91f41c55de Finally set a value to the API column 2016-09-21 13:24:26 +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 1.9 2016-09-21 09:16:19 +02:00
games647 62ffb1a904 [Bukkit] Fix adding to premium whitelist 2016-09-20 13:55:03 +02:00
games647 5075a71843 A few code styling things 2016-09-20 13:32:06 +02:00