PlayPro / CoreProtect

CoreProtect is a blazing fast data logging and anti-griefing tool for Minecraft servers.
Artistic License 2.0
637 stars 311 forks source link

Pastes made in FastAsyncWorldEdit are not logging in CoreProtect #234

Closed book000 closed 1 year ago

book000 commented 2 years ago

Hello. This is a bug report or improvement request for the ability to logging changes in FastAsyncWorldEdit to CoreProtect.

I am using FastAsyncWorldEdit and CoreProtect. I copied the block and pasting the copy does not logging it in CoreProtect. A video of this phenomenon actually occurring was taken and is attached below.

https://user-images.githubusercontent.com/8929706/173679825-b7f7f246-d011-4269-a584-2318a1bab0b6.mp4

Environments

Step for reproduce

  1. Build a PaperMC server and add the CoreProtect and FastAsyncWorldEdit jar files to the plugins.
  2. Modify the configuration file with reference to the following #Configuration.
  3. Login to the server and grant yourself an operator.
  4. Place any block. (And check that there is an placed record for the blocks placed)
  5. Copy the placed block: //copy
  6. Paste what you just copied elsewhere: //paste
  7. No error logs are output to the server log and no placed logs are logged in CoreProtect.

Configuration

plugins/FastAsyncWorldEdit/config.yml

--- config.yml.old      2022-06-15 04:44:06.753611000 +0900
+++ config.yml  2022-06-15 04:46:38.612349700 +0900
@@ -89,7 +89,7 @@
   # 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:
-  - "com.example.ExamplePlugin"
+  - "net.coreprotect.worldedit.CoreProtectLogger"
   # Should debug messages be sent when third party extents are used?
   debug: true

server.properties

This edit is set to facilitate checking the operation and is not required for reproduction. (The default setting is fine)

#Minecraft server properties
gamemode=creative
difficulty=peaceful
level-type=flat

I look forward to your reply.

Intelli commented 2 years ago

Are pastes logged if using standard WorldEdit?

book000 commented 2 years ago

Yes. The placed (pastes) logs appear to be logged normally in the following environments:

And here is a video of the tests:

https://user-images.githubusercontent.com/8929706/175603646-df83beab-703d-4c8d-af4a-3fe9c001ea3d.mp4

Thus, it is recorded when using standard WorldEdit, but not when using AsyncWorldEdit.

Intelli commented 2 years ago

Please test with FAWE 2.4.0

book000 commented 2 years ago

Thanks to reply. I have tested with FastAsyncWorldEdit 2.4.0 and 2.4.1 and there is no log of pasting.

Environments

Video

https://user-images.githubusercontent.com/8929706/176321704-eee1c0bb-efe2-489d-9c6e-b1a7898eaa29.mp4

(I have tested in an environment with Watson Mod and other mods, so some of the rendering is different, but there is no problem with the server settings.)

Intelli commented 2 years ago

I likely won’t be spending time on this myself, but someone else is welcome to take a stab at it if they want.

katorly commented 1 year ago

CoreProtect also doesn't log changes made by GoPaint, GoBrush and VoxelSniper, which rely on FastAsyncWorldEdit.

Landy005 commented 1 year ago

Literally who uses worldedit these days everyone is using fawe, what's the point of worldedit support if its not for fawe?