PlotSquared icon indicating copy to clipboard operation
PlotSquared copied to clipboard

Missing Road Flags

Open PaBox opened this issue 2 years ago • 0 comments

Server Implementation

Paper

Server Version

1.18.2

Describe the bug

It has been a long-standing issue, that road flags are handled differently then plot flags. Empty plots are also treated as roads I suppose, at least the same problems arise when using one of the following items (and a lot more, I just want to give an example):

boats, (spawn-)eggs, fireworks(while using the elytra, makes it impossible to fly above roads and empty plots), potions,mob summons(also with mobcatchers, just cancels the event I suppose), etc.

All these items share their ability of being used with a right-click and there is no flag to configure these things to be used on roads. We have a river, which is unusable as boats cant be placed in it and also not picked up. Even with all permissions set, and road-flags like vehicle-place:true or use:'oak_boat', it is still not possible to configure the same flags for those regions as with the actual Plot. It would be awesome if at least boats und elytras where possible, because it would give the roads much more live I must say.

What could help the resulting situation would be a road clean by setting a timer of a time of day to clean the roads of entities - instead of straight up clearing it when entities are on it. That would lead to a smoother road experience while giving no room for lag building up because of forgotten entities. But also working flags for a maximum mob count of every road part region would be neat - you see where this is going.

Why are these flags handled so differently and what in tarnation is the part of the eventListener which cancels all those rightclickevents? I am really curious on wrapping my head around this :)

To Reproduce

  1. Create a fresh plot world
  2. Try all the flags and give yourself according permissions to place things on the road
  3. Realize none of the flags for those specific features work
  4. See that their is no Warning or Error for the user - makes it hard so tell what I may be doing wrong :)

Expected behaviour

The Event should at least be debugable and flags like vehicle-place should also work on roads :)

Screenshots / Videos

No response

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/e9a63c9417a3417d9498da73769e80d4

PlotSquared Version

PlotSquared version 6.11.1

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?

I did buy the premium version, but I am still compiling it myself. I am verified on Discord as well.

PaBox avatar Mar 16 '23 02:03 PaBox