This commit is contained in:
mastercake10 2017-04-02 22:47:25 +02:00
parent 4d94a59297
commit 0bb21ad153
9 changed files with 3 additions and 1 deletions

0
README.md Normal file → Executable file
View File

3
config.yml Normal file → Executable file
View File

@ -1,3 +1,4 @@
chat-format: '&c[Telegram]&r %player%: %message%'
enable-joinquitmessages: true
enable-deathmessages: true
enable-deathmessages: true
enable-chatmessages: true

0
de/Linus122/TelegramChat/Data.java Normal file → Executable file
View File

0
de/Linus122/TelegramChat/LinkTelegramCmd.java Normal file → Executable file
View File

1
de/Linus122/TelegramChat/Main.java Normal file → Executable file
View File

@ -156,6 +156,7 @@ public class Main extends JavaPlugin implements Listener{
}
@EventHandler
public void onChat(AsyncPlayerChatEvent e){
if(!this.getConfig().getBoolean("enable-chatmessages")) return;
if(Telegram.connected){
Chat chat = new Chat();
chat.parse_mode = "Markdown";

0
de/Linus122/TelegramChat/Telegram.java Normal file → Executable file
View File

0
de/Linus122/TelegramChat/TelegramCmd.java Normal file → Executable file
View File

0
de/Linus122/TelegramComponents/Chat.java Normal file → Executable file
View File

0
plugin.yml Normal file → Executable file
View File