Frogger-DiscordGuard icon

DiscordGuard

Sends messages to your discord when someone is naughty in your guard.

Last updated a week ago
Total downloads 193
Total rating 2 
Categories Mods Server-side Client-side
Dependency string Frogger-DiscordGuard-0.0.15
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1901 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1901

README

#Discord-Guard

Sends messages to your discord when someone is naughty in your guard. Hold the interaction button and paste the URL of your webhook in the window that appears.

This is Client+server mod. I made it so that a message is sent to the moderator, but the owner of the guard can additionally specify his url and messages will come to him too. the moderator's url is set in the mod's config and the client receives it from there.

When installing the mod for the first time, you need to start the server and turn it off - to generate a config. You will receive a notification when someone unauthorized tries to interact with: doors, signs, portals, beehives, chests, fermentation barrels, plants, Item Stands, item drop, Pickable things (plants, stones, branches, etc.). And also when someone uses your portal.

If your(moderator) webhook was stolen anyway, just recreate it and enter a new one in the server-side config. If this happens again, write to me in Discord, I will release a patch.

If something does not work for you, you have found any bugs, there are any suggestions, then be sure to write to me!

If you need any other language, just tell me.

My discord Just a Frogger#7777

*how to create Webhook: https://www.youtube.com/watch?v=fKksxz2Gdnc

Synced Configs

Location: BepInEx/Config/com.Frogger.DiscordGuard.0.0.9.cfg

[Main]

## The language in which the moderator receives notifications.
# Setting type: String
# Default value: English
server language = English

## If you use a mod that already prevents ItemDropPickup in guard, you can leave false.
# Setting type: Boolean
# Default value: false
preventItemDropPickup = true

## If you use a mod that already prevents PickablePickup in guard, you can leave false.
# Setting type: Boolean
# Default value: false
preventPickablePickup = true

## This is the minimum time interval between sending webhooks.
# Setting type: Single
# Default value: 2.5
webHookTimer = 2.5

[Urls]

## Url of the moderator's webhook
# Setting type: String
# Default value: 
moderatorUrl = https://discord.com/api/webhooks/******

Patchnotes
Version Changes
0.0.15 The test code interfering with the stable operation of the mod has been cut out. ... Stable... who am I kidding)
0.0.14 deleted Fixed one rare bug.
0.0.13 deleted Optimized message sending. Fixed bug with cleaning the config on the server.
0.0.12 Added localization to Englith, Russian and Spanish. Other changes.
0.0.11 Added moderator url protection. It will be very problematic for the user to get it from the config. Finally added a message and an obstacle to the selection of loot and the collecting of Pickable things (plants, stones, branches, etc.). Other fixes and a pinch of bugs)
0.0.10 Fixed bugs with sending the config by the server to the client. Other fixes.
0.0.9 Changed the appearance of messages in the console, new fields in the config, plants control. And other changes.
0.0.8 Added the missing library and translated all the messages into English.
0.0.7 I made it so that a message is sent to the moderator, but the owner of the guard can additionally specify his url and messages will come to him too. And added the configuration.
                                                                                                                                                                                                                               |

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-8-4 0.0.15 20 Version 0.0.15 Install
2022-7-31 0.0.12 19 Version 0.0.12 Install
2022-7-30 0.0.11 23 Version 0.0.11 Install
2022-7-29 0.0.9 17 Version 0.0.9 Install
2022-7-28 0.0.8 16 Version 0.0.8 Install
2022-7-27 0.0.7 10 Version 0.0.7 Install
2022-7-27 0.0.6 12 Version 0.0.6 Install
2022-7-27 0.0.5 17 Version 0.0.5 Install
2022-7-27 0.0.4 9 Version 0.0.4 Install
2022-7-27 0.0.3 17 Version 0.0.3 Install
2022-7-27 0.0.2 16 Version 0.0.2 Install
2022-7-27 0.0.1 11 Version 0.0.1 Install