BanManager

Discussion in 'Spigot Plugin Help' started by KingTux, May 22, 2016.

  1. Help
    Code (Text):

    22.05 22:56:35 [Server] INFO at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:214) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO Caused by: java.net.ConnectException: Connection refused 22.05 22:56:35 [Server] INFO ... 31 more 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.hikari.pool.HikariPool.checkFailFast(HikariPool.java:509) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.hikari.pool.PoolBase.newConnection(PoolBase.java:315) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:101) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95) ~[?:?] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:327) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:400) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:795) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2089) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2105) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2252) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:339) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:983) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 22.05 22:56:35 [Server] INFO Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure 22.05 22:56:35 [Server] INFO ... 31 more 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.hikari.pool.HikariPool.checkFailFast(HikariPool.java:509) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.hikari.pool.PoolBase.newConnection(PoolBase.java:315) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:101) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95) ~[?:?] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:327) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:400) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:795) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2089) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2164) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:862) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.Util.getInstance(Util.java:387) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51] 22.05 22:56:35 [Server] INFO Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 10 times. Giving up. 22.05 22:56:35 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] 22.05 22:56:35 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_51] 22.05 22:56:35 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_51] 22.05 22:56:35 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1185) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1350) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at org.bukkit.Bukkit.reload(Bukkit.java:539) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.CraftServer.reload(CraftServer.java:745) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) ~[custom.jar:git-Spigot-ccb6016-f92e01b] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.BanManager.onEnable(BanManager.java:116) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.BanManager.setupStorages(BanManager.java:309) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.storage.PlayerStorage.<init>(PlayerStorage.java:40) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.ormlite.dao.BaseDaoImpl.isTableExists(BaseDaoImpl.java:689) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.ormlite.jdbc.DataSourceConnectionSource.getReadOnlyConnection(DataSourceConnectionSource.java:102) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.ormlite.jdbc.DataSourceConnectionSource.getReadWriteConnection(DataSourceConnectionSource.java:120) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.hikari.HikariDataSource.getConnection(HikariDataSource.java:94) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.hikari.pool.HikariPool.<init>(HikariPool.java:118) ~[?:?] 22.05 22:56:35 [Server] INFO at me.confuser.banmanager.internal.hikari.pool.HikariPool.checkFailFast(HikariPool.java:519) ~[?:?] 22.05 22:56:35 [Server] INFO me.confuser.banmanager.internal.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Could not create connection to database server. Attempted reconnect 10 times. Giving up. 22.05 22:56:35 [Server] ERROR Error occurred while enabling BanManager v5.9.0 (Is it up to date?) 22.05 22:56:35 [Server] WARN 18187 [Server thread] INFO me.confuser.banmanager.internal.hikari.pool.HikariPool - HikariPool-0 - Closed. 22.05 22:56:35 [Server] WARN 18186 [Server thread] INFO me.confuser.banmanager.internal.hikari.pool.HikariPool - HikariPool-0 - Close initiated... 22.05 22:56:17 [Server] WARN 77 [Server thread] INFO me.confuser.banmanager.internal.hikari.HikariDataSource - HikariPool-0 - Started. 22.05 22:56:16 [Server] INFO Enabling BanManager v5.9.0
     
     
  2. Whats the plugin?
     
  3. http://dev.bukkit.org/bukkit-plugins/ban-management/

    Your server could not successfully establish a connection to your database. If the database is not hosted on the same machine as your minecraft server, ensure that you have whitelisted the user/ip address you are connecting from. This is covered under the FAQ