Commit graph

2 commits

Author SHA1 Message Date
Daenges
239900451d
Improvements for Discord Webhook (#1544)
* Improve caching and remove unused functions
* Save Player UUID before leaving
Save the UUID when they leave and save it until they join again.
* Clear the cache after disconnect
* Update MinecraftClient/config/ChatBots/DiscordWebhook.cs
2021-04-18 16:14:09 +02:00
Daenges
b3bae6c2f8
Add DiscordWebhook ChatBot (#1532)
* Send chatmessages to Discord via webhook.

With corresponding Minecraft skins as profilepicture.

* Support for pings at keywords and server messages.

* Cleanup, Settings Class and applied suggestions.

* Fix all function names

* Improve variable naming and UUID search

* Re-format some comment

* Rename file to DiscordWebhook.cs

* Add message caching and option for disabling UUID lookup

Add Message class
Add Cache class
Change internal Message delivery

* Add an ignore list

Improved help message
Add option to get all settings

* Add feature to deactivat CustomChatDetection

Comment some functions

* Option to unload the bot

Fix crash when not entering a valid ping syntax

Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>
2021-04-14 10:21:18 +08:00