Skip to content

External api support for triggers #28

Description

@Dmistass

It would be cool if the plugin could call various services from the config when certain triggers are triggered.
For example, if a reviewer accepts a plot, the plugin sends a request to the address in the config indicating that the plot has been accepted, and also sends all the information about it, such as who the builder is, who the reviewer is, and what the plot's boundaries are.
For example, in the config:
[API Webhooks]
plot_accepted = "https://api.bte.net/accept_plot"

And when the reviewer accepts the raft, a request is sent to the API.

For example, this is needed to automatically fill in progress on the progress map.

What triggers would be nice to have: plot creation, deletion, taking (when a player takes a plot), plot abandoned, plot rejected, plot accepted, sending feedback

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions