-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Azimkin edited this page Feb 21, 2025
·
2 revisions
This page describes default configs of MultiMessageBridge
default configuration file if v0.3 looks like this:
####################################################################
# #
# #
# Main configuration of MultiMessageBridge #
# https://github.com/Azimkin/MultiMessageBridge/wiki/Configuration #
# #
# #
####################################################################
# Should plugin use bStats and publish metrics on https://bstats.org/plugin/bukkit/MultiMessageBridge/24055
metrics: true
# This part describes anything about heads?
heads:
# Possible replacements depends on your provider
# In default one its:
# %nickname% - players nickname
# %any_placeholder% - any placeholder from placeholderAPI
# More info: https://github.com/Azimkin/MultiMessageBridge/wiki/HeadProviders
url: https://crafthead.net/helm/%nickname%
# Default providers: default
provider: default
# Default message receivers that must be enabled
enabledDefaultReceivers:
- Telegram
- Discord
- Minecraft
# Time format used in server info under discord text channel
timeFormat: '{d} days {h} hours {m} minutes'
# time to update server info in seconds (10min its discord limit)
serverInfoUpdateTime: 603
defaultServerInfoFormat: 'Players online: {online} Players total: {total} Uptime:
{uptime}'
# Should plugin translate death, advancement messages from default locale (English)
# Translations brings from the translations.json file in plugin root folder
# Its just renamed file like https://github.com/InventivetalentDev/minecraft-assets/blob/1.21.4/assets/minecraft/lang/en_us.json
# this translations will be used in death, advancement messages, so if you are using advancement packs like BACAP
# you can add custom translations from the translations pack
translateMessages: trueThis config related to minecraft receiver and how messages will showed in minecraft
Every minecraft message configuration section supports MiniMessage format.
example config:
# If enabled will filter advancements by rarity
filterAdvancements: false
#Supported rarities https://jd.papermc.io/paper/1.21.4/io/papermc/paper/advancement/AdvancementDisplay.Frame.html
enabledAdvancementRarity: #advanced advancement filtering in process
- CHALLENGE
- GOAL
messages:
#how basic message from any unconfigured receiver will showed
messageBase: <platform> <nickname> -> <message>
#in this section you can declare custom formats for any receiver by receiver name
customFormats:
Telegram: <color:#FFFFFF>[</color:#FFFFFF><color:#ff9200>TG</color:#ff9200> <color:#FFFFFF>|</color:#FFFFFF>
<color:#ffd300>Игрок</color:#ffd300><color:#FFFFFF>] </color:#FFFFFF><nickname>
» <message>
Discord: <color:#FFFFFF>[</color:#FFFFFF><color:#FF0000>DS</color:#FF0000> <color:#FFFFFF>|</color:#FFFFFF>
<role><color:#FFFFFF>] <nickname> » <message>WIP
WIP
WIP