This plugin adds support for Fourthwall events and related variables to Firebot.
- Firebot 5.65 or higher
- Copy the
firebot-fourthwall.jsfile into your Firebot profile'sscriptsfolder (e.g.%appdata%\Firebot\v5\profiles\Main Profile\scripts) - Go to Settings > Scripts in Firebot
- Click on "Manage Startup Scripts"
- Click "Add New Script"
- Select the
firebot-fourthwall.jsfile from the dropdown list - Click "Add & Configure"
- Click the "Copy URL" button under "Webhook URL", then close both the script settings and the "Startup Scripts" modals
- In your Fourthwall account, under Settings > For developers > Webhooks, create a new webhook, paste the copied URL into the URL field, select which events you want Fourthwall to send, and click "Save"
New events:
- Fourthwall: Order Placed
- Fourthwall: Order Updated
- Fourthwall: Donation
- Fourthwall: Gift Purchase
- Fourthwall: Product Created
- Fourthwall: Product Updated
- Fourthwall: Subscription Purchased
- Fourthwall: Subscription Changed
- Fourthwall: Subscription Expired
- Fourthwall: Thank You Sent
- Fourthwall: Newsletter Subscribed
- Fourthwall: Platform App Disconnected
- Fourthwall: Gift Draw Started
- Fourthwall: Gift Draw Ended
Existing Firebot variables with added support for Fourthwall:
$donationAmount$donationFrom$donationMessage
New variables:
$fourthwallApiVersion$fourthwallCurrency$fourthwallDonationStatus$fourthwallEventId$fourthwallEventType$fourthwallIsTestMode$fourthwallOrderId$fourthwallOrderStatus$fourthwallOrderTotalAmount$fourthwallProductDescription$fourthwallProductId$fourthwallProductImage$fourthwallProductName$fourthwallProductStatus$fourthwallQuantity$fourthwallShopId$fourthwallSubscriptionStatus$fourthwallSubscriptionType$fourthwallThankYouRecipient$fourthwallWebhookId
WARNING: The following variables may contain sensitive/private data. Use with caution!
$fourthwallSupporterEmail