-
Notifications
You must be signed in to change notification settings - Fork 225
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
Added two new commands to init script #112
base: master
Are you sure you want to change the base?
Conversation
I've had a look, and I'll merge in the changes when I get a chance to do so. My instinct tells me that the whitelist reload command is not necessary, since when the server is running, the console `/whitelist add craftysaurus' would be used, and that circumvents the need to reload from file. However we could definitely add it as a useful command. |
Ahh I see, I wasn't sure if when you add someone to the white list while the server is running they'd be able to join right away. Makes sense now though. |
Pull updates from upstream
I've added two new commands to the init script: "whitelist reload" and "clear."
Whitelist reload is to just reload a server's whitelist while the server is running, which I don't believe was happening if you added or removed a player from the whitelist while the server was running.
The clear command is to clear a players inventory completely or just of a certain entity.
Since this is my first real contribution I hope everything is correct, I'd love pointers on this to get it working!