This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I know that this is a old thread but I made a log on message that works 100% all the time.
First, add this scoreboard:
/scoreboard objectives add isOffline stat.leaveGame
then you add 2 command blocks like this:
The first blue command block put it on Repeat and Always Active and add the command:
/tellraw @a[score_isOffline_min=1] ["",{"text":"Welcome to the server!","color":"red"}]
and the second green command block put it on Chain and Always Active and add the command:
/scoreboard players set @a[score_isOffline_min=1] isOffline 0
Inside the command blocks:
first blue command block:
second green command block:
I know that this is a old thread but I made a log on message that works 100% all the time.
First, add this scoreboard:
then you add 2 command blocks like this:
The first blue command block put it on Repeat and Always Active and add the command:
and the second green command block put it on Chain and Always Active and add the command:
Inside the command blocks:
first blue command block:
second green command block: