Skip to content
Chris Shaffer edited this page Sep 15, 2021 · 57 revisions

Email Notifications

By default you will receive an email to the address associated with your profile when a game starts or ends, and when it's your turn. Check your spam folder or allowlist [email protected] if it seems like emails aren't arriving.

Email notifications are suppressed while the site is open on your computer. This behavior prevents the site from sending large amounts of emails during active games. If it seems like you're not receiving emails when you should be, check to see if the site is open in a background tab or on your phone.

Email notifications are not sent for pinned games (games that broke due to new code). Webhooks (see below) do work for pinned games.

Note: Emails at the following domains will not receive notifications, as Microsoft blocks our email sending service.

  • msn.com
  • hotmail.com
  • outlook.com
  • live.com
  • passport.com

You can disable email notifications in the user settings page.

image

Configuring Webhooks (advanced)

You can configure notifications to a Slack workspace or Discord server via webhooks.

18xx Games Slack Notifications

As a convenience, 18xxgames.slack.com is provided as a pre-configured option for Slack notifications.

image

  1. Join the 18xxgames Slack workspace via invite link
  2. Find your Slack User ID and enter it into the Webhook User ID field. It will start with a U and be in the form U12345678. This is not your username.
  3. Your notifications will appear in the #18xxgamesnotifications channel. This is a shared channel with other people's game notifications.
  4. (optional) Configure Slack to only notify when you are mentioned to make it easier to see your own notifications.

Discord Notifications

You can send notifications to a given channel on a Discord server.

117835166-c3a83380-b245-11eb-9187-8e49db5a7e63

  1. Create your own server or utilize an existing server where you have administrator privileges.

  2. Obtain the webhook URL for the Discord channel on the server where you want notifications to be sent and enter it into the Webhook URL field

  3. Find your Discord User ID and enter it into the Webhook User ID field. It will be an eighteen-digit number. This is not your username.

  4. Your notifications will appear in the Discord channel configured above.

Custom Notifications

You can configure notifications to any Slack workspace where you have admin privileges by setting the Webhook URL and Webhook User ID fields to the appropriate values that Slack provides. Note that Slack only allows inbound webhooks to send messages to channels (not direct messages).

For developers, you can integrate with any server that accepts inbound webhooks by setting Webhook URL to the appropriate endpoint. The inbound webhook payload contains a JSON blob under a top-level text field containing notification data.

Clone this wiki locally