I have a server and I need help making commands that whisper to the player the discord link and the vote links when they say something in chat. can you help me do this?
6
I would probably set up a trigger for that. Something like "/trigger discord_link" for example. So when someone types that, you would use tellraw @a[scores={discord_link=1..}] <insert your tellraw statement here>
To generate a tellraw command with links/hovers/etc... use https://minecraft.tools/en/tellraw.php
Just make sure after the execute the tellraw, you reset the discord_link score. Also set up a command that is always re-enabling the trigger so that people can use it again.
To generate a tellraw command with links/hovers/etc... use https://minecraft.tools/en/tellraw.php
Just make sure after the execute the tellraw, you reset the discord_link score. Also set up a command that is always re-enabling the trigger so that people can use it again.
would a command on a player joining work? that's not too hard
yes, that would be fine I guess
k, I'll throw that together
k, here it is
https://www.planetminecraft.com/data-pack/simple-welcome-messge/
follow the instructions, if you're on windows you may have to temporarily add .txt to the end of the mcfunction. Hope this makes sense
-Toshnika
https://www.planetminecraft.com/data-pack/simple-welcome-messge/
follow the instructions, if you're on windows you may have to temporarily add .txt to the end of the mcfunction. Hope this makes sense
-Toshnika
I was thinking about a "message of the day" datapack actually... Something you wouldn't have to manually edit the function every time... put it into a trigger like i suggested and just activate the trigger for the person on login. That way they can activate it manually themselves if they want without having to log out and back in to see it. That would give this much more flexibility than just sending a simple login message.
