Skip to content

Display a special welcome message when the plugin is first installed #402

Description

@jmakhack

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededjavaPull requests that update Java codeup for grabsAny issue that is up for grabs

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions