Skip to content

Commit

Permalink
Bump to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alt-art committed Mar 4, 2024
1 parent a93ca7e commit 28e6550
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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%'
```
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ shadowJar {
}

group = 'org.altart'
version = '1.0'
version = '1.1.0'

repositories {
mavenCentral()
Expand Down

0 comments on commit 28e6550

Please sign in to comment.