Skip to content

Releases: mastercake10/TelegramChat

update 1.0.21

14 Dec 18:18
5cea6ee
Compare
Choose a tag to compare
  • 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

12 Dec 18:15
bf29315
Compare
Choose a tag to compare
  • 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

26 Sep 02:41
Compare
Choose a tag to compare

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

08 Feb 18:10
Compare
Choose a tag to compare

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 to Long to make it work in groups again (#19)

Thanks to @mind-overflow and @iCaitlyn for the update.

update 1.0.17

08 May 01:25
Compare
Choose a tag to compare
update 1.0.17 Pre-release
Pre-release
  • fix for group chats

update 1.0.16

04 May 01:46
Compare
Choose a tag to compare
update 1.0.16 Pre-release
Pre-release

update 1.0.15

27 Mar 02:27
Compare
Choose a tag to compare
  • 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

21 May 15:19
Compare
Choose a tag to compare
  • fixed #13 (TelegramChat should be compatible with ChatContro in this version)

update 1.0.13

20 May 12:42
Compare
Choose a tag to compare
  • 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

05 Mar 07:42
Compare
Choose a tag to compare
  • 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)