#Am I missing something? - Function wont load
1 messages · Page 1 of 1 (latest)
title @a times 40 120 60
execute as @a if score @s joinSave matches 1.. run tellraw @a[{"selector":"@s", "color":"red"},{"text":" joined for the first time! Please make them feel welcome!"}]
execute as @a if score @s joinSave matches 1.. run tellraw @s [{"text":"Hey ","color":"green"},{"selector":"@s","color":"gold"},{"text":"! Glad to have you on Johnson Gaming Official Minecraft Server! Please read the rules in our Discord and abide by them. If you have any concerns please please feel free to ask us. Thank you!","color":"green"}]
execute as @a if score @s joinSave matches 1.. run tellraw @s [{"text":"Join Our Discord (Click to join)","color":"#5865F2","clickEvent":{"action":"open_url","value":"Discord link"}}]
execute as @a if score @s joinSave matches 1.. run tellraw @s [{"text":"Follow us on Instagram (Click to see)","color":"#C13584","clickEvent":{"action":"open_url","value":"https://www.instagram.com/johnson_gaming_hub/#"}}]
execute as @a if score @s joinSave matches 1.. run title @s title [{"title":"Welcome, ","bold":true, "italic":true, "color":"red"},{"selector":"@s","bold":true, "italic":true, "color":"red"}]
execute as @a if score @s joinSave matches 1.. run title @s subtitle[{"title":"Welcome to Johnson Gaming Server"}]
execute as @a if score @s joinSave matches 1.. run scoreboard players reset @s joinSave
execute as @a[tag=!Already] run tellraw @s [{"text":"Welcome back, ","color":"green"},{"selector":"@s","color":"gold"},{"text":"! We are happy to have you back on our Johnon Gaming Official Minecraft Server!","color":"green"}]
execute as @a[tag=!Already] run tag @s add Already
Im on minecraft 1.19.4
you're missing a bunch of whitespaces
like here
or here
just use mcfunction LSP
plus .minecraft/logs/latest.log will tell u why the function didnt load
use the Visual Studio Code program, with extensions for datapacks there will be syntax highlighting, as well as all possible hints for commands, and highlighting in red if there is an error in the command
Oh there is a extention?
yes
Data Pack Helper Plus
language mcfunction
mcmeta
NBT Viewer
kk