• 630 views, 1 today
  • 0 downloads, 0 today
  • 5
  • 4
  • 1
doood avatar doood
Level 27 : Expert Architect
5
For Forge 1.17.1 servers


Offline mode authentication mod for servers. If you're running a server in offline mode, it's possible for people to join with an op's name and have access to admin commands, unless you have some kind of authentication to prevent this. This mod adds several authentication commands:


/createaccount <password>  Creates a local account with the given password

/login <password>  Logs in to an existing account with the given password

/changepassword <password>  Changes the password for your account

/clearaccount <username>  Clears the password for a given username. This can only be run by an admin.


Passwords are salted, hashed, and stored in 'authdb.txt' in the server folder. Currently, the mod kicks you if you try to log in with a bad password 5 times, but I'll add an option for an admin to change this limit.

Until creating an account or successfully logging in, you are prevented from doing anything that could modify the world, or from running any commands.


Note: I wrote this in a couple hours because I could not find a similar mod for 1.17.1, so it will have bugs.
Progress100% complete
Game VersionMinecraft 1.17.1
Tags

Create an account or sign in to comment.

1
03/29/2022 4:49 am
Level 1 : New Miner
nintendosfavouritemonkey
nintendosfavouritemonkey avatar
how do you download it....
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome