Skip to content

Releases: LielAmar/2FA

Minor Bug Fixes and Improvements.

Pre-release

Choose a tag to compare

@DirtyConcept DirtyConcept released this 04 Aug 15:22

In this release, in-depth tests were run on various server versions and software (e.g., Bukkit, Spigot, Paper, Bungee, Waterfall, Velocity). Several issues that were identified in the changes made for versions 1.7.0 and 1.7.1 have been addressed. The plugin has been improved during these tests. It should now run smoothly across versions 1.8 to 1.21 on all platforms.

Changelog

  • Fixed an issue with missing dependencies on proxy servers.
  • Updated the plugin to run on Java 11, ensuring compatibility with older versions.
  • Fixed a startup issue on Velocity servers.
  • Fixed an issue where the config file wouldn't load properly on Velocity servers.
  • Fixed an issue where the messages file loaded Spigot messages instead of its own on Bungeecord servers.
  • Fixed missing Logger classes.
  • Improved the 2FA report command for more accurate information and compatibility across all versions.
  • Improved dependency loading on both Proxy servers and Bukkit.
  • Updated several plugin dependencies to their latest versions.
  • Fixed an issue where an event wouldn't be registered on lower versions.
  • Fixed an issue where the dependency loader would fall back to the libby loader.
  • Fixed HikariCP misconfiguration with port property.

What's Changed

Full Changelog: 1.7.1...1.7.2

Fix Missing Dependencies & Desynced Auth States

Choose a tag to compare

@DirtyConcept DirtyConcept released this 31 Jul 09:29

With this update, I've fixed the plugin not starting up due to missing dependencies and auth states desync which caused sometimes for the user to stay authenticated when not needed

Changelog

  • Fixed AuthState not being cleared in the default communication method which caused it to be desynced.
  • Fixed an issue where the plugin did not start due to missing dependencies that were mistyped.

Full Changelog: 1.7.0...1.7.1

1.20 & 1.21 Support, Optimizations & Refinements

Choose a tag to compare

@DirtyConcept DirtyConcept released this 06 Jul 12:55
5b02682

Changelog

  • The plugin now supports 1.8 - 1.21 Minecraft versions.
  • The plugin now depends on Java 17 and would only work on servers using any version equal to or above.
  • The plugin now uses Atlassian's OneTime library for handling 2FA, replacing the old Google-based library.
  • The plugin generates QR codes itself instead of depending on external services.
  • Some known bugs related to authentication are now fixed.
  • QR Code Integration and Bug Fixes, Deps Updates and Refinements for 1.7.0 2FA in #152

Full Changelog: 1.6.3...1.7.0

2FA 1.6.3 - 1.19 support

Choose a tag to compare

@LielAmar LielAmar released this 14 Aug 09:06
8dcda63

Two Factor Authentication now supports 1.19! 🤩
This version brings a lot of needed updates to our dependencies!

QoL Changes

  • You now have an option in the config to select whether walk & fly speed changes when a player joins the server

2FA 1.6.2 - QoL Update

Choose a tag to compare

@LielAmar LielAmar released this 12 Mar 13:33
babae6c

Two Factor Authentication is getting a stable update with the new Authentication Handling System! 🥳
This version brings a lot of QoL improvements, bug fixes, and more features overall!

Bug Fixes

  • Fixed a bug that allowed players to drop maps when in setup mode
  • Fixed a bug not updating bungeecord with players' authentication state
    • This caused players to be able to execute bungeecord commands while not authenticated
  • Fixed a bug that allowed players to disable 2fa before authenticating
  • Fixed a bug that made the plugin not demand 2fa from players with the 2fa.demand permission
  • Fixed a bug that allowed players to disable other's 2fa without having the permission to do that
  • Removed unnecessary checks and optimized code

QoL Changes

  • When executing /2fa help, commands won't have the [2FA] prefix anymore
  • Added a Console Filter to hide the /2fa <code> command and thus enhancing players' privacy
  • Added alerts to players with the 2fa.alerts permission, to notify them when 2fa detects a configuration issue
    • Should alert players if they have communication-method set to a non-optimized method
    • Should suggest switching to communication-method set to PROXY if a proxy is detected
  • Updated LielsUtils to a newer version
    • Fixed a bug causing an InternalError to be thrown whenever players tried to tab-complete a command

Bug Fixes & Auth Communication improvements

Choose a tag to compare

@LielAmar LielAmar released this 09 Mar 22:15
  • Fixed a bug causing internal errors to be thrown whenever tab completing a command
  • Fixed a bug causing players with no 2fa to be taken as if they have 2fa enabled
  • Fixed a bug allowing players to use /2fa remove before authenticating
  • Added more configuration settings for auth communication
  • Added a new permission: 2fa.alerts.
    • Players with this permission will get important alerts from the plugin if it finds any problems with the configuration

v1.6.0 - Major code rewrite & Velocity support

Choose a tag to compare

@LielAmar LielAmar released this 08 Mar 22:21
  • Updated LielsUtils to a more stable version with many bug fixes
  • Changed the way authentications are handled between servers
  • Added a future-proof system for more options to transfer information between servers (besides proxies)
  • Improved messages system
  • Added velocity support
  • Improved API

PostgreSQL patches & placeholders configuration

Choose a tag to compare

@LielAmar LielAmar released this 23 Feb 11:09
  • Updated PostgreSQL to version 42.3.3, patching all security vulnerabilities
  • Added placeholder keywords to the messages.yml configuration.

Bug Fixes & QoL improvmenets

Choose a tag to compare

@LielAmar LielAmar released this 28 Jan 12:17
eca2f52
  • Updated H2 to version 2.1.210 to fix a critical RCE exploit
  • Fixed a bug with Legacy Enum items in versions above 1.13
  • Added a NULL Key check
  • Optimized imports and general code cleanup

ClassCastException Fix

Choose a tag to compare

@LielAmar LielAmar released this 22 Jan 11:35
7ab31fa
  • Fixed a bug causing a ClassCastException with MapMeta to be thrown in version 1.17+