-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
teleport-on-entry does not work if someone teleports a player into a claim #259
Comments
Wouldn't denying entry work for that just fine? Anyways, fixing this is a bit problematic due to the nature of the events happening. Basically all teleports are ignored while other teleport request is in flight and that would need to be cancelled in order for it to work but that blocks the processing of other flags. So the other route is add a delay before teleporting the player and that's not the most ideal thing.. |
No, I need the users able to use the region as its an event that I need to prevent them using Teleport to cheat it! Could the teleport-on-entry not just do a check after the player has entered and see how they got in? even if they are in the region for 1 second before they are teleported or just straight up block it all together "You can not be teleported into this region" or something. |
Right. Can't you just block the commands used to teleport in? |
You can block commands inside a region, but not outside! The rest of the server needs to still function outside events. So someone outside the region can still send a /tpa request to someone inside, and they can accept via clicking the request in chat (I use CMI Teleport) |
Those are commands under the hood |
I have setup teleport-on-entry as an attempt to prevent people outside the claim requesting TP into it to a player thats inside the claim.
If they walk into the claim it does teleport them using teleport-on-entry, BUT if they are /tp in by a player its just ignored.
I also tried join-location
The text was updated successfully, but these errors were encountered: