
DiscordGuard
Sends messages to your discord when someone is naughty in your guard.Discord-Guard
Sorry for the regular bugs and flaws. I hope this version should be full-fledged.
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.
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's 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!
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]
## If you use a mod that already prevents ItemDropPickup in guard, you can leave false.
# Setting type: Boolean
# Default value: false
preventItemDropPickup = false
## If you use a mod that already prevents PickablePickup in guard, you can leave false.
# Setting type: Boolean
# Default value: false
preventPickablePickup = false
## This is the minimum amount of time 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.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. |
|

