Basic authentication forge mod for minecraft 1.12.2
The mod provides freeze player until he entering authorization commands:
# Allow the user to login on the server
/login password
# Allow the user to register on the server
/register password password
# Tell to the user - is he logged?
/logged