![ServerSync](https://media.forgecdn.net/avatars/thumbnails/254/696/256/256/637199290945083080.png)
[Server][Feature Request] Create connection whitelist/blacklist ability
rheimus opened this issue ยท 6 comments
A suggestion: utilize the banned-ips.json and whitelist.json of the minecraft server itself, if possible. (Griefers likely to abuse something like this = also likely candidates for bans... If an IP is banned from the server, maybe this should also treat it as banned.)
Tis a good idea, could add a check for the existence of said files and pull in values present
Work to be done:
- #100 Implement a file manager class (sanity)
- Implement knowledge of Minecraft and its folder structure
- Add a section to the SS config to allow users to utilize minecrafts banned-ips/whitelist.json and/or the SS config (merge the two lists, might need an adapter)
- Implement server-side connection handling
Added support for using Minecrafts banned-ips.json. You should be able to either add entries manually to it or use server commands to ban addresses.
e.g. /ban-ip 127.0.0.1
Still need to plug in the whitelist.json file.
Closing in favor of #216