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

Automatic configurable launch messages in the main channel #75

Open
WizardCM opened this issue Jul 9, 2013 · 2 comments
Open

Automatic configurable launch messages in the main channel #75

WizardCM opened this issue Jul 9, 2013 · 2 comments

Comments

@WizardCM
Copy link
Member

WizardCM commented Jul 9, 2013

Currently the main bot connects to IRC mid server load. Here are a couple ideas to improve this;

  • When it connects, say a configurable message similar to "The server is still loading, so you cannot connect yet!"
  • When the server is done finished loading (not sure if there's an event for this, but if there isn't there is a specific string we could scan for in the console) display a configurable message like "The server has loaded and you can now play!"

And to keep it consistent, maybe one when the server is given the /stop command too, or if it has crashed (but that may be harder to detect).

@WizardCM
Copy link
Member Author

Thanks to a bit of research by @Boombox, we know of one way to show the second message;

You could try scheduling a sync task with a delay of 0. Sync tasks are executed once the server finishes loading.

@BlaneyXYZ
Copy link
Member

Just saving this here http://wiki.bukkit.org/Scheduler_Programming

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

No branches or pull requests

2 participants