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

Add options to disable right-click sitting and keybinds for client #3

Open
zndrmn opened this issue Feb 8, 2023 · 4 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@zndrmn
Copy link

zndrmn commented Feb 8, 2023

What would you like to be added?

It would be epic af if you could add options for either the client or server (or even both lol)
to disable the ability to sit on slabs, stairs, etc (with just right-clicking).
it would also be really nice if you could implement a way to add a keybind for using the /sit command if it's installed on the client.

Alternative solutions

No response

Additional context?

No response

@zndrmn zndrmn added the enhancement New feature or request label Feb 8, 2023
@Ampflower Ampflower self-assigned this Feb 8, 2023
@zndrmn
Copy link
Author

zndrmn commented Feb 8, 2023

Here's why I don't really like the fact that you can right-click any slab/stair block and scale a whole castle

Feb08-2023.09.15.AM.mp4

@Ampflower
Copy link
Member

Fair. I could try doing some kind of test to see if it is even possible for the player to get there to begin with, and denying it if such.

Probably a rule set of:

  • Global: Whether right-click works on any stairs & slabs
  • Player: Above but per-player, cannot override global
  • Global: Whether /sit is enabled

@smysloff
Copy link

One possible solution is to add a maximum distance for the action as an option. A small distance would not allow to use this mod for parkour or severely limit it.

Ampflower added a commit that referenced this issue Jul 9, 2023
This prevents scaling up buildings as you now need to
be able to first get to it prior to sitting on it.

Fixes in part #3
@Ampflower
Copy link
Member

Here's why I don't really like the fact that you can right-click any slab/stair block and scale a whole castle

Feb08-2023.09.15.AM.mp4

Mitigated in 0.5.1.
You now need to be able to jump high enough to sit on it.

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

No branches or pull requests

3 participants