AuthMe / AuthMeReloaded

The best authentication plugin for the Bukkit/Spigot API!
https://www.spigotmc.org/resources/authmereloaded.6269/
GNU General Public License v3.0
628 stars 515 forks source link

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

Open Zilacon opened 3 years ago

Zilacon commented 3 years ago

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.

sgdc3 commented 3 years ago

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

Zilacon commented 3 years ago

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.

sgdc3 commented 3 years ago

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?

Zilacon commented 3 years ago

config.txt AuthMe config config.txt AuthMeBungee config

sgdc3 commented 3 years ago

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

Zilacon commented 3 years ago

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.

sgdc3 commented 3 years ago

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

sgdc3 commented 3 years ago

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

Zilacon commented 3 years ago

2275

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

sgdc3 commented 3 years ago

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.

Zilacon commented 3 years ago

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

sgdc3 commented 3 years ago

@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.

Zilacon commented 3 years ago

@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.

sgdc3 commented 3 years ago

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/

Zilacon commented 3 years ago

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

Screenshot_1914

sgdc3 commented 3 years ago

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