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

New redesigned command system #40

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

Conversation

ANameSpace
Copy link
Contributor

New command:

Maintenance command:
/maintenance <off | on | toggle> - change maintenance mode
/maintenance list [-p] - get all ip addresses in whitelist ([-p] - get all online players in whitelist)
/maintenance <add | remove> <player | ip> - add/remove ip (or current player ip) from whitelist"

Fastmotd command:
/maintenance <off | on | toggle> - change maintenance mode
/maintenance list [-p] - get all ip addresses in whitelist ([-p] - get all online players in whitelist)
/maintenance <add | remove> <player | ip> - add/remove ip (or current player ip) from whitelist"

Other changes:

  • New messages have been added to the settings, which are necessary for the new commands to work.
  • The "SHOULD_KICK_ONLINE" setting has been added, which determines whether to kick non-whitelisted players from the game when maintenance mode is activated.
  • In the README.md file, a description of the new commands has been added.

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