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

[BUG] Players can open other shops #451

Open
1 task done
Xmike24 opened this issue Sep 21, 2024 · 1 comment
Open
1 task done

[BUG] Players can open other shops #451

Xmike24 opened this issue Sep 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working next update

Comments

@Xmike24
Copy link

Xmike24 commented Sep 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Type of bug

Exploit

Environment

- Server Version: Paper 1.21.1
- Shop Version: 1.9.1.2

Server startup log

https://paste.gg/p/anonymous/979c645afaaf440da021cdb31eb7379a

Shop config files

https://paste.gg/p/anonymous/455fd53bedf04c7fa175c9136bb114ca

Error log (if applicable)

No response

Bug description

Hey, players can use shift right click to open other players' shop chests if the area is not otherwise secured. You can also take items from the chest. I found out that it is because of this line:

cycleShopDisplay: 'NONE'

If I leave it on SHIFT_RIGHT_CLICK_CHEST the bug doesn't occur.

Steps to reproduce

Right Shift Chest

Expected behaviour

You shouldn't be able to open the chest.

Actual behaviour

Players can steal items from shops.

Other information

No response

@Xmike24 Xmike24 added the bug Something isn't working label Sep 21, 2024
@OstlerDev
Copy link
Collaborator

Issue has been verified and fixed, it will be released in the next update. For now until the next version is out, leave the config setting as default and just don't assign the permission to players and they won't be able to perform the cycle display action.

@OstlerDev OstlerDev self-assigned this Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next update
Projects
None yet
Development

No branches or pull requests

2 participants