added a default color coding regex if none is found
- vanished players can be hidden from player counts in the config
- fixed timeouts for quit events
- fixed an edge case when PlayerCountChangeEvent displayed 0 members
WebhookIntegrations v5.2 changelog
- added a new event PlayerCountChangeEvent that triggers after a configured amount of ticks have passed since last player joined/left
- added a configurable delay between player join/quit events are sent to prevent spamming when a user joins/leaves the server. This can be bypassed with the **webhookintegrations.bypassTimeout** permission
- player quit events can be disabled when the user is getting kicked to avoid double messages (quit and kick)
- player event sending can be disabled if they just connected to spam
Changelog
- added automatic config migration
- ability to remove color codes from json (hex and minecraft alt color codes)
- fixed vanish support
added multiwebhook support and bug fixes
Added templates and minor code refactoring.
You can now use commands to send your own webhook payloads that can be configured.
Check
WebhookIntegrations/templates.yml to see more.
Added command fail-safes, more command output and fixed advancements.
Fixed a minor issue with PAPI not working in the PlayerKilled event
All WebhookIntegrations commands can now be used in the console with full support.
Major bug fixed preventing the server start event message from being sent.
Fixed a bug breaking the Player Death PVE event.
Not having a webhook URL set resulted in a crash on startup.
Added a regex censoring system which can be found in the config.
Character encoding has been finally fixed!
Before, using special characters (e.g.
ą, ę, ć) resulted in a Bad Request. This is no longer the case.
Added vanish support!
The config now contains an option called
disableForVanishedPlayers, which will not send a message to the webhook if the player is vanished.
Verified plugins: EssentialsX, SuperVanish.
There may be more plugins supported.
Suggested by
TymekSL
Added vanish support!
The config now contains an option called
disableForVanishedPlayers, which will not send a message to the webhook if the player is vanished.
Verified plugins: EssentialsX, SuperVanish.
There may be more plugins supported.
Suggested by
TymekSL
Minor code refactoring update.
Added a config option to remove force role pings (
<@&id>) from the player's message. Also made using placeholders on-message possible (controlled by
allow-placeholders-in-message).
bStats now also gets the timezone selected.
Minor update featuring expanded metrics - language used.
Minor change.
Metrics data now includes whether the webhook URL is set or not.
Timestamp format fixed to be now proper ISO 8601. You can provide the timezone of the timestamp in the config (defaults to UTC)
$time$ can now be modified using a format supported by Java's
SimpleDateFormat.
Added a
$timestamp$ timestamp which can be used as a timestamp in the JSON payload sent to your Webhook.
Default configuration got upgraded and now uses timestamps.
Config presets now function properly.
Introducing backup presets (aka backups).
Players can now save and load presets with the following commands:
/wi config savebackup <?name> (name being optional, hence the "?">
/wi config loadbackup <name>
This is a pre-release and bugs are expected.
Changes:
- JSON message system changed to work like the language one.
- Changed the JSON encoding to UTF-8
- Improved crash prevention.
- JSON payloads sent to Discord are now in a seperate file: messages.yml
- Fixed PlaceholderAPI support.
- Minor fixes.
As always, report bugs on the GitHub repository.
Added some crash failsafes when the config was intentionally
tinkered with when sending messages to your webhook.
Users with
webhokintegrations.config.setvalue permission can now change the config during runtime with the use of
/wi setvalue <key> <value>, where key is the path to the key.
From now on you can make players unable to use placeholders mid-message.
For instance, a message containing "$player$" would send the player's name to your webhook.
In the config file you can disable this feature by setting onPlayerChat.
allow-placeholders-in-message to false (default false).
From now on you can make players unable to use placeholders mid-message.
For instance, a message containing "$player$" would send the player's name to your webhook.
In the config file you can disable this feature by setting onPlayerChat.
allow-placeholders-in-message to false (default false).
WebhookIntegrations now has support for placeholders from PlaceholderAPI. It is
NOT required.
All default placeholders now use $ signs instead of %.
Added support for versions from 1.17!
Plugin behaviour remains unchanged.
Language system got an overhaul.
You can now use the command
/wi setlanguage to change the language to any of the available ones in the lang.yml file.
This update contains minor code changes. It does not affect the plugin's behaviour.
As a request from an user, the config now contains an option called the "Language Override".
You can now select the language from the available ones from lang.yml using the
language-override key in the config.
More detailed description in the plugin's config.
This is most likely going to be the last release of this plugin. Updates are expected to rarely come out although issues will still be worked on.
Critical issue fixed which could allow anyone disable/enable the "sending toggle".
Removed telemetry and added a "sending toggle".
"Sending toggle" is located in the config under the name
isEnabled.
It can be modified with the use of
/wi enable and
/wi disable.
Auto-update bug fixed, minor tweaks in the code.
Advancement names now can be renamed and new can be added in the advancements.yml file.
File size dropped by removing a
now not used library.
WebhookIntegrations should now work on MohistMC servers without causing any issues.
Force pings can now be prevented and configurable in the config.
GitHub issue #3 hopefully fixed.
Added /wi update command to update the plugin manually
Fixed /wi analyze
Server operators will now receive a message if the plugin is not auto-updated.
WebhookIntegrations is now reaching version 2.0!
This means that a lot has changed...
- Now supporting Minecraft versions from 1.12 to 1.19.3!
- New placeholder: %uuid%
- Bug fixes
- Code cleanup
More coming soon...
Analyze command fixed.
Telemetry data is now optional
(and it shoul've been from the beggining) and can be disabled in the config:
Code (YAML):
send-telem
: false
/wi analyze command added
Minor usage telemetry
Fixed auto-updater being tirggered every time the server started.
Added auto-updater.
Can be disabled in the config:
Code (YAML):
auto-update
: false
By default set to true
New command implemented to reset/reload the config.
WebhookIntegrations v1.8 update adds a configurable censoring system. By default replaces @everyone and @here with "everyone" and "here" to not ping others.
Stuff that changed:
- /send functional again
- config overhauled
- default config fixes
- minor tweaks and bug fixes
WebhookIntegrations v1.7
Stuff that changed:
- /send functional again
- config overhauled
- default config fixes
- minor tweaks and bug fixes
WebhookIntegrations v1.6 includes many new features and fixes. It's one of the major updates.
- Added 1.16 - 1.19.3 support
- onServerStart and onServerStop messages
- Config expanded.
- Added more variables to existing events
Player death messages have been fixed, introducing new entries in config. This event is split into two parts - one where a Player is killed by another Player, and one when a Player dies from an NPC/natural causes.
Polish translation added.
All messages can now be altered in the lang.yml file.