Greeting Message

Have you ever wanted to tell something to people who used your add-on? If yes, this tutorial will be useful for you.

Features:

  • Send message to player who joined world with this add-on for the first time
  • Translatable
  • Compatible to other add-ons
  • No experimental gameplay needed

Concept

Idea of this tutorial is very simple:

tick.json runs funtion that tellraws message to everyone who doesn't have a special tag and then adds this tag

tick.json

You can understand how tick.json works here:

tick.json explanation

BP/functions/my_greeting_message.jsonCopy
{
    "values":[
        "my_greeting_message"
    ]
}
1
2
3
4
5

Function

Learn how tellraw works:

Tellraw

BP/functions/my_greeting_message.jsonCopy
tellraw @a[tag=!joined] {"rawtext":[{"text":"This is greeting message."}]}
tag @a add joined
1
2

Result

Contributors

SmokeyStackMedicalJewel105