Skip to content

Messages

Igor edited this page Jan 11, 2024 · 3 revisions

About

All messages are following the same style and have same properties, you can edit them by opening file in /config/f2d/messages.conf

Message

color

Color of the embed message.

Type: HEX value (no transparency)
Examples: #01cdfe, ffff66

enabled

Toggles the message.

Type: Boolean
Examples: true, false

text

Has few properties for different text display

footer

Bottom part of the embed message, disabled if string is empty.

Type: String
Examples: https://minotar.net/cube/%player:name%/32.png

body

Basic text message, disabled if string is empty.

Type: String
Examples: by %player:name%, (c) F2D

header

Top part of the embed message, disabled if string is empty.

Type: String
Examples: by %player:name%, (c) F2D

images

Has few properties for different text display

footer

Icon of bottom part of the embed message, disabled if string is empty.

Type: String
Examples: https://minotar.net/cube/%player:name%/32.png

header

Icon of top part of the embed message, disabled if string is empty.

Type: String
Examples: https://minotar.net/cube/%player:name%/32.png

image

Image that will be shown inside embed message, disabled if string is empty.

Type: String
Examples: https://minotar.net/cube/%player:name%/32.png

thumbnail

Image that will be shown in right corner of the embed message, disabled if string is empty.

Type: String
Examples: https://minotar.net/cube/%player:name%/100.png

timestamp

Toggles the timestamp.

Type: Boolean
Examples: true, false

fields

Additional fields for message.

name

Header of the field.

Type: String
Examples: field title

value

Text of the field.

Type: String
Examples: field text

inline

Decides whether field takes full width of the embed.

Type: Boolean
Examples: true, false

Unique Properties

ignores-gamerule (only for got-advancement)

Whether to show message if show advancements gamerule disabled.

Type: Boolean
Examples: true, false