BG-Software-LLC / WildInspect

Custom inspect-mode with CoreProtect hookup!
https://bg-software.com/wildinspect/
GNU General Public License v3.0
8 stars 16 forks source link

Update to CoreProtect 22.0 #27

Closed b1rd0w closed 3 months ago

b1rd0w commented 10 months ago

Minecraft's Version

Paper 1.20.1

Plugin's Version

Lasted dev build #2

Describe the bug

There is no block data on container transactions because in the new Coreprotect ChestTransactionLookup.class performLookup is List instead of String[]

To Reproduce

Install CoreProtect 22.0 and check container transactions

Additional Information

Screenshot_407

b1rd0w commented 10 months ago

Screenshot_408 Screenshot_409

OmerBenGera commented 9 months ago

I suspect you have hideOps enabled, as it works fine for me.

gre3x commented 7 months ago

My server also has this issue and we have disabled hideOps. When clicking on a chest, I get this error in console:

11.11 12:45:33 [Server] [WARN] org.apache.commons.lang.UnhandledException: Plugin WildInspect v2.4.1.2 generated an exception while executing task 2389646
11.11 12:45:33 [Server] [INFO] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
11.11 12:45:33 [Server] [INFO] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
11.11 12:45:33 [Server] [INFO] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
11.11 12:45:33 [Server] [INFO] at java.lang.Thread.run(Thread.java:748)
11.11 12:45:33 [Server] [INFO] Caused by: java.lang.NoSuchMethodError: net.coreprotect.database.Lookup.chestTransactions(Ljava/lang/String;Ljava/sql/Statement;Lorg/bukkit/Location;Lorg/bukkit/command/CommandSender;IIZ)Ljava/lang/String;
11.11 12:45:33 [Server] [INFO] at com.bgsoftware.wildinspect.coreprotect.CoreProtectHook.performChestLookup(CoreProtectHook.java:54)
11.11 12:45:33 [Server] [INFO] at com.bgsoftware.wildinspect.coreprotect.CoreProtect.getMaxPage(CoreProtect.java:175)
11.11 12:45:33 [Server] [INFO] at com.bgsoftware.wildinspect.coreprotect.CoreProtect.performDatabaseLookup(CoreProtect.java:92)
11.11 12:45:33 [Server] [INFO] at com.bgsoftware.wildinspect.coreprotect.CoreProtect.lambda$performLookup$1(CoreProtect.java:76)
11.11 12:45:33 [Server] [INFO] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:60)
11.11 12:45:33 [Server] [INFO] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
11.11 12:45:33 [Server] [INFO] ... 3 more

CoreProtect 2.15.2 Paper 1.8.8 Using latest dev build

Redwolf223 commented 6 months ago

Same problem for me

https://pastebin.com/0ALVmNH8

OmerBenGera commented 6 months ago

You are both using a really old version of CoreProtect, that's why it happens. Open a new issue regarding this, as this is not related to the original issue reported here.

@B1RDOW Any news regarding this?

OmerBenGera commented 3 months ago

I am closing this for now due to lack of response @Redwolf223 @gre3x If you still need help with that, please open a new issue and I will look into adding support to your CoreProtect version (it is paid, so I will need your help with that)