How do I test if a specific player is online?
//ads -- adsterra.com -- native banner
?>
I want to make a command block that detects if me or my friend are online using /execute. How can I accomplish this?
Best Answer
Simply insert their name instead of a selector in /execute if, like this:
/execute if entity Horst run …
This checks if that player exists in the world, which is only the case if they're currently online on that server/LAN game or playing that world in Singleplayer.
Pictures about "How do I test if a specific player is online?"



How can you tell if someone is online on Minecraft?
Simply insert their name instead of a selector in /execute if , like this: /execute if entity Horst run \u2026 This checks if that player exists in the world, which is only the case if they're currently online on that server/LAN game or playing that world in Singleplayer.8 Tips to find our if he's a PLAYER! Online Dating Tips 2020
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: RODNAE Productions, Pixabay, RODNAE Productions, Katerina Holmes
