IMPORTANT - IMPORTANT - IMPORTANT
This is a drop-in script for the "Discord Relay and Server Joiner" at version 3.0 or higher, which is available at https://marketplace.secondlife.com/p/p/19908039
This script WILL NOT FUNCTION WITHOUT the Discord Relay! It NEEDS the Discord Relay in order to function!
IMPORTANT - IMPORTANT - IMPORTANT
What does it do?
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Imagine you are running a club, venue, store, or a family-friendly place. The atmosphere is friendly and polite - at least when you are there. But you keep hearing about the conversation becoming less polite when you are not around. In order to protect your venue, you need to get a firsthand report of patrons misbehaving.
This is where this tool comes in. Once switched on, it monitors public chat discreetly in the background. If someone starts misbehaving, it logs the offending lines to your Discord server, along with their name, profile picture, and profile link. YOU define what kind of language is undesirable.It is up to you how strict or relaxed you want to keep the rules. But you'll know if guests start misbehaving in your absence, and can reprimand them.
The checking for undesirable, and impolite language is done completely inside of Second Life. Chat lines only get transmitted to your Discord Server, if the foul-language detector triggers, thus keeping a balance between the privacy of open chat, and your desire to keep a friendly, polite place.
This script is an addition to the Discord Relay, and will require version 3.0 or higher of the relay to work.
Language support
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
While the system works with any language, syntactically more complex languages become more challenging to configure. It works easy enough with Germanic languages (English, German, Dutch, Scandinavian languages, except Finnish), but Romanic languages (French, Spanish, Portuguese, and Italian) start to pose a problem and require more extensive configuration. If you are not a native speaker of those languages, but want to use them nevertheless, I would recommend getting the help of a native speaker in setting up the badwords-list.
You can mix languages in your discord.cfg notecard, e. g. adding English and German swear words. The system itself doesn't know what language gets spoken.
We have provided a list of common bad words for some languages for your convenience in the notecard badwords.txt. It's a good starting point to copy the ones for your language into the discord.cfg notecard, to get a feel for how the system works.
Known Issues & Limitations
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Chat range:
Open chat can only be detected in a sphere with a radius of 20 meters. This is called the "chat range" and is a hard coded limitation of SL, not of our product. There has been talk for years that SL might allow region owners to extend this limit, but so far without any results. The good news is: This product will work with larger (or smaller) chat ranges without any problem.
If you want to cover a larger area, you can place multiple Discord Relay objects in a distance of 40 meters. You can place them closer, but then you might get overlapping messages in your Discord channel. I am currently experimenting with ways to include (certain) chat extenders into the system.
Suggestions, Bug Reports, Feature Requests
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Please let me know if you run into trouble, or have any suggestions. Also let us know if you like it. We are open to feature requests and commissioned work. Let us know on Discord: https://discord.gg/9dAUeaH (where else?).
Version history
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
1.00.03 2023-08-12 First public version
- Detect rude words and bad language, add your own bad words in any language
- Report bad words to your Discord server to see who uses foul language
- Scan for vulgar and profane chat and see who uses insults
- Keep open chat clean and get the name and profile link of rude patrons
- Comes with sample lists of bad words in 4 languages, fully configurable for more
Great Addon for the amazing Discord Tool!
Some things can simply be solved. This add-on for the Discord tool has been thoughtfully developed. The installation is very simple.