Skip to content
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

Basic Whitelist #4

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Basic Whitelist #4

wants to merge 8 commits into from

Conversation

david072
Copy link

This adds a basic toggleable whitelist to the Ghost Server. You can currently add player names and IPs to the whitelist via the cli.

Commands:

  • whitelist_[enable/disable] - Enables / Disables the whitelist. Disabling the whitelist will not delete anything from the whitelist, so if you enable it again, everything will still be there. Furthermore, enabling the whitelist gives you the option to disconnect all currently connected players that are not on the whitelist.
  • whitelist_add_[name/ip] - Add a player name or IP to the whitelist. The whitelist is stored as a set and thus duplicates are avoided.
  • whitelist_remove_[name/ip] - Remove a player name or IP from the whitelist.
  • whitelist - List all entries on the whitelist and if the whitelist is currently disabled or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant