Skip to content
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

Getting out of a chair no longer places you back where you were standing when you clicked on it #2

Closed
ninjakitty844 opened this issue Apr 3, 2023 · 4 comments

Comments

@ninjakitty844
Copy link

It's exploitable and can damage players who are getting out of chairs which don't have enough space to stand on.
Previous update had the behavior of placing a player back where they were standing upon leaving a chair, which i think is a good solution.

@ninjakitty844
Copy link
Author

(also in this current version, you get out of a chair to the left/right of it which also may place you in a wall)

@Minemobs
Copy link
Owner

Minemobs commented Apr 3, 2023

I believe that it would be better to check if the game there is space to teleport the player next to the chair and if there is not then it should teleport the player back to it's original location.
It might be useful for flying car, where you don't want to be teleported back to your old location.

@ninjakitty844
Copy link
Author

ninjakitty844 commented Apr 3, 2023

That checks out. Maybe it should be a toggle? OR you only get teleported to the chair if it moved? Because players can still just teleport around like this. At least if the chair put them back where they were standing, they would need multiple chairs to teleport to somewhere they aren't supposed to get to (and that could be fixed to by disabling sitting in chairs while you're already in one). Right now you can sit to go up/down through ceilings (even on accident), sit yourself all the way out through a window, etc, and the game just lets you do it and get back out of the chair where you are. Its like a mini ender pearl.

Love the plugin btw, still the best chair plugin right now imo because u don't have to type commands to sit :]

@Minemobs
Copy link
Owner

Minemobs commented Apr 4, 2023

I've made it so you cannot enter a chair if there is a block on top of it or if you're already one one.
I also made it so if you moved your chair using a piston while still being on it, it will teleport you on top of it instead of teleporting you to your original position, which is useful for flying machine and will prevent player of using it as a teleporter.
Oh and thank you for your kind words.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants