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 516 forks source link

Whitelist players from country protection #1020

Closed ljacqu closed 7 years ago

ljacqu commented 7 years ago

Originally from https://www.spigotmc.org/threads/authme-reloaded.62079/page-28#post-2049649, via @Platinteufel:

Is there a way to whitelist existing players or a few players when blacklisting countries?

-> There isn't currently, could be implemented by adding a new setting.

Twonox commented 7 years ago

There is way to whitelist. A registered player in blacklisted contry can join the server. So, if enableProtectionRegistered: false we can register to whitelist

ljacqu commented 7 years ago

Then anyone that has registered can join from the banned country, not only the specified players.

Twonox commented 7 years ago

Yeah, a whitelist is better if we want blacklist country for registered player. How you want integrate it? With a whitelist or with a permission?

ljacqu commented 7 years ago

What's your preference @Twonox? Permission has the advantage that you can easily mass apply it, a whitelist setting has the advantage that you can easily change the list. I didn't even think of a permission but now I would lean towards that. Thoughts? :)

sgdc3 commented 7 years ago

+1 for permission ;)

Twonox commented 7 years ago

If you add commands to edit and see the whitelist, it will be better, otherwise the permission is fine.

sgdc3 commented 7 years ago

I added a new permission, please check #1321 for more infos