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

Players can turn campfires on and off even if the campfire is in a protected region #2905

Open
ZakFahey opened this issue Jan 22, 2023 · 4 comments

Comments

@ZakFahey
Copy link
Contributor

  • TShock version: a fork - https://github.com/Killia0/TShock. I have not yet tested it on a vanilla build of TShock, but I assume that it would happen similarly
  • TShock build number (if known): N/A

Reproduction steps (if applicable)?

  1. Place a campfire inside a protected region
  2. As a non-privileged user, try to switch the campfire on or off

Any stack traces or error messages (if known)?

No

Any screenshots?

N/A

Any log messages from files that end in .log or .txt? What are the last 100 log messages from the server console?

Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data t e s t
reload

This is the logs I captured, but the player "t e s t" was not setting the campfire. I didn't see any logs that were logged that were actually relevant to the problem.

What plugins and what versions of those plugins are you running?

For all plugins, I have the latest version

  • The internal Penguin Games plugins
  • BindTools
  • EssentialsPlus
  • FakeProvider
  • Configurations
  • GhostPlayers
  • InvSee
  • RegionVision
  • SmartRegions
  • SSCManager
  • TUI
  • WorldEdit (Anzhelika fork)

If I didn't provide any logs this issue, please close my issue immediately. I'm sorry for the inconvenience.

@sgkoishi
Copy link
Contributor

Can you try leave the server and re-join to see if it's actually toggled?

@ZakFahey
Copy link
Contributor Author

Yes, it stays toggled when you leave and rejoin the server.

@sgkoishi
Copy link
Contributor

Unable to reproduce. I tested the spawn and a protected region, and both were rejected as expected. Are you sure the region is protected and the player has no privilege?

@ghost
Copy link

ghost commented Oct 4, 2023

@ZakFahey please test it on this server program before creating an issue on this repository... make a issue on the FORK

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