3
How to TP a player only when the join a server for the first time
Hi! I was wondering if there was any way to make a condition using command blocks to teleport a player to a certain location ONLY when the join the server for the very first time. If it helps, I will be running this server on Paper 1.18.1
Create an account or sign in to comment.
4
For an in-game solution you could have a command block (under spawn) set to always active and repeat. and type this in the command block /tp @a[distance=3,level=0] (x) (y) (z) make sure to /gamerule spawnradius 0. although this solution would allow anyone without any experience and within a couple of blocks of the command block to be telleported
I'll try this, thanks!
Maybe you could use a scoreboard that adds 1 to a player's spot on it every time they log on, and make it so that when it updates to 1 (on joining for the first time) and have that trigger the command/script of your choice. You'll have to look up how to detect when players log on at all, since I'm not that good of a code person.
I'll try that, thanks!