Display a special welcome message when the plugin is first installed #402
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
java
Pull requests that update Java code
up for grabs
Any issue that is up for grabs
Milestone
Feature Reasoning
It would be nice to have an initial message displayed when first downloading and installing the plugin on how to get started with using the plugin.
Feature Description
When the plugin is first installed, there should be a special welcome message displayed to the user in the form of a chat game message.
It should be something like:
Welcome and thanks for installing the RuneLite Hydrate Reminder plugin v2.0.0!
Adjust settings in the plugin configuration menu and type "::hr help" in chat to view available commands.
If the user installs the plugin before actually logging in the OSRS, the logic should wait until the user logs in before displaying the chat message.
Possible Alternatives
Any alternatives to the suggested install message can be suggested and implemented.
Additional Context
In order to get this to work and only display when the plugin is first installed, a flag should be added within
hydrateReminderStats.json
:installMessageFlag
. This flag should be set to 0 by default and then set to 1 after the message has been displayed. As long as the flag is set to 1, the user should never see the install message ever again.Please refer to CONTRIBUTING.md for info on how to setup, build, run, and test this project.
The text was updated successfully, but these errors were encountered: