Inactive [SEC/ADMN] OwnBlocksPlus v1.7.1 - Protect blocks, adminstick and chest protection. [MySQL][1.2.5-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Thypthon, Mar 7, 2012.

  1. Offline

    TheMaa

    1. Why would you let people you don't trust be OP's?
    2. You can use the admin stick, have the permission ''OwnBlocksPlus.ignoreOwnership'' or be an OP.
     
  2. Offline

    chopstick121

    when i destory blocks a lots of error came out how can i fix that?
     
  3. Offline

    TheMaa

    ...give him some more info? Maybe the error, your config, version of bukkit and the plugin.
     
  4. Offline

    chopstick121

    the error 2012-03-15 18:40:19 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed by the driver.
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.Util.getInstance(Util.java:382)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1213)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1200)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2485)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2467)
    2012-03-15 18:40:19 [SEVERE] at main.java.thypthon.OwnBlocksPlus.mysql.MysqlDatabase.getPlayer(MysqlDatabase.java:137)
    2012-03-15 18:40:19 [SEVERE] at main.java.thypthon.OwnBlocksPlus.mysql.MysqlDatabase.isPlayerActivated(MysqlDatabase.java:199)
    2012-03-15 18:40:19 [SEVERE] at main.java.thypthon.OwnBlocksPlus.mysql.MysqlBlockListener.onBlockPlace(MysqlBlockListener.java:67)
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    2012-03-15 18:40:19 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    2012-03-15 18:40:19 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    2012-03-15 18:40:19 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:90)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.ItemBlock.interactWith(ItemBlock.java:71)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.ItemStack.placeItem(ItemStack.java:83)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:301)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:722)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    2012-03-15 18:40:19 [SEVERE] Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

    The last packet successfully received from the server was 23,736 milliseconds ago. The last packet sent successfully to the server was 9 milliseconds ago.
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3082)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2968)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3516)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    2012-03-15 18:40:19 [SEVERE] at main.java.thypthon.OwnBlocksPlus.mysql.MysqlDatabase.getPlayer(MysqlDatabase.java:138)
    2012-03-15 18:40:19 [SEVERE] at main.java.thypthon.OwnBlocksPlus.mysql.MysqlDatabase.hasPlayer(MysqlDatabase.java:149)
    2012-03-15 18:40:19 [SEVERE] at main.java.thypthon.OwnBlocksPlus.OwnBlocksPlus.addPlayer(OwnBlocksPlus.java:143)
    2012-03-15 18:40:19 [SEVERE] at main.java.thypthon.OwnBlocksPlus.mysql.MysqlPlayerListener.onPlayerJoin(MysqlPlayerListener.java:36)
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    2012-03-15 18:40:19 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    2012-03-15 18:40:19 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    2012-03-15 18:40:19 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:135)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:128)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
    2012-03-15 18:40:19 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
    2012-03-15 18:40:19 [SEVERE] ... 3 more
    2012-03-15 18:40:19 [SEVERE] Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2529)
    2012-03-15 18:40:19 [SEVERE] at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2979)
    2012-03-15 18:40:19 [SEVERE] ... 25 more
    2012-03-15 18:40:19 [SEVERE] Could not pass event BlockPlaceEvent to OwnBlocksPlus
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:90)
    at net.minecraft.server.ItemBlock.interactWith(ItemBlock.java:71)
    at net.minecraft.server.ItemStack.placeItem(ItemStack.java:83)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:301)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:722)
    at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
    at main.java.thypthon.OwnBlocksPlus.mysql.MysqlDatabase.isPlayerActivated(MysqlDatabase.java:202)
    at main.java.thypthon.OwnBlocksPlus.mysql.MysqlBlockListener.onBlockPlace(MysqlBlockListener.java:67)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 14 more
     
  5. Offline

    madjansen

    To get something fixed I need some error msg and config.
     
  6. Offline

    WaffleOnABike

    Loved the plugin, so thanks for the update. I had one quick question though, will this log WorldEdit's people do?
     
  7. Offline

    CXdur

    Sure you're MySQL is set up right as it gets a nullpointerexception in a sql part of the code?
     
    Thypthon likes this.
  8. Offline

    chopstick121

    i think my database is mess i created on the website can u help me with creating a database with MySQL please?
     
  9. Offline

    CXdur

    try to look at a tutorial, i recommend heidisql to modify the database ( gui ). Just create a database that is equal to the name in config.
     
  10. Offline

    chopstick121

    i'll look for heidisql but it support MySQL

    i couldn't install the database :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  11. Offline

    doggon

    Can help me? this error drop and doesan't work this plugin erorr: '' [OwnBlocksPlus] Disabling OwnBlocksPlus v1.1.4
    2012-03-17 11:38:14 [SEVERE] Error occurred while disabling OwnBlocksPlus v1.1.4 (Is it up to date?)
    java.lang.NullPointerException
    at main.java.thypthon.OwnBlocksPlus.mysql.MysqlDatabase.closeConnection(MysqlDatabase.java:47)
    at main.java.thypthon.OwnBlocksPlus.OwnBlocksPlus.onDisable(OwnBlocksPlus.java:55)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:362)
    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:381)
    at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:374)
    at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:245)
    at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:402)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)''
     
  12. Offline

    Thypthon

    Tried to test something with the plugin, but not any server I was on was interested. (ignored me). So, I ust just realse new features without testing. I dont like it, but that's why feedback is important.

    Hey, could find 1.1-R7, but it has now 1.1-R6 if that good enought.
    ------------------------------------------------------------------------------
    OwnBlocsk+ 1.5 released!
    Now with chest protection!

    See first post for download.

    Want to give some info people!
    Many have experienced that OwnBlocksPlus have made your server lagging. This is mostly due to your MySQL connection. If you use "localhost" then all will go faster. But if you have remote host, then it can be laggy. Your server should have at least (approximately) 4GB ram so that everything will not be so laggy. Of course 8GB is mutch better. :)

    More:
    Get an error, please come with more info that just "can do that, fix it.". Come with log from the server console also. BEFORE posting here, check that your config is right also that mysql is setup right.

    Again, check your mysql config.

    -thyp out.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  13. Offline

    chopstick121

    why are there still so many error every time i place block?
     
  14. Offline

    doggon

    But how need get .sql file? What add in MySQL when work this plugin?
     
  15. Offline

    Thypthon

    MySQL table is made automatically. What do you mean with .sql file?

    Come some more info maybe? Check your mysql settings?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  16. Offline

    doggon

    But my mysql don't create automatically and how i login to server and breake block i get much error how this : ''[SEVERE] Could not pass event BlockPlaceEvent to OwnBlocksPlus
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:90)
    at net.minecraft.server.ItemBlock.interactWith(ItemBlock.java:71)
    at net.minecraft.server.ItemStack.placeItem(ItemStack.java:83)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:301)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:722)
    at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
    at main.java.thypthon.OwnBlocksPlus.mysql.MysqlDatabase.getPlayer(MysqlDatabase.java:137)
    at main.java.thypthon.OwnBlocksPlus.mysql.MysqlDatabase.isPlayerActivated(MysqlDatabase.java:199)
    at main.java.thypthon.OwnBlocksPlus.mysql.MysqlBlockListener.onBlockPlace(MysqlBlockListener.java:67)
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.buk"
     
  17. Offline

    Thypthon

    Seems that this is a mysql error, so make sure that ALL mysql settings is RIGHT!
     
  18. Offline

    chopstick121

    all mysql is right do u want config

    The last packet successfully received from the server was 10,754 milliseconds ago. The last packet sent successfully to the server was 7 milliseconds ago.
    2012-03-17 18:04:47 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2012-03-17 18:04:47 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2012-03-17 18:04:47 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2012-03-17 18:04:47 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3082)
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2968)
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3516)
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1474)
    2012-03-17 18:04:47 [SEVERE] at main.java.thypthon.OwnBlocksPlus.mysql.MysqlDatabase.getPlayer(MysqlDatabase.java:138)
    2012-03-17 18:04:47 [SEVERE] at main.java.thypthon.OwnBlocksPlus.mysql.MysqlDatabase.hasPlayer(MysqlDatabase.java:149)
    2012-03-17 18:04:47 [SEVERE] at main.java.thypthon.OwnBlocksPlus.OwnBlocksPlus.addPlayer(OwnBlocksPlus.java:143)
    2012-03-17 18:04:47 [SEVERE] at main.java.thypthon.OwnBlocksPlus.mysql.MysqlPlayerListener.onPlayerJoin(MysqlPlayerListener.java:39)
    2012-03-17 18:04:47 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-03-17 18:04:47 [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2012-03-17 18:04:47 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2012-03-17 18:04:47 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    2012-03-17 18:04:47 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    2012-03-17 18:04:47 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    2012-03-17 18:04:47 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    2012-03-17 18:04:47 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:135)
    2012-03-17 18:04:47 [SEVERE] at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:128)
    2012-03-17 18:04:47 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:94)
    2012-03-17 18:04:47 [SEVERE] at net.minecraft.server.Packet1Login.handle(SourceFile:68)
    2012-03-17 18:04:47 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    2012-03-17 18:04:47 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:48)
    2012-03-17 18:04:47 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
    2012-03-17 18:04:47 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    2012-03-17 18:04:47 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    2012-03-17 18:04:47 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    2012-03-17 18:04:47 [SEVERE] Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2529)
    2012-03-17 18:04:47 [SEVERE] at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2979)
    2012-03-17 18:04:47 [SEVERE] ... 28 more
    2012-03-17 18:04:47 [SEVERE] Could not pass event PlayerJoinEvent to OwnBlocksPlus

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  19. Offline

    doggon

    Why in this plugin need add MySQL? Maybe can remove becouse people can't use plugin. They can't install MySQL configuration...Pls remove MySQL.Thanks.
     
  20. Offline

    wickedwiccan87

    I am using the latest dev build of craftbukkit and ownblocksplus works fine but in the console I keep getting these errors...

    2012-03-18 06:42:20 [SEVERE] Could not pass event PlayerInteractEvent to OwnBlocksPlus
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:174)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:144)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:692)
    at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
    at main.java.thypthon.OwnBlocksPlus.mysql.MysqlBlock.<init>(MysqlBlock.java:29)
    at main.java.thypthon.OwnBlocksPlus.mysql.MysqlPlayerListener.onPlayerInteract(MysqlPlayerListener.java:67)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 12 more
     
  21. Offline

    Thypthon

    How else to store blocks?
     
  22. Offline

    Thypthon

    Okay, maybe the errors are fixed (if any) in 1.5.1. But bukkit 1.2.3 build used because I was unable to find 1.1-R7.
     
  23. Offline

    rfsantos1996

    I got this bug, MySQL is fine, I tested Bukkit Dev R0.4, and Dev R0.3, Dev R0.2, Dev R0.1 and i get the same error...

    2012-03-21 16:52:17 [SEVERE] Could not pass event PlayerInteractEvent to OwnBlocksPlus
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:138)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:886)
    at net.minecraft.server.Packet18ArmAnimation.handle(SourceFile:38)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
    at main.java.thypthon.OwnBlocksPlus.mysql.MysqlBlock.<init>(MysqlBlock.java:29)
    at main.java.thypthon.OwnBlocksPlus.mysql.MysqlPlayerListener.onPlayerInteract(MysqlPlayerListener.java:67)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 12 more
     
  24. Offline

    Thypthon

    OwnBlocksPlus v.1.6 to mc 1.2.4 is released. Chest protection, and some MySQL bugs are fixed. I use 1.2.4-R0-1 witch is under development. That means bugs can occur.
     
  25. Offline

    Textra

    I always feel stupid asking this , but it seems that plugin authors rarely post a simple list of all available commands, so does anyone have a list of commands or a link to them?
     
  26. Offline

    TheMaa

     
  27. Offline

    MattyQ

    I've been running into an issue where OBP prevents default users opening chests they've placed. Keeps giving the message "This chest is not owned by you." It's not generating any errors, and the info-tool shows that the player does in fact own the chest. The only solution is to disabled OBP while they place the chest, then re-enable it. Any thoughts?
     
    chopstick121 likes this.
  28. Offline

    PreFixLT

    Please make to not use mysql server.
     
  29. Offline

    chopstick121

    is not protecting anymore
     
  30. Offline

    Cyris69

    Can we get flatfile support? CoreProtect uses it and is MUCH faster than messing with SQL, seems the plugin never works or only for admin/ops I added the ownblocksplus.use to each rank
     

Share This Page