Skip to main content

🔖 Discord Webhooks

What's this?​

Discord webhooks allow you to send alerts directly to Discord channels. All webhook messages are referred to as "alerts." When a particular event occurs, an alert will be sent to the proper webhooks.

Alert Privacy​

Discord Webhooks will NEVER include private details such as IP Addresses in alerts! Because of this, you should make sure you are setting human-readable names in your RC-Paper configurations.

Scope​

You can set the scope of a webhook using the scope flag. Available options are:

ScopeDescription
ProxyThe proxy scope, alerts will be sent no matter what.
FamilyA family scope (the name of the family to target should be provided using the target-family tag.) Alerts will only trigger if they are related to this specific family.

Alerts​

Alerts will only fire if they're used in the correct scope.

Scope: Proxy​

TypeAlert NameTrigger
Serversregister_allWhen the proxy sends a request for all servers to register themselves.
Serversserver_registerWhen a server registers to the proxy.
Serversserver_unregisterWhen a server unregisters from the proxy.
Playersplayer_joinWhen a player successfully connects to the proxy.
Playersplayer_leaveWhen a player leaves the proxy.
Playersplayer_join_familyWhen a player joins a family.
Playersplayer_leave_familyWhen a player leaves a family.
Playersplayer_switch_serverWhen a player switches from one server in the proxy to another.
Playersplayer_switch_familyWhen a player switches from one family in the proxy to another.
Playersdisconnect_catchWhen a player disconnects or is kicked from a family and the root family catches them before they're kicked from the proxy.

Scope: Family​

TypeAlert NameTrigger
Serversregister_allWhen /rc register family is used.
Serversserver_registerWhen a server successfully registers to the family.
Serversserver_unregisterWhen a server successfully unregisters from the family.
Playersplayer_joinWhen a player successfully connects to the family.
Playersplayer_leaveWhen a player leaves the family.
Playersplayer_switchWhen a player switches from one server in the family to another.