From 28e6550f44d8c68ac9292953e518809eb1e80676 Mon Sep 17 00:00:00 2001 From: Pedro Mendes Date: Mon, 4 Mar 2024 01:16:19 -0300 Subject: [PATCH] Bump to 1.1.0 --- README.md | 17 +++++++++++------ build.gradle | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 297a343..b6fd81f 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,18 @@ This plugin adds a bridge between telegram and your minecraft sever. ## Permissions -|key|Description| -|-|-| -|telegrambridge.receive|If players should receive message from telegram| -|telegrambridge.send|If message of the players should be sent to telegram| -|telegrambridge.commands.reply|Ability to reply to messages from telegram on minecraft| -|telegrambridge.commands.mention|Command that make auto complete on users from telegram to mention them| +| key | Description | Default | +|---------------------------------|------------------------------------------------------------------------|---------| +| telegrambridge.receive | If player should receive message from telegram | true | +| telegrambridge.send | If message of the player should be sent to telegram | true | +| telegrambridge.commands.reply | Ability to reply to messages from telegram on minecraft | true | +| telegrambridge.commands.mention | Command that make auto complete on users from telegram to mention them | true | +| telegrambridge.commands.reload | Allows the user to reload the TelegramBridge configuration | op | ## Config This is the example config: + ```yml bot_token: your_token # your bot token from @BotFather remember to disable privacy mode chats: # your chat list, you can add multiple chats use '-' to separate them @@ -31,13 +33,16 @@ log_join_and_leave_event: true log_death_event: true log_sleep_event: false months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] +media_types: ['an image', 'a video', 'a document', 'an audio', 'a voice', 'a sticker', 'a contact', 'a location', 'a poll', 'a media'] messages: join: 'Player %playername% joined the game!' leave: 'Player %playername% left the game!' death: 'Player %playername% died! %deathmessage%' sleep: 'Player %playername% is sleeping!' telegram: '[%playername%]: %message%' + media: '§7[§bTelegram§7] §f[%user%] sent %type%\n %caption%' chat: '§7[§bTelegram§7] §f[%user%] %message%' + reply: '- §breply to §7%user%: %message%§r -\n' time: 'Time is %time% %emoji%\nDate is %month% %day%, Year %year%' online: 'There are %count% players online\n%players%' ``` diff --git a/build.gradle b/build.gradle index 063ae5b..6bf27bd 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ shadowJar { } group = 'org.altart' -version = '1.0' +version = '1.1.0' repositories { mavenCentral()