NikitaCartes / EasyAuth

Easy authentication mod for Fabric servers
MIT License
127 stars 24 forks source link

[FeatureReq] Change or disbale login message #124

Open JuanBG2002 opened 9 months ago

JuanBG2002 commented 9 months ago

I configured the mod to only need auth to use commands, thats the only reason i need it because i have whitelist and i only add people i trust, but i can't disable the "please login" message and this keep spamming on my screen, it is very usable but the perfect scenario for me is a option to only ask for login when trying to use commands, or only when loggin in. Maybe a option to only ask for login to op players.

If someone have a different idea of config than mine for this scenario that already exist, i would be grateful too

(Sorry if there is too many typo, english isn't my first language)

NikitaCartes commented 9 months ago

If you're using last Snapshot version you can disable specific message in config:

enter-password: {
    "text": "§6You need to enter your password!"
    "enabled": true
    "serverSide": true
}
enter-new-password: {
    "text": "§4You need to enter new password!"
    "enabled": true
    "serverSide": true
}

On older versions you can set these messages to " ".

I think better approach to restrict usage of commands would be LuckPerms or Player Roles

NikitaCartes commented 9 months ago

Through you can't restrict commands to only non-authenticated players with these mods