[+] New Feature: Word Blacklist & Filter
You can now keep your chat clean by blocking messages containing specific words or phrases. This feature is highly configurable:
- Enable or disable the entire system.
- Grant a bypass permission (pychat.bypass) to staff.
- Add any words or phrases to a custom list.
- Set a custom warning message.
- Automatically kick players after a configurable number of violations.
[+] New Feature: Link & IP Protection
Prevent players from advertising other servers or websites in your chat.
- Block domain names and server IP addresses separately.
- Grant a bypass permission (pychat.bypass) to trusted players.
- Whitelist your own server's website, store, or Discord links so they are always allowed.
[*] Granular Discord Webhook Logging
We've added more control over what gets sent to your Discord webhook to help prevent API rate-limiting and reduce spam. You can now choose what to log:
- log-chat: Logs all player chat messages. (Can be high-volume)
- log-kick: Logs when a player is kicked by the plugin for spam/blacklist violations. (Low-volume)
Fixes & Improvements
- [FIX] Join/Leave Messages: Addressed an issue where custom join and leave messages were not consistently applying placeholders and formatting. They should now work perfectly.
- [IMPROVEMENT] Performance Boost: The plugin's core has been refactored for better performance and efficiency, reducing its footprint on your server.
- [IMPROVEMENT] Global Adjustments: Made several under-the-hood code adjustments for better stability and to make future updates easier to implement.
IMPORTANT: Configuration Update Required!
This update adds the new blacklist and link-protection sections, as well as new options in the discord-webhook section of your config.yml.
To update correctly, please follow these steps:
- Stop your server.
- Backup your old config.yml file.
- Delete the old config.yml from your /plugins/pyChat/ folder.
- Start your server to generate a new, updated config.yml.
- Copy your custom settings from your backup into the new file.