Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Gameoholic/Fancy2FA

Repository files navigation

Fancy2FA

This was a learning project of mine, which helped me learn how to work with MySQL, Kotlin, NMS, ktor and the Discord API without using an API wrapper. Don't use this in production, as it wasn't tested for vulnerabilities and might have exploits.

Features

  • Authenticate yourself via Discord, security questions or a password, all of which are hashed, salted and peppered, and stored in a MySQL database.
plugin.s.mp4
  • Fancy UI menus

image image image

  • Written 100% in Kotlin (yes, this is a feature)

Ideas / Issues

Things that weren't implemented due to time constraints, but were still cool ideas I had planned:

  • Persistent authentication: Logging IP's in the database to allow users to only enter their credentials once every 30 days, or when their IP changes.
  • Automatically create a database for the user through code and set up all the tables.
  • Config file error handling.
  • Password confirmation.
  • Discord OAuth2 shouldn't be used for user authentication - better to use an actual Discord bot.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages