Frogger-DiscordGuard icon

DiscordGuard

Sends messages to moderator's discord when someone is naughty in guard.

Last updated 2 years ago
Total downloads 1536
Total rating 2 
Categories Mods Tools Server-side Client-side Utility
Dependency string Frogger-DiscordGuard-0.0.17
Dependants 3 other packages depend on this package

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

DiscordGuard

Sends messages to moderator's discord when someone is naughty in guard.

This is Client+server mod.
the moderator's url is set in the mod's config on the server
You will receive a notification when someone unauthorized tries to interact with:

  • doors
  • signs
  • portals
  • beehives
  • chests
  • crafting stations
  • item Stands
  • item drop (only vanila ward)
  • Pickable things (plants, stones, branches, etc.)
  • touching the Ward (doesn't work with WardIsLove)
  • using portal
  • damaging buildings
  • (test) destroying buildings
  • entering or exited the ward (doesn't work with WardIsLove)

There is localization in Russian, English and Spanish. If you need any other language, just tell me.

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

My discord: Just a Frogger#7777

--> How to create a Webhook <--

Synced Configs

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

[Main]

## If on, the configuration is locked and can be changed by server admins only.
# Setting type: Toggle
# Default value: On
# Acceptable values: Off, On
Lock Configuration = On

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

## If you use a mod that already prevents ItemDropPickup in guard, you can leave Off. WORKS ONLY WITH VANILA WARD
# Setting type: Toggle
# Default value: Off
# Acceptable values: Off, On
preventItemDropPickup = On

## If you use a mod that already prevents PickablePickup in guard, you can leave Off. WORKS ONLY WITH VANILA WARD
# Setting type: Toggle
# Default value: Off
# Acceptable values: Off, On
preventPickablePickup = On

## If you use a mod that already prevents using Crafting in guard, you can leave Off. WORKS ONLY WITH VANILA WARD
# Setting type: Toggle
# Default value: Off
# Acceptable values: Off, On
preventCrafting = On

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

[Urls]

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

Patchnotes
Version Changes
0.0.17 Fixed a bug with raising the mob's attack, and thereby disarming it.
0.0.16 Partial support moded wards.
Added notification of damaging and (test)destroying buildings.
Clearing the code.
Real-time configuration update, now you don't need to restart the server for this.
Full security of the moderator's webhook.
Removed the ability to ward's owner to set his own url.
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.
                                                                                                                                                                                                                              |