Releases: mastercake10/TelegramChat
Releases · mastercake10/TelegramChat
update 1.0.21
- Adding Advancement Handler for messages (b48ae1a)
- Adding config option to enable / disable advancement handling
- Adding config option to enable only certain type of advancement
- Adding config parameter for advancement message
Review additions to the config.yml:
messages:
advancement-message: "`%s obtained advancement %s! GG!`"
enable-advancement: true
# this will describe all types of advancements you want to be send on your telegram chat, be careful with 'recipes' type which can spam
advancement-types: "adventure,husbandry,story,nether,end"
Thanks to @Arthessia for this update.
update 1.0.20
- Silent update (5e9a682)
- Adding an option to remove the need-to-link message spamming everyone. (usefull if you don't want to configure the link FROM telegram -> TO server
- Adding an option to add only silent messages (telegram message without audio notification)
- removal of local files (ab920e7)
- Update .gitignore (69233fe)
- fix requested by mastercake10 (b838f29)
- send new version update of configuration file with comments
(21fe511) - clean code (cc40ac7)
Thanks to @Arthessia for this update.
update 1.0.19
New Features
- Added option to config.yml to prevent sending old messages from Telegram to MC on startup that were sent while the server was offline.
Bug Fixes
- Make metrics async #23
- Use plugin logger instead of System.out.println
update 1.0.18
New Features
- Add SuperVanish/PremiumVanish support to ensure consistency of join/quit messages on telegram + mc when using such plugins (#17)
Bug Fixes
- Change chat IDs from
Int
toLong
to make it work in groups again (#19)
Thanks to @mind-overflow and @iCaitlyn for the update.
update 1.0.17
- fix for group chats
update 1.0.16
- typing from group chats to MC is now possible (see readme.md for more information) #3
- added remote repository (https://repo.spaceio.xyz/) for developers
update 1.0.15
- prevent banned players from sending messages from Telegram -> MC
- fix
data.json
format (remove leading long value), so it can be edited manually when needed
update 1.0.14
- fixed #13 (TelegramChat should be compatible with ChatContro in this version)
update 1.0.13
- added the class Cancellable that allows developers to cancel the two implemented API methods shown below.
Example usage:
import de.Linus122.TelegramChat.TelegramActionListener;
import de.Linus122.TelegramComponents.Chat;
import de.Linus122.TelegramComponents.ChatMessageToMc;
public class TelegramListener implements TelegramActionListener {
@Override
public void onSendToMinecraft(ChatMessageToMc msg) {
if (msg.text.contains("swearword")) {
msg.setCancelled();
}
}
@Override
public void onSendToTelegram(ChatMessageToTelegram msg) {
if (msg.content.contains("swearword")) {
msg.setCancelled();
}
}
}
update 1.0.12
- fixed issue #12 that caused the plugin to duplicate messages [Telegram -> Minecraft]
- modularized the Telegram API a bit (JSON Objects sent from the API servers are now serialized to real Java objects for better handling)