-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add bans and ip-bans #436
base: master
Are you sure you want to change the base?
Add bans and ip-bans #436
Conversation
Maybe SQL or smth and not JSON |
it's an array, we don't need a database format for storing a list of IPs / usernames & ban reasons |
@Alvsch any progress on this one ? |
It should be possible. Vanilla uses this format |
Description
Adds the ability to ban players via username and uuid, or ip.
The data is stored in
banned-players.json
andbanned-ips.json
Testing
Joining the server while being banned and ip-banned.
Joining the server without being banned.
Loading data from vanilla servers.
All commands seem to work as intended when used.
Checklist
Things need to be done before this Pull Request can be merged.
ban
,ban-ip
,pardon
,pardon-ip
andbanlist
commandsPlease follow our Coding Guidelines