aromaa / WorldGuardExtraFlags

Extension for the WorldGuard plugin.
https://www.spigotmc.org/resources/worldguard-extra-flags.4823
MIT License
90 stars 71 forks source link

Potentially unsafe extent blocked - net.goldtreeservers.worldguardextraflags.wg.wrappers.v7.WorldEditFlagHandler #195

Closed TomLewis closed 2 years ago

TomLewis commented 2 years ago

Can you please support the FAWE API, this plugin is blocking me (As OP) from even doing a copy in FAWE worldedit!

[22:01:00] [Render thread/INFO]: [CHAT] (FAWE) Potentially unsafe extent blocked: net.goldtreeservers.worldguardextraflags.wg.wrappers.v7.WorldEditFlagHandler
[22:01:00] [Render thread/INFO]: [CHAT] (FAWE) - For area restrictions and block logging, it is recommended that third party plugins use the FAWE API
[22:01:00] [Render thread/INFO]: [CHAT] (FAWE) - Add the following line to the `allowed-plugins` list in the FAWE config.yml to let FAWE recognize the extent:
[22:01:00] [Render thread/INFO]: [CHAT] (FAWE) net.goldtreeservers.worldguardextraflags.wg.wrappers.v7.WorldEditFlagHandler
[22:01:00] [Render thread/INFO]: [CHAT] (FAWE) Potentially unsafe extent blocked: net.goldtreeservers.worldguardextraflags.wg.wrappers.v7.WorldEditFlagHandler
[22:01:00] [Render thread/INFO]: [CHAT] (FAWE) - For area restrictions and block logging, it is recommended that third party plugins use the FAWE API
[22:01:00] [Render thread/INFO]: [CHAT] (FAWE) - Add the following line to the `allowed-plugins` list in the FAWE config.yml to let FAWE recognize the extent:
[22:01:00] [Render thread/INFO]: [CHAT] (FAWE) net.goldtreeservers.worldguardextraflags.wg.wrappers.v7.WorldEditFlagHandler
aromaa commented 2 years ago

No, I'm no longer supporting FAWE. Please get rid of the plugin and use vanilla WorldEdit, theres no need for FAWE.

TomLewis commented 2 years ago

woah, that is a bold, bold statement.

There are plenty of reasons for FAWE, Doing //regen on large selections of land to bring new terrain in because you are moving from 1.12.2 to 1.17, thats one we will be doing for the following months easily.

I use fawe for CLI manipulation of schematics, so I can have auto re-setting areas in my world.

I use fawe for GriefPrevention and WorldGuard protection with my regen team so that they can keep the world clean and fresh without the worry of wiping someones claim.

FAWE is far from "theres no need for FAWE." Theres a hell of a lot of reasons its required to run a server.

aromaa commented 2 years ago

And there are even more reasons not to use it. Its the main source of problems and huge headache for developers. You can do all of those things with vanilla WE without causing any problems with other plugins, or corrupting your world.

TomLewis commented 2 years ago

Can I just disable the WorldGuardExtraFlagsPlugin WE integration? I don't need it at all, then we can both carry on. I looked and I cant seem to find a "WorldGuardExtraFlagsPlugin" plugins folder with settings?

aromaa commented 2 years ago

No, but as far as I remember you can just ignore that warning and FAWE automatically disables the WE integration. Or you can do as it says and allow the plugin to run.

TomLewis commented 2 years ago

Could we please get a config even if its just this one value to toggle and a reload for the config.

IAMGOLFz commented 1 year ago

I just find this problem for a few moments and I completely fixed it.

You go to config.yml in FAWE's folder and scroll down until you see extent's lore following my picture and input "net.goldtreeservers.worldguardextraflags.wg.wrappers.v7.WorldEditFlagHandler" under - "com.example.ExamplePlugin" lore

And then you restart your server once time. Capture 2

TomLewis commented 1 year ago

My solution was to remove WorldGuardExtraFlags

I just find this problem for a few moments and I completely fixed it.

You go to config.yml in FAWE's folder and scroll down until you see extent's lore following my picture and input "net.goldtreeservers.worldguardextraflags.wg.wrappers.v7.WorldEditFlagHandler" under - "com.example.ExamplePlugin" lore

And then you restart your server once time. Capture 2

Strangly I already have this there.

extent:
  # Don't bug console when these plugins slow down WorldEdit operations
  #  - You'll see a message in console or ingame if you need to change this option
  allowed-plugins: 
  - "net.coreprotect.worldedit.CoreProtectLogger"
  - "net.goldtreeservers.worldguardextraflags.wg.wrappers.v7.WorldEditFlagHandler"
  # Should debug messages be sent when third party extents are used?
  debug: true

it seems my solution at the time was to remove WorldGuardExtraFlags! So I already had that in my settings for FAWE and stoll chose to remove the plugin. I would have to re-test again it was so long ago.