PlotSquared icon indicating copy to clipboard operation
PlotSquared copied to clipboard

untrusted-visit flag does not work

Open homerek111 opened this issue 2 months ago • 3 comments

Server Implementation

Paper

Server Version

1.21.4

Describe the bug

flag is set to false and guests still can enter/visit the plot...

To Reproduce

set untrusted-visit flag to false and visit/enter the plot as guest

Expected behaviour

prevent from visting the plot

Screenshots / Videos

No response

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/52712ada4d9d45f9b5fdeec3de567a9e

PlotSquared Version

7.5.8-Premium

Checklist

  • [x] I have included a Plot debugpaste.
  • [x] I am using the newest build from https://www.spigotmc.org/resources/77506/ and the issue still persists.

Anything else?

No response

homerek111 avatar Oct 18 '25 12:10 homerek111

Looking at the code, it appears that it's intended purpose is to prevent the use of /plot visit and /plot tp to that plot. Not to prevent people from entering. I believe this is very confusing and the documentation does not help. I intuitively would have thought that it would prevent entry.

It appears to be similar to the deny-teleport flag, but without the separate groups. The difference in naming adds to the confusion.

blue-pinapple avatar Nov 04 '25 10:11 blue-pinapple

Looking at the code, it appears that it's intended purpose is to prevent the use of /plot visit and /plot tp to that plot. Not to prevent people from entering. I believe this is very confusing and the documentation does not help. I intuitively would have thought that it would prevent entry.

It appears to be similar to the deny-teleport flag, but without the separate groups. The difference in naming adds to the confusion.

hmmm it would be much better to prevent plot enter using that flag... anyways as i have just tested - it does not work at all (even the way you described it does not work - it is set to false and players still can use /p visit command on that plot)

homerek111 avatar Nov 04 '25 22:11 homerek111

interesting. I assume they don't have op or any bypass permissions. One of my players tested it, and it appeared to work as described.

On Wed, Nov 5, 2025 at 11:33 AM homerek111 @.***> wrote:

homerek111 left a comment (IntellectualSites/PlotSquared#4780) https://github.com/IntellectualSites/PlotSquared/issues/4780#issuecomment-3488239268

Looking at the code https://github.com/search?q=repo%3AIntellectualSites%2FPlotSquared%20UntrustedVisitFlag&type=code, it appears that it's intended purpose is to prevent the use of /plot visit and /plot tp to that plot. Not to prevent people from entering. I believe this is very confusing and the documentation https://intellectualsites.gitbook.io/plotsquared/features/plot-flags#:~:text=Set%20to%20false%20to%20disallow%20untrusted%20players%20from%20visiting%20the%20plot. does not help. I intuitively would have thought that it would prevent entry.

It appears to be similar to the deny-teleport flag, but without the separate groups. The difference in naming adds to the confusion.

hmmm it would be much better to prevent plot enter using that flag... anyways as i have just tested - it does not work at all (even the way you described it does not work - it is set to false and players still can use /p visit command on that plot)

— Reply to this email directly, view it on GitHub https://github.com/IntellectualSites/PlotSquared/issues/4780#issuecomment-3488239268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZK4R5UNFK52ZDWGVDJCWC333ESTHAVCNFSM6AAAAACJRVQRMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIOBYGIZTSMRWHA . You are receiving this because you commented.Message ID: @.***>

blue-pinapple avatar Nov 05 '25 19:11 blue-pinapple