I am working on a CTF map using only Vannilla command blocks and wanted to know if it was possible to reset someones spawn if they were to log out of the world? Not sure if it is possible or not.
I am working on a CTF map using only Vannilla command blocks and wanted to know if it was possible to reset someones spawn if they were to log out of the world? Not sure if it is possible or not.
Yes, I believe if you set a command block up to a clock, and have it constantly search for a player, and have it activate a command block which sets that players spawn point (when it detects the player isn't there), it should do what you're talking about.
But that would work only if you know the players name. We are assuming you don't.
OP didn't say that. In that case, I can't think of anything, other than just having a command block that resets all player's spawns constantly with a clock; I don't think that's what you want though.
Thanks for the help guys but, I was trying to resolve an issue if someone with the flag logged out the system would reset the flag back to the team base. The issue is what would happen if that player with the assigned Flag carrier level decided to log in if again if the flag was taken again. The system would then have 2 Flag carriers in it. I think I'll just have to go with the full Flag reset system if it detects 2 or more Flag carriers at one time it will just reset the Flag, spawn points and levels of the players that have the flag. reason I need the system like this is I don't want it to become a tactic in the game where 5 people get the flag then log-out and then log in 5 min later when no one is around to kill them. Then they run and score 5 flags in a matter of 2 min.
Yes, I believe if you set a command block up to a clock, and have it constantly search for a player, and have it activate a command block which sets that players spawn point (when it detects the player isn't there), it should do what you're talking about.
...but that's just like, my opinion, man.
OP didn't say that. In that case, I can't think of anything, other than just having a command block that resets all player's spawns constantly with a clock; I don't think that's what you want though.
...but that's just like, my opinion, man.