LOOHP / Limbo

Standalone Limbo Minecraft Server (Currently 1.21.3)
http://ci.loohpjames.com/job/Limbo/
Apache License 2.0
239 stars 29 forks source link

player allow/deny via addition of support for allowlist.json #57

Closed tadhunt closed 1 year ago

tadhunt commented 2 years ago

For my limbo server use case, I need to allow only certain users to be able to join. I noticed the limbo server doesn't support this functionality, so I added it. Not sure if this is useful for the community, but I'm sharing it back in case it is.

LOOHP commented 2 years ago

It's probably a better idea to load the list into memory and then check from there instead of reading the file every time a player joins. But that's a good feature to have :)

tadhunt commented 2 years ago

OK, I've fleshed out the implementation as recommended + added a default command to reload the allowlist. See the commit log for more details.

tadhunt commented 2 years ago

friendly ping

LOOHP commented 2 years ago

Sorry about the delay, I have not forgotten about this. I'll merge it when I have the time to also flesh out the changes! Thanks! (Most likely when 1.19.3 is released)