3

How to TP a player only when the join a server for the first time

Mithrandir918's Avatar Mithrandir9182/5/22 6:05 pm
3 emeralds 184 4
2/21/2022 5:03 pm
Mithrandir918's Avatar Mithrandir918
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
Posted by Mithrandir918's Avatar
Mithrandir918
Level 2 : Apprentice Miner
0

Create an account or sign in to comment.

4

MrSquareFacePant
02/14/2022 3:23 pm
Level 40 : Master Taco
MrSquareFacePant's Avatar
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
1
Mithrandir918
02/21/2022 5:03 pm
Level 2 : Apprentice Miner
Mithrandir918's Avatar
I'll try this, thanks!
1
nw53
02/08/2022 10:49 am
Level 29 : Expert Spider Rider
nw53's Avatar
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.
2
Mithrandir918
02/14/2022 3:09 pm
Level 2 : Apprentice Miner
Mithrandir918's Avatar
I'll try that, thanks!
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome