TelegramChat icon

TelegramChat -----

Brings the ingame chat to Telegram!




  • 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:

Code (YAML):
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.
----------, Dec 14, 2022

  • 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.
----------, Dec 12, 2022

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
----------, Sep 26, 2022

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.
----------, Feb 8, 2022

----------, May 4, 2021

  • 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
----------, Mar 27, 2021

  • fixed #13 (TelegramChat should be compatible with ChatContro in this version)
----------, May 21, 2018

  • added the class Cancellable that allows developers to cancel the two implemented API methods shown below.
Example usage:
Code (Java):
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 ( ) ;
        }  
    }

}
----------, May 20, 2018

  • 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)
----------, Mar 5, 2018

  • some code refactoring and restyling
  • put all user messages in the config.yml, so they're now customizable
  • fixed issue #9 that caused the plugin to reconnect instantly
----------, Mar 3, 2018

  • fixed the issues #7 and #6
----------, Feb 8, 2018

This version includes the unofficial version 1.0.9.8. However, the following new features have been added:

  • added an API that allows developers to create bidirectional chat listeners (MC <-> Telegram)
  • converted project to maven
  • fixed the issue #5
----------, Jan 1, 2018


* fixed text transmission MC -> Telegram
* general code cleanup
----------, Sep 14, 2017

* fixed weird color output [minecraft -> telegram]
* added color support using & [telegram -> minecraft]
----------, May 20, 2017

+ added configuration ability: enable-chatmessages: true
----------, Dec 22, 2016

* Fixed telegram token save issue.

Note: You can now contribute on github if you like. (See description for link)
----------, Nov 8, 2016

Added:
- Formatting (Bold, Italic, inline etc).
- join/quit messages are now green.
- Changed chat format from MC to Telegram. For example:
Linus122: Hello, this is an example.
- Added death messages
- Added a configuration ability to turn on/off certain messages
----------, Feb 26, 2016

- Fixed some errors, i hope so.
- Added some error messages to find out what's wrong.

Thanks to all those who have reported bugs to me!
----------, Jan 14, 2016

- fixed disconnect after a certain time.
----------, Jan 13, 2016

Fixed:

- Fixed that the /start command appear in chat
- Fixed "empty" messages, that means emoticons could no longer send from Telegram
----------, Jan 9, 2016

Updated:

- chat-prefix removed.
- chat-format implemented! Please delte your old config to get this working!
Chat-Format is more customizable than the chat-prefix, take a look at this:
chat-format: '&c[Telegram]&r %player%: %message%'
----------, Jan 8, 2016

Added:

- UTF-8 Encoding. That means: Foreign Characters are now possible!
- [Telegram] prefix to config.yml
----------, Jan 8, 2016

Fixed:
- NullPointerException ( http://pastebin.com/W2zad0RA) Thanks to @JBS for the error
----------, Jan 8, 2016

Fixes the double messages
----------, Jan 7, 2016

Added some nice things:

- Bots can now be added in groups
- /linktelegram - type this command to link your telegram with your account! (Required for chat access)
- Bug fixes
----------, Jan 4, 2016

I hope the bug is now fixed.
----------, Jan 4, 2016

Hope it will work now
----------, Jan 3, 2016

Fixed NullPointerException
----------, Jan 3, 2016

Resource Information
Author:
----------
Total Downloads: 7,129
First Release: Jan 3, 2016
Last Update: Dec 14, 2022
Category: ---------------
All-Time Rating:
50 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings