Difference between revisions of "Discord webhooks"

From Beasts of Bermuda
Jump to: navigation, search
(Created page with "=Using [https://discord.com Discord] webhooks= ;Beats of Bermuda, as of recently, supports Discord webhooks to better moderate your dedicated servers. With the Discord Webhook...")
 
Line 1: Line 1:
 
=Using [https://discord.com Discord] webhooks=
 
=Using [https://discord.com Discord] webhooks=
;Beats of Bermuda, as of recently, supports Discord webhooks to better moderate your dedicated servers.
+
;Beats of Bermuda, as of recently, supports Discord webhooks to better moderate your dedicated servers. For its setup, you will need:
 +
;-To implement Discord webhooks on your Discord Server.
 +
;-To set up your Beasts of Bermuda Server server to communicate with your Discord server through a config setup.
 +
 
 
With the Discord Webhooks, you can track your server(s) activity live and monitor '''chat, combat, group activity, logins/logouts, and admin command usage'''.
 
With the Discord Webhooks, you can track your server(s) activity live and monitor '''chat, combat, group activity, logins/logouts, and admin command usage'''.
 
These feeds can be put in separate private moderation channels, or all in the same spot and/or using the same Discord Webhook (not recommended).
 
These feeds can be put in separate private moderation channels, or all in the same spot and/or using the same Discord Webhook (not recommended).
Line 7: Line 10:
 
=Setting webhooks up=
 
=Setting webhooks up=
 
First of all, you will need to [https://docs.gitlab.com/ee/user/project/integrations/discord_notifications.html Create discord webhooks on your Discord server].
 
First of all, you will need to [https://docs.gitlab.com/ee/user/project/integrations/discord_notifications.html Create discord webhooks on your Discord server].
 +
Once that is done, open the Game.ini file, located under your '''{installFolder}/BeastsOfBermuda/Saved/Config/WindowsServer'''. If it does not exist, create it under this location.
 +
 +
;Set the config up:
 +
;- First of all, Copy-Paste the following text if it is not already there: <br>
 +
<syntaxhighlight lang="ini">
 +
[GameReporter]
 +
ChatReportDiscordWebhook="123456/examplekey_dwdhwaowdawbdwaowdcic11938374-ce"
 +
ChatReportIconURL=""
 +
LoginDiscordWebhook="123456/examplekey_dwdhwaowdawbdwaowdcic11938374-ce"
 +
LoginDiscordIconURL=""
 +
AdminCmdDiscordWebhook="123456/examplekey_dwdhwaowdawbdwaowdcic11938374-ce"
 +
AdminCmdDiscordIcon=""
 +
GroupActivityDiscordWebhook="123456/examplekey_dwdhwaowdawbdwaowdcic11938374-ce"
 +
GroupAtivityDiscordIconURL=""
 +
CombatActivityDiscordWebhook="123456/examplekey_dwdhwaowdawbdwaowdcic11938374-ce"
 +
CombatActivityDiscordIconURL=""
 +
bUseChatWebhook=False
 +
ChatWebhookFormatStyle="[:x01]<{PlayerInfo}>[:x01] <ChatMode={ChatMode}> **>** _{msg}_"
 +
 +
bUseLoginReportWebhook=False
 +
LoginReportFormatStyle="Player [:x01]<{PlayerInfo}>[:x01] joined server _{Server}_\n----"
 +
LogoutReportFormatStyle="Player [:x01]<{PlayerInfo}>[:x01] left server _{Server}_, played for {Hours} hours and {Minutes} minutes.\n----"
 +
 +
bUseAdminCommandUsageWebhook=False
 +
AdminCommandUsageFormatStyle="Player [:x01]<{PlayerInfo}>[:x01] used command [:x01]{Cmd}[:x01]\n----"
 +
 +
bUseGroupActivityWebhook=False
 +
 +
bUseCombatActivityWebhook=False''
 +
</syntaxhighlight>

Revision as of 17:12, 13 July 2021

Using Discord webhooks

Beats of Bermuda, as of recently, supports Discord webhooks to better moderate your dedicated servers. For its setup, you will need
-To implement Discord webhooks on your Discord Server.
-To set up your Beasts of Bermuda Server server to communicate with your Discord server through a config setup.

With the Discord Webhooks, you can track your server(s) activity live and monitor chat, combat, group activity, logins/logouts, and admin command usage. These feeds can be put in separate private moderation channels, or all in the same spot and/or using the same Discord Webhook (not recommended).

Setting webhooks up

First of all, you will need to Create discord webhooks on your Discord server. Once that is done, open the Game.ini file, located under your {installFolder}/BeastsOfBermuda/Saved/Config/WindowsServer. If it does not exist, create it under this location.

Set the config up
- First of all, Copy-Paste the following text if it is not already there

[GameReporter]
ChatReportDiscordWebhook="123456/examplekey_dwdhwaowdawbdwaowdcic11938374-ce"
ChatReportIconURL=""
LoginDiscordWebhook="123456/examplekey_dwdhwaowdawbdwaowdcic11938374-ce"
LoginDiscordIconURL=""
AdminCmdDiscordWebhook="123456/examplekey_dwdhwaowdawbdwaowdcic11938374-ce"
AdminCmdDiscordIcon=""
GroupActivityDiscordWebhook="123456/examplekey_dwdhwaowdawbdwaowdcic11938374-ce"
GroupAtivityDiscordIconURL=""
CombatActivityDiscordWebhook="123456/examplekey_dwdhwaowdawbdwaowdcic11938374-ce"
CombatActivityDiscordIconURL=""
bUseChatWebhook=False
ChatWebhookFormatStyle="[:x01]<{PlayerInfo}>[:x01] <ChatMode={ChatMode}> **>** _{msg}_"

bUseLoginReportWebhook=False
LoginReportFormatStyle="Player [:x01]<{PlayerInfo}>[:x01] joined server _{Server}_\n----"
LogoutReportFormatStyle="Player [:x01]<{PlayerInfo}>[:x01] left server _{Server}_, played for {Hours} hours and {Minutes} minutes.\n----"

bUseAdminCommandUsageWebhook=False
AdminCommandUsageFormatStyle="Player [:x01]<{PlayerInfo}>[:x01] used command [:x01]{Cmd}[:x01]\n----"

bUseGroupActivityWebhook=False

bUseCombatActivityWebhook=False''