AuthMeReloaded icon indicating copy to clipboard operation
AuthMeReloaded copied to clipboard

Send LOGIN notification to AuthMeBungee for non registered players when registration is optional

Open Zilacon opened this issue 4 years ago • 16 comments

Hello, i run a network of modpack servers and have a vanilla HUB. Hacked clients are able to go onto our hubs and spoof as staff and start banning people. I got this plugin to defend against that. However, i dont want or need mandatory auth forced upon players, i only want to use this for staff.

So a problem, ive placed AuthMe on both my HUB and Bungeecord, and configured everything. But when someone registers they can still see and still chat/ban/mute/etc when they are logged out.

How do i make it so that they cannot use bungeecord commands, chat, and vision if a REGISTERED person is not logged in, but not requiring any NON REGISTERED player to be logged in/registered to have access to those things.

Any help with this would be appreciated, thanks.

Zilacon avatar Aug 18 '21 01:08 Zilacon

First of all you should use https://github.com/AuthMe/AuthMeBungee on the bungee side

sgdc3 avatar Aug 21 '21 20:08 sgdc3

First of all you should use https://github.com/AuthMe/AuthMeBungee on the bungee side

I did state in my issue i had the bungeecord plugin installed.

Zilacon avatar Aug 21 '21 20:08 Zilacon

First of all you should use https://github.com/AuthMe/AuthMeBungee on the bungee side

I did state in my issue i had the bungeecord plugin installed.

Oh sorry, my bad, can you please show me your authme and authmebungee config files?

sgdc3 avatar Aug 21 '21 20:08 sgdc3

config.txt AuthMe config config.txt AuthMeBungee config

Zilacon avatar Aug 21 '21 20:08 Zilacon

Please provide your bungee config file (please omit your ips and ports)

sgdc3 avatar Aug 30 '21 09:08 sgdc3

What does my bungees config have to do with features wrongly programmed on your plugin? I want the registered players to be restricted from using server/bungee commands and chat until they login. Your plugin does not allow this unless every player is forced to register on the server/network.

Zilacon avatar Aug 30 '21 09:08 Zilacon

Ok, i misunderstood your request, then this is a duplicated issue

sgdc3 avatar Aug 30 '21 09:08 sgdc3

https://github.com/AuthMe/AuthMeReloaded/pull/2275

sgdc3 avatar Aug 30 '21 09:08 sgdc3

#2275

That does not relate to my issue AT ALL...

Zilacon avatar Aug 30 '21 09:08 Zilacon

#2275

That does not relate to my issue AT ALL...

It is part of the issue as atm when registration is optional the bungee integration is completely broken because this case was never implemented.

sgdc3 avatar Aug 30 '21 09:08 sgdc3

So this has been an issue for 7 months then... So I shouldn't expect a fix for this anytime soon...

Zilacon avatar Aug 30 '21 09:08 Zilacon

@Zilacon I just merged the fix for the main issue, not we have to fix another problem in your setup, something is preventing your Hub server from being treated as a server where players needs to be limited if not logged in. Can you please check if you used the wrong casing in the name "HUB" for your lobby server? The names in the loginServers section of the AuthMeBungee config must match exactly the names in your bungee config file.

sgdc3 avatar Aug 30 '21 09:08 sgdc3

@Zilacon I just merged the fix for the main issue, not we have to fix another problem in your setup, something is preventing your Hub server from being treated as a server where players needs to be limited if not logged in. Can you please check if you used the wrong casing in the name "HUB" for your lobby server? The names in the loginServers section of the AuthMeBungee config must match exactly the names in your bungee config file.

Nowhere, in this entire issue, have i requested for players to be limited if not logged in. I have asked for the exact opposite. Zero restrictions on non-logged in/non registered players, ALL the restrictions on players who have registered and arent logged in.

Also my bungee is properly setup for the hub being the default server.

Zilacon avatar Aug 30 '21 09:08 Zilacon

So a problem, ive placed AuthMe on both my HUB and Bungeecord, and configured everything. But when someone registers they can still see and still chat/ban/mute/etc when they are logged out.

Then I misunderstood this statement.

Try the latest dev build and let me know if it fixes your issues: https://ci.codemc.io/job/AuthMe/job/AuthMeReloaded/

sgdc3 avatar Aug 30 '21 09:08 sgdc3

Same problem. I have full access to all bungee commands and chat.

Screenshot_1914

Zilacon avatar Aug 30 '21 09:08 Zilacon

then again, please show me your bungee config file, you can omit any private info

sgdc3 avatar Aug 30 '21 12:08 sgdc3