Skip to content

Releases: LielAmar/2FA

Bug Fixes, Code cleanup, Dependencies update

06 Nov 09:17
4596134
Compare
Choose a tag to compare
  • Fixed a bug causing the first player to join a freshly booted spigot server to be able to execute proxy commands
  • Fixed a bug causing a timed-out callback to not be removed and take up memory
  • Updated dependencies
  • Cleaned up code

Teleport Locations Before & After Authentication

15 Oct 08:25
6a6c852
Compare
Choose a tag to compare
  • The plugin now allows server owners to select 2 locations:
    • tp-before-auth: The location players with 2FA enabled would teleport to as soon as they join the server and need to authenticate
    • tp-after-auth: The location players with 2FA enabled would teleport to as soon as they're authenticate/auto authenticate.

Dependency Management Improvements

27 Sep 20:56
6a6c852
Compare
Choose a tag to compare
  • The plugin will not disable itself if no dependency management system was able to download dependencies, but rather it'd work with less functionality.
  • Updated output texts to give more info on errors.
  • Fixed a bug causing an error if no storage method was loaded.

HEX Support & Bug Fixes

03 Sep 15:07
Compare
Choose a tag to compare
  • Added HEX Color Support for Spigot 1.16+
  • 2FA's FileManager will now create, save and load files in UTF-8.
    • Previously, the plugin wouldn't mind the encoding causing symbols such as "•" to be loaded in ASCII (â�¢)
  • Fixed a bug with "enable_date" being NULL in JSON storage type
  • Fixed a bug causing SQL databases to not add the "enable_date" column to the players table
  • Fixed a bug causing database connections to not close on disable
  • Fixed a bug causing an exception to be thrown when disabling 2FA for online players
  • Updated dependencies versions

Better Version Handling

30 Aug 09:52
Compare
Choose a tag to compare
  • Improved Version Handling by the plugin
    • The plugin will now save 2 separate version types: Server Version and NMS Version
  • Potentially fixed a bug causing specific Spigot 1.16.4 builds to try to use the built-in dependency loader, although they don't have it

PlaceholderAPI support

28 Aug 15:03
Compare
Choose a tag to compare
  • Added support to PlaceholderAPI placeholders
    • You can use /papi ecloud download {placeholder} to download and then use any placeholder supported by PlaceholderAPI.
  • Added custom placeholders:
    • %2fa_is_enabled% - Whether 2FA is enabled for this player
    • %2fa_time_since_enabled% - Time since 2FA was enabled
    • %2fa_key% - The 2FA key of the player
    • %2fa_is_required% - Whether this player is required to enable 2FA
  • Added support to delay when loading players' data after a server reload. This is helpful when there are multiple databases with different latencies, and 2FA is dependent on one of the plugins.
    • For example, LuckPerms. Although LuckPerms is loaded before 2FA as a soft-dependency, it doesn't guarantee that the players' permissions would be loaded before 2FA attempts to load the player. Therefore, a certain latency is needed/

2FA v1.3.1

20 Jun 09:10
Compare
Choose a tag to compare

• Added Tab Completion for the 2FA commands

Release 1.0

08 Nov 15:09
a242102
Compare
Choose a tag to compare

2 Factor Authentication plugin with Bungeecord, Spigot, and Paper support.
This plugin is using PluginMessagingChannel to communicate with Bungeecord.