Giter VIP home page Giter VIP logo

modern-lwc's People

Contributors

animeavi avatar brokkonaut avatar ebonjaeger avatar enterih avatar ichbinjoe avatar lifehome avatar madis0 avatar miguel-dorta avatar montlikadani avatar pan93412 avatar pop4959 avatar rawruniversal avatar rikodev avatar sikatsu avatar thebentobox avatar theyapps avatar tsuser1 avatar xopez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

modern-lwc's Issues

Player interact error

LWC Version (/lwc admin version):
2.1.0
Server version (/version):
Spigot 1.13.1-R0.1-snapshot
Short five word summary of issue:
Internal error Player interact
Detailed description of problem:
if i use /lock on a armor stand i get a internal error
wait the messenger in MC chat [LWC] Internal error. Notify an admin immediately. :PLAYER_INTERACT
end a error in concole

If there was an error in console, put it here:

<https://pastebin.com/kNdyrhS9>

1.13 - Can't lock any skulls

LWC Version (/lwc admin version):

2.1.0-dev-8f0b3a1/

Server version (/version):

git-Spigot-2440e18-997d378 (MC: 1.13.1)

Detailed description of problem:

In 1.13 I'm not able to lock any skull item. I've added those entries to core.yml

    LEGACY_SKULL:
        enabled: true
        autoRegister: private
    LEGACY_SKULL_ITEM:
        enabled: true
        autoRegister: private
    WITHER_SKELETON_SKULL:
        enabled: true
        autoRegister: private
    WITHER_SKELETON_WALL_SKULL:
        enabled: true
        autoRegister: private
    SKELETON_WALL_SKULL:
        enabled: true
        autoRegister: private
    SKELETON_SKULL:
        enabled: true
        autoRegister: private

I also cannot lock them manually by using the /lock command, so i guess LWC does not recognize my entries at all.

loss of protections when updating

Version before updating protections: lwc 1.9.4 Spigot version 1.12.2 (last version 1.12.2)
Version used to update the database: lwc 2.1.0-dev Spigot 1.13.1 (last version)

Good afternoon

As you can see in the photo, all the existing protections of the user mar9 appear when writing / lwc admin find mar9 and if I look at their protections 233 appear occupied (the same as in 1.12.2) In that example photo id 11966 exists and with / lwc admin view 11966 shows the content of the chest, but when doing the same with the id (year 2016) 903 does not allow to see the content indicating that there is no such protection. And if I move to the coordinate the chest is unprotected. With the id 11966 all right and protected box. In short, the old protections appear with / lwc admin view but in practice they do not exist, with which they are newer everything is correct.

Greetings and thanks.

EDIT: I add that I have continued looking at protections and I am not sure that it is a problem with old protections. Since the indicated ID11966 is from 1-1-2017 and there are protections from 20-1-2017 that are in the same state as the ID903 of 10-12-2016.

Iron Trapdoors Don't Click Open

LWC Version (/lwc admin version):
2.1.0
Server version (/version):
1.13.1
Short five word summary of issue:
Iron Trapdoors Don't Click Open
Detailed description of problem:
Iron doors work fine, but iron trapdoors do not. They register okay, but they won't open on right click.
If there was an error in console, put it here:

<paste it here between the little tick marks> (NO CONSOLE OUTPUT)

LWC unable to add new block to lwc_blocks (SQL)

LWC: 2.1.0

This server is running CraftBukkit version git-Spigot-0ede7d0-c88ae6b (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)

[20:05:01 INFO]: [LWC] Unable to add new block to lwc_blocks!
[20:05:01 WARN]: java.sql.SQLException: statement is not executing
[20:05:01 WARN]: at org.sqlite.core.CoreStatement.checkOpen(CoreStatement.java:50)
[20:05:01 WARN]: at org.sqlite.core.CorePreparedStatement.batch(CorePreparedStatement.java:123)
[20:05:01 WARN]: at org.sqlite.jdbc3.JDBC3PreparedStatement.setInt(JDBC3PreparedStatement.java:329)
[20:05:01 WARN]: at com.griefcraft.cache.BlockCache.addBlock(BlockCache.java:148)
[20:05:01 WARN]: at com.griefcraft.cache.BlockCache.getBlockId(BlockCache.java:253)
[20:05:01 WARN]: at com.griefcraft.cache.BlockCache.getBlockId(BlockCache.java:277)
[20:05:01 WARN]: at com.griefcraft.listeners.LWCBlockListener.onBlockPlaceMonitor(LWCBlockListener.java:476)
[20:05:01 WARN]: at sun.reflect.GeneratedMethodAccessor367.invoke(Unknown Source)
[20:05:01 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[20:05:01 WARN]: at java.lang.reflect.Method.invoke(Method.java:498)
[20:05:01 WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
[20:05:01 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[20:05:01 WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500)
[20:05:01 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485)
[20:05:01 WARN]: at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:153)
[20:05:01 WARN]: at net.minecraft.server.v1_13_R2.ItemStack.placeItem(ItemStack.java:204)
[20:05:01 WARN]: at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:505)
[20:05:01 WARN]: at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1240)
[20:05:01 WARN]: at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37)
[20:05:01 WARN]: at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1)
[20:05:01 WARN]: at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10)
[20:05:01 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[20:05:01 WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[20:05:01 WARN]: at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199)
[20:05:01 WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:896)
[20:05:01 WARN]: at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:411)
[20:05:01 WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831)
[20:05:01 WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729)
[20:05:01 WARN]: at java.lang.Thread.run(Thread.java:748)
[20:05:01 WARN]: SemtexLP moved too quickly! 29.25317178960904,4.563734563644815,-24.296771358947126
[20:05:01 WARN]: xX_vasek_Xx moved too quickly! -7.1491929487615735,-2.0013359791121417,-7.050513342610714

Version 2.1.0 - The Fixer-upper Update

Hello everyone, and welcome to the official continuation of Modern LWC, this is our 2.1.0 update roadmap:

  • Setup Jenkins for Modern LWC
  • Setup Discord for Modern LWC
  • Rewrite the latest database handler to fix a multitude of strange issues.
  • Begin plugin optimizations.

WorldGuard integration is broken due to WorldGuard API changes

LWC Version (/lwc admin version): 2.1.0/ built from github main branch
Server version (/version): 1.13-R0.1-SNAPSHOT

Short five word summary of issue: NoSuchMethodError calling RegionContainer WorldGuardPlugin.getRegionContainer()

Detailed description of problem:

We're running build 1743 of WorldGuard 7.0.0 legacy. We've enabled WorldGuard integration in worldguard.yml. LWC throws exceptions calling getRegionContainer() because it has been removed from WorldGuardPlugin and instead put in class com.sk89q.worldguard.bukkit.BukkitWorldGuardPlatform (implements internal interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform).

To trigger the problem, simply try to protect a chest: /cprivate r:regionname. LWC appears to be calling the offending code for all chests, whether they have an associated region or not, so once WorldGuard integration is enabled, LWC is crippled with exceptions (nothing works).

I suspect I can do you a pull request for this one in a few days (when I get around to attempting a fix) if you would like.

If there was an error in console, put it here:

[12:16:21] [Server thread/WARN]: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 2.1.0
[12:16:21] [Server thread/WARN]:        at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:392)
[12:16:21] [Server thread/WARN]:        at com.griefcraft.listeners.LWCBlockListener.onBlockPlaceMonitor(LWCBlockListener.java:467)
[12:16:21] [Server thread/WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[12:16:21] [Server thread/WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[12:16:21] [Server thread/WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[12:16:21] [Server thread/WARN]:        at java.lang.reflect.Method.invoke(Method.java:498)
[12:16:21] [Server thread/WARN]:        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
[12:16:21] [Server thread/WARN]:        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[12:16:21] [Server thread/WARN]:        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500)
[12:16:21] [Server thread/WARN]:        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485)
[12:16:21] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_13_R1.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:153)
[12:16:21] [Server thread/WARN]:        at net.minecraft.server.v1_13_R1.ItemStack.placeItem(ItemStack.java:204)
[12:16:21] [Server thread/WARN]:        at net.minecraft.server.v1_13_R1.PlayerInteractManager.a(PlayerInteractManager.java:505)
[12:16:21] [Server thread/WARN]:        at net.minecraft.server.v1_13_R1.PlayerConnection.a(PlayerConnection.java:1227)
[12:16:21] [Server thread/WARN]:        at net.minecraft.server.v1_13_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37)
[12:16:21] [Server thread/WARN]:        at net.minecraft.server.v1_13_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1)
[12:16:21] [Server thread/WARN]:        at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10)
[12:16:21] [Server thread/WARN]:        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[12:16:21] [Server thread/WARN]:        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[12:16:21] [Server thread/WARN]:        at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198)
[12:16:21] [Server thread/WARN]:        at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:884)
[12:16:21] [Server thread/WARN]:        at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411)
[12:16:21] [Server thread/WARN]:        at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819)
[12:16:21] [Server thread/WARN]:        at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717)
[12:16:21] [Server thread/WARN]:        at java.lang.Thread.run(Thread.java:748)
[12:16:21] [Server thread/WARN]: Caused by: java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getRegionContainer()Lcom/sk89q/worldguard/bukkit/RegionContainer;
[12:16:21] [Server thread/WARN]:        at com.griefcraft.modules.pluginsupport.WorldGuard.onRegisterProtection(WorldGuard.java:344)
[12:16:21] [Server thread/WARN]:        at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:374)
[12:16:21] [Server thread/WARN]:        ... 24 more

Problems updating MySQL database

LWC Version (/lwc admin version): Main plugin: 2.11-46e9fa0/
Server version (/version): git-Spigot-f6a273b-8ab46ff (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)

Short five word summary of issue: error updating MySQL database

Detailed description of problem:
completely removed the LWC folder to regen everything, restarted server. Filled in the connection info, restarted server. Looks like a new area "Blocks" has been added into the database, but I keep getting errors in console about "the name cannot be null"

If there was an error in console, put it here:

13.10 17:37:35 [Server] INFO Enabling LWC v2.1.1-46e9fa0
13.10 17:37:35 [Server] INFO Connecting to MySQL
13.10 17:37:35 [Server] INFO Performing database optimization for 1.13...
13.10 17:37:35 [Server] WARN java.lang.IllegalArgumentException: Name cannot be null
13.10 17:37:35 [Server] WARN at org.apache.commons.lang.Validate.notNull(Validate.java:192)
13.10 17:37:35 [Server] WARN at org.bukkit.Material.matchMaterial(Material.java:2807)
13.10 17:37:35 [Server] WARN at org.bukkit.Material.matchMaterial(Material.java:2792)
13.10 17:37:35 [Server] WARN at com.griefcraft.cache.BlockCache.addBlock(BlockCache.java:168)
13.10 17:37:35 [Server] WARN at com.griefcraft.sql.PhysDB.doUpdateModernLWC(PhysDB.java:2192)
13.10 17:37:35 [Server] WARN at com.griefcraft.sql.PhysDB.load(PhysDB.java:414)
13.10 17:37:35 [Server] WARN at com.griefcraft.lwc.LWC.load(LWC.java:1685)
13.10 17:37:35 [Server] WARN at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:282)
13.10 17:37:35 [Server] WARN at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
13.10 17:37:35 [Server] WARN at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:339)
13.10 17:37:35 [Server] WARN at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
13.10 17:37:35 [Server] WARN at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:431)
13.10 17:37:35 [Server] WARN at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:345)
13.10 17:37:35 [Server] WARN at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:214)
13.10 17:37:35 [Server] WARN at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:702)
13.10 17:37:35 [Server] WARN at java.lang.Thread.run(Thread.java:748)

Lag spike when creating protection

LWC Version (/lwc admin version): 2.1.1-46e9fa0
Server version (/version): Paper version git-Paper-447 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)

Lag spike when creating protection

I'm currently getting large lag spikes (nearly 100ms) every time a protection is created. I'm using the sqlite adapter a default cache size. I'm not sure what else to do except potentially migrate to mysql.

1.13 - Armor Stands do not auto-register

LWC Version (/lwc admin version):

2.1.0-dev-8f0b3a1/

Server version (/version):

git-Spigot-2440e18-997d378 (MC: 1.13.1)

Detailed description of problem:

In 1.13 I got the problem that armor stands don't get locked when they're placed. I've added those entries to core.yml:

ARMOR_STAND:
enabled: true
autoRegister: private
LEGACY_ARMOR_STAND:
enabled: true
autoRegister: private

I can lock them manually by using the /lock command tho.

Issue when enabling Modern LWC 2.1.1

LWC Version (/lwc admin version):
Using 2.1.1 from the spigot page.
Server version (/version):
1.13.1 - Paper - Build 373
MySQL version:
5.7.23
Short five word summary of issue:
Issue when enabling Modern LWC 2.1.1 related to mysql.
Detailed description of problem:
Short description basically describes my problem.
I've tried dropping the tables, recreating them, nothing works, issue constantly happens.
Core.yml file: https://pastebin.com/raw/7fakXaye (private info obviously not shown)
When running lwc admin report it seems the database does connect properly.
(Yes in the below screenshot I'm testing on the latest dev build).
https://i.imgur.com/bluVY74.png

If there was an error in console, put it here:

[11:48:48] [Server thread/INFO]: [LWC] Enabling LWC v2.1.1-46e9fa0
[11:48:48] [Server thread/INFO]: [LWC] Connecting to MySQL
[11:48:48] [Server thread/WARN]: java.lang.NullPointerException
[11:48:48] [Server thread/WARN]: 	at com.griefcraft.cache.BlockCache.loadBlocks(BlockCache.java:110)
[11:48:48] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.load(PhysDB.java:418)
[11:48:48] [Server thread/WARN]: 	at com.griefcraft.lwc.LWC.load(LWC.java:1685)
[11:48:48] [Server thread/WARN]: 	at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:282)
[11:48:48] [Server thread/WARN]: 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[11:48:48] [Server thread/WARN]: 	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:325)
[11:48:48] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
[11:48:48] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:438)
[11:48:48] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:352)
[11:48:48] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:236)
[11:48:48] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:791)
[11:48:48] [Server thread/WARN]: 	at java.lang.Thread.run(Unknown Source)

Disable physics for locked armor stands?

LWC Version (/lwc admin version):

2.1.0-dev-8f0b3a1/

Server version (/version):

git-Spigot-2440e18-997d378 (MC: 1.13.1)

Detailed description of problem:

Maybe it is a good idea if locked armor stands can't get flushed away or be buried by destroying blocks below.

/Edit: I just saw that Entity locking is not highly supported now. So maybe this enhancement is for updates far in the future.

Request: Notify upon opening unlocked chests

LWC Version (/lwc admin version):
LWC version 2.1.1-dev-b78f218 (I keep trying all dev builds)

Server version (/version):
1.13.1 Spigot (latest git-Spigot-500ff5d-7033f18)

Short five word summary of issue:
"Request" notify when opening an unlocked chest

Detailed description of problem:
There already is a notify permission that tells the player who the protected chest belongs to when opened. I want the opposite which will tell the player a message (preferable configurable) that the chest is not protected.
If that is not possible so be it. Personally I found that too many people have lots and lots of chests and they always tend to forget to lock one or two chests which then get stolen from and mayhem follows.
If this is possible would it take long to add? (otherwise we might need to look into something different ourselves to notify the players somehow)

Request: Adjust cpublic for villagers to prevent damage but allow trades

Hi! As requested on the forums, here's a github issue for this feature request. I was hoping the plugin could already do it, but I guess not.

I've seen a few people ask for a way to allow players to lock villagers to prevent damage to them, but still allow trades with the non-owner. I think using cpublic would be a great way to do this!

Thanks for all your hard work!

autoRegister: donation does not working

LWC Version (/lwc admin version):
2.1.1-46e9fa0

Server version (/version):
Paper-446

Short five word summary of issue:
LWC don't want to auto register a donation type

Detailed description of problem:
Here's my example core.yml:

chest:
  enabled: true
  autoRegister: donation
hopper:
  enabled: true
  autoRegister: donation

If there was an error in console, put it here:
Possibly just missing feature, there's no error

No locale

LWC Version (/lwc admin version): 2.1.1
Server version (/version): 1.13.1

Short five word summary of issue:
There is no locale files in the locale folder. Would like to end the messages to fit my server.

Thanks

UUID fetching problem

Hi.

I have a server with custom authentication with authlib patches.

When player (maryzakat in this case) was added by /cmodify maryzakat UUID fetched from Mojang servers (there is MaryZakat account exists), by UUIDFetcher (https://github.com/Tsuser1/Modern-LWC/blob/master/src/main/java/com/griefcraft/util/UUIDRegistry.java#L128).
If player create protection by itself, all OK, UUID fetched by Bukkit's Player class (https://github.com/Tsuser1/Modern-LWC/blob/master/src/main/java/com/griefcraft/modules/create/CreateModule.java#L158)

Right click on protected doors aren't working

LWC Version (/lwc admin version): 2.1.2 4d34ea2
Server version (/version): Paper 1.13.2-R0.1 b474

Short five word summary of issue: Right clicks just won't open protected doors.

Detailed description of problem:
To replicate, simply create a protection on iron doors, and right click to it.

failure with the iron trapdoor

LWC Version (/lwc admin version):

Last LWC version 2.1.0 loaded

Server version (/version):

This server is running CraftBukkit version git-Spigot-0ede7d0-228a5cd (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)

Short five word summary of issue:

failure to open protected iron_trapdoor

Detailed description of problem:

In the previous version of 1.12 you could open a metal trapdoor if it was protected with lwc and without the need for a lever, button ... etc. Defined in doors.yml. In the latest version for 1.13 does not allow it.

If there was an error in console, put it here:

no errors in console

Regards

Worldguard error

LWC Version (/lwc admin version):
2.1.2-dd8c289
Server version (/version):
http://prntscr.com/m0u3rj
Short five word summary of issue:
When placing a chest it gives a PLAYER_INTERACT error..
Detailed description of problem:

If there was an error in console, put it here:

https://pastebin.com/wbKk6upZ

double door auto open

So basically when you have a double door and cprivate it, it will automatically open up the other one, for some situation I would like to disable that.

Also the iron doors that got cprivated will also open up when rightclick, maybe also make it configureable, please?

Chest Donation Bug (players can steal)

LWC Version (/lwc admin version):
Main plugin: 1.9.4/

Server version (/version):
PaperSpigot: git-Paper-1452 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT).

Short five word summary of issue:
Players can steal out of /cdonation chests

Detailed description of problem:
Basically with chests that are set to /cdonation players can steal out of them, but only if they have the same item. So if I am to for example have 1 Oak Log in my hand and the chest I am looking at also has an Oak Log in it, if it normally click it, the Oak Log in my hand is added to the stack in the chest, but instead if I shift-click the Oak Log whilst I have an Oak Log on my cursor, it adds the Oak Log from the chest into my inventory.

When you have a chance, can you please look into this bug because personally for me it is quite major and is definitely dangerous in certain cases.

Database issues

in advance sorry for my english...
LWC Version (/lwc admin version): ModernLWC-2.1.1-46e9fa0
Server version (/version): Paper version git-Paper-409 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
Short five word summary of issue: When loading an error related to the database appears
Detailed description of problem:
I noticed that no error appear when I start the server with a blank database.
But with the old one ive got a few
(this db has traveled a lot of older versions of the plugin)
If there was an error in console, put it here:

[LWC] Enabling LWC v2.1.1-46e9fa0
[LWC] Connecting to SQLite
[LWC] Performing database optimization for 1.13...
java.lang.IllegalArgumentException: Name cannot be null
	at org.apache.commons.lang.Validate.notNull(Validate.java:192)
	at org.bukkit.Material.matchMaterial(Material.java:2824)
	at org.bukkit.Material.matchMaterial(Material.java:2809)
	at com.griefcraft.cache.BlockCache.addBlock(BlockCache.java:168)
	at com.griefcraft.sql.PhysDB.doUpdateModernLWC(PhysDB.java:2192)
	at com.griefcraft.sql.PhysDB.load(PhysDB.java:414)
	at com.griefcraft.lwc.LWC.load(LWC.java:1685)
	at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:282)
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:325)
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:438)
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:352)
	at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:236)
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:791)
	at java.lang.Thread.run(Thread.java:748)

Request: Expire locks based on inactivity of users

LWC Version (/lwc admin version):
2.1.0

Server version (/version):
Spigot 1.13.1

Short five word summary of issue:
Expire locks based on user inactivity

Detailed description of problem:
Would like the ability to expire (unlock) existing locks for users that have not logged into the server for a specific # of days (config setting). How the settings are named or command used is up to you but below are some example suggestions.

To avoid potential abuse by admins, might include a special permission node in order to run the command that can override the pre-defined "ExpirationDays" variable...or only allow the override command at the console.

An added bonus feature would be the ability to send a single mail message to the user when their locks are removed. Since mail is not a base feature, it might be wise to include the mail command in the config settings to allow for the various mail plugins. If settings is empty, then assume no mail is to be sent.

Example config variables:

** Expiration feature can be globally disabled or enabled.
UseExpiration = TRUE
** Default number of days a user can be inactive before locks expire.
ExpirationDays = 90
** Bonus feature: Inform player that their locks were expired.
MailCmd = mail send %PLAYER Your locks were expired due to being inactive for %ExpirationDays days.

Example admin commands:

** Expire locks based on settings in the config:
/lwc admin expirelocks

** Expire locks based on command (bypass config setting)
/lwc admin expirelocks 60

Copyright infringment

LWC Version (/lwc admin version):
ALL
Server version (/version):
ALL
Short five word summary of issue:

You cant licence this as MIT as the original author had already licenced all his work. You must re-add his licence to not be in breach of copyright.

Detailed description of problem:
Copyright infringement

The only alternative would be to contact Tyler Blair(Hidendra) and ask to relicence.

Copyright 2011 Tyler Blair. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

   1. Redistributions of source code must retain the above copyright notice, this list of
      conditions and the following disclaimer.

   2. Redistributions in binary form must reproduce the above copyright notice, this list
      of conditions and the following disclaimer in the documentation and/or other materials
      provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the
authors and contributors and should not be interpreted as representing official policies,
either expressed or implied, of anybody else.

Above is his licence

I am not the copyright holder but the breach her was relicensing his work under your own copyright.

Current state of entity locking overhaul?

@Tsuser1, @pop4959

I was reading the wiki and noticed entity locking is currently not supported and being redeveloped.
https://github.com/Tsuser1/Modern-LWC/wiki/Entity-Locking

Is entity locking currently functional at all? If not, perhaps you could look into merging some changes made to dmulloy's lwc fork which adds entity locking support? https://github.com/dmulloy2/LWC

It supports adding an entity section below blocks in the main config.
i.e.

    blocks:
        chest:
            enabled: true
    entities:
        armor_stand:
            enabled: true
        painting:
            enabled: true
        item_frame:
            enabled: true
        minecart_chest:
            enabled: true
        SKULL_ITEM:
            enabled: true

Issue with Orebfuscator

LWC Version (/lwc admin version): 1.9.4
Server version (/version): Paper version git-Paper-1589 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)

Short five word summary of issue: Players can access locked chests when using orebfuscator.

Detailed description of problem:
If you are using Orebfuscator, and chests appear as stone, if you are quick enough and spam right click, you can access the chest and modify its contents. An easy way to do this is way up to a chest, and teleport away, i.e /spawn or /home, and come back with /back and spam right click. When I disable Orebfuscator the chests are protected fine.

LWC error spam console

LWC Version (/lwc admin version):
Server version (/version):
This server is running Paper version git-Paper-1555 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
Short five word summary of issue:
Error spam in console
Detailed description of problem:
i don't know this error, can't you fix that ? thank you so much

If there was an error in console, put it here:

<paste it here between the little tick marks>

Request: add option to enable check type of protected blocks on chunk load.

There are situations when block has changed or no longer exists while protection is still there. For example: new generation of old chunks, rollback with log block or /replace command. I thought about this and it would be nice to have an option for some sort of cheking protected blocks on chunk load to let LWC know that initially protected block is still there or gone. If initially protected block is not there that protection of that block vanishes.

Modules Overhaul

Currently LWC uses a lot of internal "events" that are triggered on various actions. In doing so, much of the work that exists in Bukkit events are re-implemented, badly. The entire thing is a big mess with unneeded complexity, making it very difficult to maintain. It would be much better if this were overhauled to use the Bukkit event system, reducing overhead and complexity, and greatly increasing maintainability.

This should not block the 2.1.0 release.

I am more than willing to tackle this myself, if so desired, and this can be turned into a meta-issue.


Sub tasks:

  • Make the LWC "events" into actual Bukkit events and move them to a new events package
  • Migrate all modules to event handlers
  • Dispatch the events via Bukkit instead of ModuleLoader
  • Clean up now-unneeded code
    • Scripting package
    • Module package

Locking Item Frames

Itemframes only lock for OPs. I can’t seem to find anything in the yaml that would fix this.

Player UUID shows up when adding a player to private chest, sign, exc.

LWC Version (/lwc admin version):
2.1.1
Server version (/version):
1.13.2

Short five word summary of issue:
Player UUID shows up.

Detailed description of problem:
When you do /cmodify to add a player to a lock, the players Name and UUID shows up in chat when the player is added. The only person who can see the UUID is the player that added the other player.

I was wondering if there is a way to make it so the player UUID does not show up in chat and only displays the Name?

If there was an error in console, put it here:

N/A

error lwc communication faillure

**LWC Version (/lwc admin version): [LWC] Loading LWC v2.1.2-dev-32c25aa
**Server version (/version): Paper version git-Paper-446 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)

**Short five word summary of issue: The db disconnect and don't re-conect.
i dont know for what is isconnect, but it dont reconect.
the db is online, othet plugin like logbloc work fine.

**Detailed description of problem:

after a moyen time, 19h, the plugin disconect the db, and dont reconnect.

[07:54:06] [Server thread/WARN]: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 2.1.2
[07:54:06] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:391)
[07:54:06] [Server thread/WARN]: 	at com.griefcraft.listeners.LWCBlockListener.onBlockPlaceMonitor(LWCBlockListener.java:466)
[07:54:06] [Server thread/WARN]: 	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor31.execute(Unknown Source)
[07:54:06] [Server thread/WARN]: 	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70)
[07:54:06] [Server thread/WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[07:54:06] [Server thread/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[07:54:06] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
[07:54:06] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:197)
[07:54:06] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.ItemStack.placeItem(ItemStack.java:228)
[07:54:06] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:536)
[07:54:06] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1327)
[07:54:06] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37)
[07:54:06] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5)
[07:54:06] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12)
[07:54:06] [Server thread/WARN]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[07:54:06] [Server thread/WARN]: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[07:54:06] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109)
[07:54:06] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016)
[07:54:06] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439)
[07:54:06] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943)
[07:54:06] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841)
[07:54:06] [Server thread/WARN]: 	at java.lang.Thread.run(Thread.java:745)
[07:54:06] [Server thread/WARN]: Caused by: com.griefcraft.scripting.ModuleException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[07:54:06] [Server thread/WARN]: 
[07:54:06] [Server thread/WARN]: The last packet successfully received from the server was 30 440 917 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.
[07:54:06] [Server thread/WARN]: 	at com.griefcraft.sql.Database.printException(Database.java:198)
[07:54:06] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:188)
[07:54:06] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2$DefaultLimit.getProtectionCount(LimitsV2.java:145)
[07:54:06] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.hasReachedLimit(LimitsV2.java:396)
[07:54:06] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.onRegisterProtection(LimitsV2.java:245)
[07:54:06] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:373)
[07:54:06] [Server thread/WARN]: 	... 21 more
[07:54:06] [Server thread/WARN]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[07:54:06] [Server thread/WARN]: 
[07:54:06] [Server thread/WARN]: The last packet successfully received from the server was 30 440 917 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.
[07:54:06] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[07:54:06] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[07:54:06] [Server thread/WARN]: 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[07:54:06] [Server thread/WARN]: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3562)
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3462)
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3905)
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2011)
[07:54:06] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:182)
[07:54:06] [Server thread/WARN]: 	... 25 more
[07:54:06] [Server thread/WARN]: Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3014)
[07:54:06] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3472)
[07:54:06] [Server thread/WARN]: 	... 33 more
[07:54:07] [Server thread/WARN]: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 2.1.2
[07:54:07] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:391)
[07:54:07] [Server thread/WARN]: 	at com.griefcraft.listeners.LWCBlockListener.onBlockPlaceMonitor(LWCBlockListener.java:466)
[07:54:07] [Server thread/WARN]: 	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor31.execute(Unknown Source)
[07:54:07] [Server thread/WARN]: 	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70)
[07:54:07] [Server thread/WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[07:54:07] [Server thread/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[07:54:07] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
[07:54:07] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:197)
[07:54:07] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.ItemStack.placeItem(ItemStack.java:228)
[07:54:07] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:536)
[07:54:07] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1327)
[07:54:07] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37)
[07:54:07] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5)
[07:54:07] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12)
[07:54:07] [Server thread/WARN]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[07:54:07] [Server thread/WARN]: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[07:54:07] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109)
[07:54:07] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016)
[07:54:07] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439)
[07:54:07] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943)
[07:54:07] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841)
[07:54:07] [Server thread/WARN]: 	at java.lang.Thread.run(Thread.java:745)
[07:54:07] [Server thread/WARN]: Caused by: com.griefcraft.scripting.ModuleException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[07:54:07] [Server thread/WARN]: 
[07:54:07] [Server thread/WARN]: The last packet successfully received from the server was 30 441 217 milliseconds ago.  The last packet sent successfully to the server was 300 milliseconds ago.
[07:54:07] [Server thread/WARN]: 	at com.griefcraft.sql.Database.printException(Database.java:198)
[07:54:07] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:188)
[07:54:07] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2$DefaultLimit.getProtectionCount(LimitsV2.java:145)
[07:54:07] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.hasReachedLimit(LimitsV2.java:396)
[07:54:07] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.onRegisterProtection(LimitsV2.java:245)
[07:54:07] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:373)
[07:54:07] [Server thread/WARN]: 	... 21 more
[07:54:07] [Server thread/WARN]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[07:54:07] [Server thread/WARN]: 
[07:54:07] [Server thread/WARN]: The last packet successfully received from the server was 30 441 217 milliseconds ago.  The last packet sent successfully to the server was 300 milliseconds ago.
[07:54:07] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[07:54:07] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[07:54:07] [Server thread/WARN]: 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[07:54:07] [Server thread/WARN]: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[07:54:07] [Server thread/WARN]: 	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[07:54:07] [Server thread/WARN]: 	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
[07:54:07] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2518)
[07:54:07] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
[07:54:07] [Server thread/WARN]: 	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
[07:54:07] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
[07:54:07] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2011)
[07:54:07] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:182)
[07:54:07] [Server thread/WARN]: 	... 25 more
[07:54:07] [Server thread/WARN]: Caused by: java.lang.NullPointerException
[07:54:07] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.clearInputStream(MysqlIO.java:899)
[07:54:07] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2477)
[07:54:07] [Server thread/WARN]: 	... 30 more
[07:54:08] [Server thread/WARN]: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 2.1.2
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:391)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.listeners.LWCBlockListener.onBlockPlaceMonitor(LWCBlockListener.java:466)
[07:54:08] [Server thread/WARN]: 	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor31.execute(Unknown Source)
[07:54:08] [Server thread/WARN]: 	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70)
[07:54:08] [Server thread/WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[07:54:08] [Server thread/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[07:54:08] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
[07:54:08] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:197)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.ItemStack.placeItem(ItemStack.java:228)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:536)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1327)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12)
[07:54:08] [Server thread/WARN]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[07:54:08] [Server thread/WARN]: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841)
[07:54:08] [Server thread/WARN]: 	at java.lang.Thread.run(Thread.java:745)
[07:54:08] [Server thread/WARN]: Caused by: com.griefcraft.scripting.ModuleException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[07:54:08] [Server thread/WARN]: 
[07:54:08] [Server thread/WARN]: The last packet successfully received from the server was 30 442 717 milliseconds ago.  The last packet sent successfully to the server was 1 800 milliseconds ago.
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.sql.Database.printException(Database.java:198)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:188)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2$DefaultLimit.getProtectionCount(LimitsV2.java:145)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.hasReachedLimit(LimitsV2.java:396)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.onRegisterProtection(LimitsV2.java:245)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:373)
[07:54:08] [Server thread/WARN]: 	... 21 more
[07:54:08] [Server thread/WARN]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[07:54:08] [Server thread/WARN]: 
[07:54:08] [Server thread/WARN]: The last packet successfully received from the server was 30 442 717 milliseconds ago.  The last packet sent successfully to the server was 1 800 milliseconds ago.
[07:54:08] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[07:54:08] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[07:54:08] [Server thread/WARN]: 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[07:54:08] [Server thread/WARN]: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2518)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2011)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:182)
[07:54:08] [Server thread/WARN]: 	... 25 more
[07:54:08] [Server thread/WARN]: Caused by: java.lang.NullPointerException
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.clearInputStream(MysqlIO.java:899)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2477)
[07:54:08] [Server thread/WARN]: 	... 30 more
[07:54:08] [Server thread/WARN]: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 2.1.2
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:391)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.listeners.LWCBlockListener.onBlockPlaceMonitor(LWCBlockListener.java:466)
[07:54:08] [Server thread/WARN]: 	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor31.execute(Unknown Source)
[07:54:08] [Server thread/WARN]: 	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70)
[07:54:08] [Server thread/WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[07:54:08] [Server thread/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[07:54:08] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
[07:54:08] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:197)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.ItemStack.placeItem(ItemStack.java:228)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:536)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1327)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12)
[07:54:08] [Server thread/WARN]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[07:54:08] [Server thread/WARN]: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943)
[07:54:08] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841)
[07:54:08] [Server thread/WARN]: 	at java.lang.Thread.run(Thread.java:745)
[07:54:08] [Server thread/WARN]: Caused by: com.griefcraft.scripting.ModuleException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[07:54:08] [Server thread/WARN]: 
[07:54:08] [Server thread/WARN]: The last packet successfully received from the server was 30 443 016 milliseconds ago.  The last packet sent successfully to the server was 2 099 milliseconds ago.
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.sql.Database.printException(Database.java:198)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:188)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2$DefaultLimit.getProtectionCount(LimitsV2.java:145)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.hasReachedLimit(LimitsV2.java:396)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.onRegisterProtection(LimitsV2.java:245)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:373)
[07:54:08] [Server thread/WARN]: 	... 21 more
[07:54:08] [Server thread/WARN]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[07:54:08] [Server thread/WARN]: 
[07:54:08] [Server thread/WARN]: The last packet successfully received from the server was 30 443 016 milliseconds ago.  The last packet sent successfully to the server was 2 099 milliseconds ago.
[07:54:08] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[07:54:08] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[07:54:08] [Server thread/WARN]: 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[07:54:08] [Server thread/WARN]: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2518)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2011)
[07:54:08] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:182)
[07:54:08] [Server thread/WARN]: 	... 25 more
[07:54:08] [Server thread/WARN]: Caused by: java.lang.NullPointerException
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.clearInputStream(MysqlIO.java:899)
[07:54:08] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2477)
[07:54:08] [Server thread/WARN]: 	... 30 more
[07:54:13] [Server thread/WARN]: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 2.1.2
[07:54:13] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:391)
[07:54:13] [Server thread/WARN]: 	at com.griefcraft.listeners.LWCBlockListener.onBlockPlaceMonitor(LWCBlockListener.java:466)
[07:54:13] [Server thread/WARN]: 	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor31.execute(Unknown Source)
[07:54:13] [Server thread/WARN]: 	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70)
[07:54:13] [Server thread/WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[07:54:13] [Server thread/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[07:54:13] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
[07:54:13] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:197)
[07:54:13] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.ItemStack.placeItem(ItemStack.java:228)
[07:54:13] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:536)
[07:54:13] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1327)
[07:54:13] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37)
[07:54:13] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5)
[07:54:13] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12)
[07:54:13] [Server thread/WARN]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[07:54:13] [Server thread/WARN]: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[07:54:13] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109)
[07:54:13] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016)
[07:54:13] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439)
[07:54:13] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943)
[07:54:13] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841)
[07:54:13] [Server thread/WARN]: 	at java.lang.Thread.run(Thread.java:745)
[07:54:13] [Server thread/WARN]: Caused by: com.griefcraft.scripting.ModuleException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[07:54:13] [Server thread/WARN]: 
[07:54:13] [Server thread/WARN]: The last packet successfully received from the server was 30 447 366 milliseconds ago.  The last packet sent successfully to the server was 6 449 milliseconds ago.
[07:54:13] [Server thread/WARN]: 	at com.griefcraft.sql.Database.printException(Database.java:198)
[07:54:13] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:188)
[07:54:13] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2$DefaultLimit.getProtectionCount(LimitsV2.java:145)
[07:54:13] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.hasReachedLimit(LimitsV2.java:396)
[07:54:13] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.onRegisterProtection(LimitsV2.java:245)
[07:54:13] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:373)
[07:54:13] [Server thread/WARN]: 	... 21 more
[07:54:13] [Server thread/WARN]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[07:54:13] [Server thread/WARN]: 
[07:54:13] [Server thread/WARN]: The last packet successfully received from the server was 30 447 366 milliseconds ago.  The last packet sent successfully to the server was 6 449 milliseconds ago.
[07:54:13] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[07:54:13] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[07:54:13] [Server thread/WARN]: 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[07:54:13] [Server thread/WARN]: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[07:54:13] [Server thread/WARN]: 	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[07:54:13] [Server thread/WARN]: 	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
[07:54:13] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2518)
[07:54:13] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
[07:54:13] [Server thread/WARN]: 	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
[07:54:13] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
[07:54:13] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2011)
[07:54:13] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:182)
[07:54:13] [Server thread/WARN]: 	... 25 more
[07:54:13] [Server thread/WARN]: Caused by: java.lang.NullPointerException
[07:54:13] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.clearInputStream(MysqlIO.java:899)
[07:54:13] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2477)
[07:54:13] [Server thread/WARN]: 	... 30 more

wen a pler create a lock :

[11:22:49] [Server thread/WARN]: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 2.1.2
[11:22:49] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:391)
[11:22:49] [Server thread/WARN]: 	at com.griefcraft.listeners.LWCBlockListener.onBlockPlaceMonitor(LWCBlockListener.java:466)
[11:22:49] [Server thread/WARN]: 	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor31.execute(Unknown Source)
[11:22:49] [Server thread/WARN]: 	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70)
[11:22:49] [Server thread/WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[11:22:49] [Server thread/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[11:22:49] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
[11:22:49] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:197)
[11:22:49] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.ItemStack.placeItem(ItemStack.java:228)
[11:22:49] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:531)
[11:22:49] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1327)
[11:22:49] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37)
[11:22:49] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5)
[11:22:49] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12)
[11:22:49] [Server thread/WARN]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[11:22:49] [Server thread/WARN]: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[11:22:49] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109)
[11:22:49] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016)
[11:22:49] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439)
[11:22:49] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943)
[11:22:49] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841)
[11:22:49] [Server thread/WARN]: 	at java.lang.Thread.run(Thread.java:745)
[11:22:49] [Server thread/WARN]: Caused by: com.griefcraft.scripting.ModuleException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[11:22:49] [Server thread/WARN]: 
[11:22:49] [Server thread/WARN]: The last packet successfully received from the server was 42 963 865 milliseconds ago.  The last packet sent successfully to the server was 12 522 948 milliseconds ago.
[11:22:49] [Server thread/WARN]: 	at com.griefcraft.sql.Database.printException(Database.java:198)
[11:22:49] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:188)
[11:22:49] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2$DefaultLimit.getProtectionCount(LimitsV2.java:145)
[11:22:49] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.hasReachedLimit(LimitsV2.java:396)
[11:22:49] [Server thread/WARN]: 	at com.griefcraft.modules.limits.LimitsV2.onRegisterProtection(LimitsV2.java:245)
[11:22:49] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:373)
[11:22:49] [Server thread/WARN]: 	... 21 more
[11:22:49] [Server thread/WARN]: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[11:22:49] [Server thread/WARN]: 
[11:22:49] [Server thread/WARN]: The last packet successfully received from the server was 42 963 865 milliseconds ago.  The last packet sent successfully to the server was 12 522 948 milliseconds ago.
[11:22:49] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[11:22:49] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[11:22:49] [Server thread/WARN]: 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[11:22:49] [Server thread/WARN]: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[11:22:49] [Server thread/WARN]: 	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[11:22:49] [Server thread/WARN]: 	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
[11:22:49] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2518)
[11:22:49] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
[11:22:49] [Server thread/WARN]: 	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
[11:22:49] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
[11:22:49] [Server thread/WARN]: 	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2011)
[11:22:49] [Server thread/WARN]: 	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:182)
[11:22:49] [Server thread/WARN]: 	... 25 more
[11:22:49] [Server thread/WARN]: Caused by: java.lang.NullPointerException

On restart :


[11:23:18] [Server thread/INFO]: [LWC] Disabling LWC v2.1.2-dev-32c25aa
[11:23:18] [Server thread/INFO]: [LWC] Flushing protection updates (864)
[11:23:18] [Server thread/WARN]: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
[11:23:18] [Server thread/WARN]: 
[11:23:18] [Server thread/WARN]: The last packet successfully received from the server was 42 992 890 milliseconds ago.  The last packet sent successfully to the server was 12 551 973 milliseconds ago.
[11:23:18] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[11:23:18] [Server thread/WARN]: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[11:23:18] [Server thread/WARN]: 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[11:23:18] [Server thread/WARN]: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[11:23:18] [Server thread/WARN]: 	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[11:23:18] [Server thread/WARN]: 	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
[11:23:18] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2518)
[11:23:18] [Server thread/WARN]: 	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
[11:23:18] [Server thread/WARN]: 	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2491)
[11:23:18] [Server thread/WARN]: 	at com.mysql.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:4807)
[11:23:18] [Server thread/WARN]: 	at com.griefcraft.sql.Database.setAutoCommit(Database.java:177)
[11:23:18] [Server thread/WARN]: 	at com.griefcraft.util.DatabaseThread.flushDatabase(DatabaseThread.java:140)
[11:23:18] [Server thread/WARN]: 	at com.griefcraft.util.DatabaseThread.stop(DatabaseThread.java:123)
[11:23:18] [Server thread/WARN]: 	at com.griefcraft.lwc.LWC.destruct(LWC.java:616)
[11:23:18] [Server thread/WARN]: 	at com.griefcraft.lwc.LWCPlugin.onDisable(LWCPlugin.java:203)
[11:23:18] [Server thread/WARN]: 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:256)
[11:23:18] [Server thread/WARN]: 	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:359)
[11:23:18] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:437)
[11:23:18] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:424)
[11:23:18] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:417)
[11:23:18] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.disablePlugins(CraftServer.java:375)
[11:23:18] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.stop(MinecraftServer.java:656)
[11:23:18] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:878)
[11:23:18] [Server thread/WARN]: 	at java.lang.Thread.run(Thread.java:745)
[11:23:18] [Server thread/WARN]: Caused by: java.lang.NullPointerException
[11:23:18] [Server thread/ERROR]: Error occurred while disabling LWC v2.1.2-dev-32c25aa (Is it up to date?)
com.griefcraft.scripting.ModuleException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 42 992 891 milliseconds ago.  The last packet sent successfully to the server was 12 551 974 milliseconds ago.
	at com.griefcraft.sql.Database.printException(Database.java:198) ~[?:?]
	at com.griefcraft.sql.PhysDB.saveProtection(PhysDB.java:1750) ~[?:?]
	at com.griefcraft.model.Protection.saveNow(Protection.java:900) ~[?:?]
	at com.griefcraft.util.DatabaseThread.flushDatabase(DatabaseThread.java:148) ~[?:?]
	at com.griefcraft.util.DatabaseThread.stop(DatabaseThread.java:123) ~[?:?]
	at com.griefcraft.lwc.LWC.destruct(LWC.java:616) ~[?:?]
	at com.griefcraft.lwc.LWCPlugin.onDisable(LWCPlugin.java:203) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:256) ~[patched_1.13.2.jar:git-Paper-446]
	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:359) ~[patched_1.13.2.jar:git-Paper-446]
	at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:437) ~[patched_1.13.2.jar:git-Paper-446]
	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:424) ~[patched_1.13.2.jar:git-Paper-446]
	at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:417) ~[patched_1.13.2.jar:git-Paper-446]
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.disablePlugins(CraftServer.java:375) ~[patched_1.13.2.jar:git-Paper-446]
	at net.minecraft.server.v1_13_R2.MinecraftServer.stop(MinecraftServer.java:656) ~[patched_1.13.2.jar:git-Paper-446]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:878) ~[patched_1.13.2.jar:git-Paper-446]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 42 992 891 milliseconds ago.  The last packet sent successfully to the server was 12 551 974 milliseconds ago.
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_111]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_111]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_111]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_111]
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[patched_1.13.2.jar:git-Paper-446]
	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990) ~[patched_1.13.2.jar:git-Paper-446]
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2518) ~[patched_1.13.2.jar:git-Paper-446]
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683) ~[patched_1.13.2.jar:git-Paper-446]
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495) ~[patched_1.13.2.jar:git-Paper-446]
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903) ~[patched_1.13.2.jar:git-Paper-446]
	at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2124) ~[patched_1.13.2.jar:git-Paper-446]
	at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2058) ~[patched_1.13.2.jar:git-Paper-446]
	at com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5158) ~[patched_1.13.2.jar:git-Paper-446]
	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2043) ~[patched_1.13.2.jar:git-Paper-446]
	at com.griefcraft.sql.PhysDB.saveProtection(PhysDB.java:1748) ~[?:?]
	... 14 more
Caused by: java.lang.NullPointerException

Protections not working

LWC Version (/lwc admin version): 2.1.1

Server version (/version): 1.13.2

Short five word summary of issue:
Can't make an Protection

Detailed description of problem:
See Output. Not sure it is really an LWC Error or something beside WorldEdit.

If there was an error in console, put it here:

[13:29:56 INFO]: scysys issued server command: /cprivate
[13:30:04 WARN]: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 2.1.1
[13:30:04 WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:391)
[13:30:04 WARN]: 	at com.griefcraft.listeners.LWCPlayerListener.onPlayerInteract(LWCPlayerListener.java:685)
[13:30:04 WARN]: 	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor21.execute(Unknown Source)
[13:30:04 WARN]: 	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70)
[13:30:04 WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[13:30:04 WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[13:30:04 WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
[13:30:04 WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:315)
[13:30:04 WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:282)
[13:30:04 WARN]: 	at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:110)
[13:30:04 WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1277)
[13:30:04 WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInBlockDig.a(SourceFile:40)
[13:30:04 WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInBlockDig.a(SourceFile:10)
[13:30:04 WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12)
[13:30:04 WARN]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[13:30:04 WARN]: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[13:30:04 WARN]: 	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109)
[13:30:04 WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016)
[13:30:04 WARN]: 	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439)
[13:30:04 WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943)
[13:30:04 WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841)
[13:30:04 WARN]: 	at java.lang.Thread.run(Thread.java:748)
[13:30:04 WARN]: Caused by: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 2.1.1
[13:30:04 WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:391)
[13:30:04 WARN]: 	at com.griefcraft.modules.create.CreateModule.onBlockInteract(CreateModule.java:130)
[13:30:04 WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:359)
[13:30:04 WARN]: 	... 21 more
[13:30:04 WARN]: Caused by: java.lang.NoSuchMethodError: com.sk89q.worldedit.bukkit.BukkitAdapter.asVector(Lorg/bukkit/Location;)Lcom/sk89q/worldedit/Vector;
[13:30:04 WARN]: 	at com.griefcraft.modules.pluginsupport.WorldGuard.onRegisterProtection(WorldGuard.java:359)
[13:30:04 WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:373)
[13:30:04 WARN]: 	... 23 more
[13:30:45 INFO]: scysys issued server command: /cpublic
[13:30:47 WARN]: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 2.1.1
[13:30:47 WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:391)
[13:30:47 WARN]: 	at com.griefcraft.listeners.LWCPlayerListener.onPlayerInteract(LWCPlayerListener.java:685)
[13:30:47 WARN]: 	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor21.execute(Unknown Source)
[13:30:47 WARN]: 	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70)
[13:30:47 WARN]: 	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[13:30:47 WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[13:30:47 WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
[13:30:47 WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:315)
[13:30:47 WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:282)
[13:30:47 WARN]: 	at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:110)
[13:30:47 WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1277)
[13:30:47 WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInBlockDig.a(SourceFile:40)
[13:30:47 WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInBlockDig.a(SourceFile:10)
[13:30:47 WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12)
[13:30:47 WARN]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[13:30:47 WARN]: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[13:30:47 WARN]: 	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109)
[13:30:47 WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016)
[13:30:47 WARN]: 	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439)
[13:30:47 WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943)
[13:30:47 WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841)
[13:30:47 WARN]: 	at java.lang.Thread.run(Thread.java:748)
[13:30:47 WARN]: Caused by: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 2.1.1
[13:30:47 WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:391)
[13:30:47 WARN]: 	at com.griefcraft.modules.create.CreateModule.onBlockInteract(CreateModule.java:130)
[13:30:47 WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:359)
[13:30:47 WARN]: 	... 21 more
[13:30:47 WARN]: Caused by: java.lang.NoSuchMethodError: com.sk89q.worldedit.bukkit.BukkitAdapter.asVector(Lorg/bukkit/Location;)Lcom/sk89q/worldedit/Vector;
[13:30:47 WARN]: 	at com.griefcraft.modules.pluginsupport.WorldGuard.onRegisterProtection(WorldGuard.java:359)
[13:30:47 WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:373)
[13:30:47 WARN]: 	... 23 more

cnospam?

LWC Version (/lwc admin version): 2.1.0
Server version (/version): 1.13.1

Short five word summary of issue: cnospam, doesn't show, auto creation chest message

Detailed description of problem:
When /cnospam enabled you won't get notified on what you automatically lock, as example you place a chest, but you get notified when you destroy it, which is bad.

also cnospam should apply forever or something, otherwise you gotta change it everytime back to on.

If there was an error in console, put it here:

<paste it here between the little tick marks>

Problem crash with furnace

LWC Version (/lwc admin version): latest
Server version (/version): 1.13.2

Short five word summary of issue:

Hi

When a player light a furnace, server crash few seconds later

Detailed description of problem:
When i disable LWC, bug disappears

If there was an error in console, put it here:

https://pastebin.com/1pyuWHmy

Actionbar messages

I'd like to request a feature that allows you to switch the messages between chat and the actionbar.
This could either be a configuration in the core.yml or a command that allows the player to change their preference.

Sort of like the plugin ''McmmoAction''

Keepalive

LWC Version (/lwc admin version): 2.1.1
Server version (/version): 1.13.2

Short five word summary of issue:
Seems like a ping keepalive issue. What could cause this? Happened randomly after a reboot.

Detailed description of problem:

`
[13:33:49 INFO]: [LWC] Keepalive packet (ping) failed!

[13:33:49 WARN]: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

[13:33:49 WARN]:

[13:33:49 WARN]: The last packet successfully received from the server was 300,041 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.

[13:33:49 WARN]: at sun.reflect.GeneratedConstructorAccessor164.newInstance(Unknown Source)

[13:33:49 WARN]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

[13:33:49 WARN]: at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

[13:33:49 WARN]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)

[13:33:49 WARN]: at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)

[13:33:49 WARN]: at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3562)

[13:33:49 WARN]: at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3462)

[13:33:49 WARN]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3905)

[13:33:49 WARN]: at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)

[13:33:49 WARN]: at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)

[13:33:49 WARN]: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2491)

[13:33:49 WARN]: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2449)

[13:33:49 WARN]: at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1381)

[13:33:49 WARN]: at com.griefcraft.sql.Database.pingDatabase(Database.java:149)

[13:33:49 WARN]: at com.griefcraft.util.DatabaseThread.flushDatabase(DatabaseThread.java:161)

[13:33:49 WARN]: at com.griefcraft.util.DatabaseThread.run(DatabaseThread.java:179)

[13:33:49 WARN]: at java.lang.Thread.run(Thread.java:748)

[13:33:49 WARN]: Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

[13:33:49 WARN]: at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3014)

[13:33:49 WARN]: at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3472)

[13:33:49 WARN]: ... 11 more`

critical error ID: PLAYER_INTERACT

**LWC Version: **ModernLWC2.1.0

**Server version: **1.13.1

Short five word summary of issue: PLAYER_INTERACT error

Detailed description of problem: We cannot create new protections. existing protections work fine.
is there an problem with worldedit vectors?

If there was an error in console, put it here:

[22:28:30] [Server thread/WARN]: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 
[22:28:30] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:389)
[22:28:30] [Server thread/WARN]: 	at com.griefcraft.listeners.LWCPlayerListener.onPlayerInteract(LWCPlayerListener.java:687)
[22:28:30] [Server thread/WARN]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[22:28:30] [Server thread/WARN]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[22:28:30] [Server thread/WARN]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[22:28:30] [Server thread/WARN]: 	at java.lang.reflect.Method.invoke(Method.java:498)
[22:28:30] [Server thread/WARN]: 	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
[22:28:30] [Server thread/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[22:28:30] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500)
[22:28:30] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485)
[22:28:30] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:238)
[22:28:30] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:452)
[22:28:30] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1240)
[22:28:30] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37)
[22:28:30] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1)
[22:28:30] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10)
[22:28:30] [Server thread/WARN]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[22:28:30] [Server thread/WARN]: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[22:28:30] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199)
[22:28:30] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900)
[22:28:30] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:411)
[22:28:30] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835)
[22:28:30] [Server thread/WARN]: 	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733)
[22:28:30] [Server thread/WARN]: 	at java.lang.Thread.run(Thread.java:748)
[22:28:30] [Server thread/WARN]: Caused by: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 
[22:28:30] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:389)
[22:28:30] [Server thread/WARN]: 	at com.griefcraft.modules.create.CreateModule.onBlockInteract(CreateModule.java:132)
[22:28:30] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:357)
[22:28:30] [Server thread/WARN]: 	... 23 more
[22:28:30] [Server thread/WARN]: Caused by: java.lang.NullPointerException
[22:28:30] [Server thread/WARN]: 	at com.griefcraft.modules.pluginsupport.WorldGuard.onRegisterProtection(WorldGuard.java:348)
[22:28:30] [Server thread/WARN]: 	at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:371)
[22:28:30] [Server thread/WARN]: 	... 25 more

autoRegister: false doesn't work

LWC Version (/lwc admin version):
Modern LWC 2.1
Server version (/version):
Paper 271 - Minecraft 1.13.1

Short five word summary of issue:
configuration, permissions, plots, auto-protect

Detailed description of problem:
Already, in core.yml autoRegister: false does not work if you leave the autoRegister: private (or public) line for a block
So I deleted the autoRegister: private line from all blocks
Then, the plugin doesn't work with PlotSquared or LuckPerms I don't know
I have disabled lwc.* permission for my plot world and players cannot use the chests they have placed in their plots
The message: The server admin does not allow you to open this (a red message from LWC)

/cancel for /lwc admin cleanup process

LWC Version (/lwc admin version): 1.9.4
Server version (/version): "CraftBukkit version git-Spigot-2cf50f0-2b93d83 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)"

Short five word summary of issue:
/cancel to stop cleanup process

Detailed description of problem:
Requesting /cancel to stop the /lwc admin cleanup process. I find that the process never finishes on its own (it suddenly stops displaying logs without completing) and leaves many tiles loaded in the server, which a restart does not resolve.

If there was an error in console, put it here:

<paste it here between the little tick marks>

[WIP] Economy Modules Overhaul

Hello everyone,

As of Modern LWC release 2.1.2, I have reintroduced the basic economy features that were written by @Hidendra back in the good old days. And to be honest the codes are pretty old and needs an overhaul, to adopt both the changes made on Modern LWC, as well as Vault implementations and economy concepts.

Note: This should not be blocking future releases.

Main Tasks:

  • Reintroduce economy module before 2.1.2 release build
  • Rewrite the whole module
    • [BUG] Spectators with admin permission node will get charged onProtectionInteract
    • [BUG] Players inspecting protection with CoreProtect/Prism will get charged onProtectionInteract
    • [BUG] Players crouching and interact with protection will get charged
    • [Rewrite] Use bukkit-events instead of LWC internal events (see #21)
    • [TODO] Extract strings from hardcoded to strings.yml
    • [TODO] Writeback configuration items into config.yml

Moreover, the economy idea is still under development, one major discussion is to decide whether the "Bank" feature should stay. The idea is that, players get charged and refunded upon interacting with protection, but where should the money comes and go? Please feel free to comment below and unless a consensus have came up afterward, the "bank" feature will stay disabled but not removed. (Means it would require explicit configurations before using it)

Warm Reminder: If you're going to discuss on this, please do elaborate instead of just posting your stance with one or two word.

Regards,
Ivan

New option for global limit

Hey guys

First, thank you to allow this plugin to continue to live.

I reported an issue here about global limit ("default" limit in limitsv2.yml) https://github.com/megoesrawr/Modern-LWC/issues/97, but it wasn't a bug.

So I think it could be interesting to add an option to choose behaviour of global limit

  • current way: global limit is used only if any other limit is mentionned
  • new behaviour: global limit is a maximum number of protections allowed per player
default_limit_behaviour: if_nothing_else
default_limit_behaviour: max_limit

I think it could be an interesting behaviour to add a maximum number of protections per player/group, but still allow them to choose the type of protections they want to use

Cheers

Bypass Protect Chest Exploit

LWC Version (/lwc admin version): 2.1.1
Server version (/version): Spigot 1.13.1

Short five word summary of the issue:
Players can bypass chest protections

Detailed description of the problem:
When a player shift-clicks on any protected chest with an item in their hand they can open the chests.
This only happens when a player has an item in their hand and is shifting while clicking. In other situations like clicking without an item in hand, the chest isn't able to be opened.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.