Помогите Плагин logblock матерится

  • Автор темы Автор темы Who
  • Дата начала Дата начала

Who

Активный участник
Пользователь
Баллы
68
Ник в Minecraft
talshar
Лог блок выдает такую штуку. Мне кажется проблема в БД.

Код:
2012-04-06 18:44:24 [INFO] [LogBlock] Loading LogBlock v1.50
2012-04-06 18:44:24 [INFO] [LogBlock] Version check: Your version is up to date
2012-04-06 18:44:24 [INFO] [LogBlock] Connecting to root@jdbc:mysql://localhost:3306/MySQL...
2012-04-06 18:44:24 [SEVERE] [LogBlock] Error while fetching connection:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
 
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)
    at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
    at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
    at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
    at java.sql.DriverManager.getConnection(DriverManager.java:620)
    at java.sql.DriverManager.getConnection(DriverManager.java:200)
    at de.diddiz.util.MySQLConnectionPool.getConnection(MySQLConnectionPool.java:72)
    at de.diddiz.LogBlock.LogBlock.getConnection(LogBlock.java:258)
    at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:77)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:313)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:284)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:188)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    at java.net.Socket.connect(Socket.java:546)
    at java.net.Socket.connect(Socket.java:495)
    at java.net.Socket.<init>(Socket.java:392)
    at java.net.Socket.<init>(Socket.java:235)
    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
    ... 23 more
 
Да проблема с Mysql, говорит отправила запрос, а в ответ ничего не пришло.
 
И как его исправить?
 
Тебе виднее ты же имеешь туда доступ, а не я) проверяй доступность базы данных, смотри таблицу, смотри настройки, конфиги плагина что бы было всё верно.
 
Проблема в том, что я не шарю в MySQL
 
да, у меня тажа проблема, не подскажите в чем дело?
сам то я не могу(не шарю)
 
Проверяйте, есть ли внешние подключения к БД, правильно ли настроили конфиг
 
что такое БД?
 
@max--2, а как ее настраивать??
 
Это и есть конфиг jail?
SelectionTool: 268
ExecutedCommandsOnJail: []
ExecutedCommandsOnRelease: []
DeleteInventoryOnJail: false
AutomaticMute: false
NearestJailCode: nearest
StoreInventory: true
SignText: <Player>[NEWLINE]<TimeS>[NEWLINE]for[NEWLINE]<Reason>
CanPrisonerOpenHisChest: true
LogJailingIntoConsole: false
CountdownTimeWhenOffline: false
SpoutChangeSkin: false
SpoutSkinChangeURL: http://www.minecraftskins.com/view/168701.png
ManualJails: []
ManualCells: []
ReleaseBackToPreviousPosition: false
IgnorePrisonersSleepingState: true
TeleportPrisonerOnRelease: true
DefaultJailTime: -1
EnableJailStick: false
JailStickParameters: 280,5,10,,police;50,5,20,,admin
Protections:
EnableBlockDestroyProtection: true
BlockDestroyPenalty: 15
EnableBlockPlaceProtection: true
BlockPlacePenalty: 10
BlockProtectionExceptions:
- '59'
EnablePlayerMoveProtection: true
PlayerMoveProtectionPenalty: 30
PlayerMoveProtectionAction: guards
PreventCommands:
- /spawn
- /kill
- /warp
CommandProtectionPenalty: 10
PreventInteractionBlocks:
- '69'
- '72'
- '70'
- '46'
- '64'
- '96'
- '77'
PreventInteractionItems:
- '326'
- '327'
- '259'
InteractionPenalty: 10
EnableExplosionProtection: true
EnablePVPProtection: true
EnableChangingPermissions: false
PrisonersPermissionsGroups:
- prisoners
RestorePermissionsToEscapedPrisoners: true
MaximumAFKTime: 5.0
EnableFoodControl: true
FoodControlMinimumFood: 2
FoodControlMaximumFood: 5
JailPay:
PricePerMinute: 10
PriceForInfiniteJail: 9999
Currency: 0
Guards:
GuardHealth: 8
GuardArmor: 0
GuardDamage: 2
NumberOfGuards: 3
GuardInvincibility: false
GuardAttackSpeedPercent: 100
RespawnGuards: true
GuardTeleportDistance: 10
Database:
UseMySQL: false
MySQLConn: jdbc:mysql://localhost:3306/minecraft
MySQLUSername: root
MySQLPassword: password
Messages:
MessageJail: '&cYou have been jailed!'
MessageJailReason: '&cYou have been jailed! Reason: <Reason>'
MessageUnJail: '&2You have been released! Please respect server rules.'
PlayerNotJailed: That player is not jailed!
MessageYouNotJailed: You are not jailed!
BlockDestroyedNoPenalty: '&cDo not destroy The Jail!'
BlockDestroyedPenalty: '&cDo not destroy The Jail! You have just earned additional
15 minutes in jail!'
MessageEscapeNoPenalty: '&cDo not try to escape out of Jail!'
MessageEscapePenalty: '&cDo not try to escape out of Jail! You have just earned
additional 30 minutes in jail!!'
MessageBlockPlacedNoPenalty: '&cDo not place blocks inside Jail!'
MessageBlockPlacedPenalty: '&cDo not place blocks inside Jail! You have just earned
additional 10 minutes in jail!'
ForbiddenCommandNoPenalty: '&cDo not try to escape with commands!'
ForbiddenCommandPenalty: '&cDo not try to escape with commands! You have just earned
additional 10 minutes in jail!'
ForbiddenTransfer: '&9You have been transferred to another jail!'
MessageMuted: Stop chatting and quietly wait for the end of your sentence!
PreventedInteractionNoPenalty: Don't do that in Jail!
PreventedInteractionPenalty: Don't do that in Jail! You have just earned additional 10 minutes in jail!
MessageAFKKick: Do not be AFK in jail!
MessageJailPayAmountForever: To get out of this mess, you will have to pay <Amount>.
JailPayNotEnoughMoney: You don't have that much money!
JailPayNotEnoughMoneySelected: That won't be enough for your sentence!
JailPayCost: 1 minute of your sentence will cost you <MinutePrice>. That means that cost for releasing you out of the jail is <WholePrice>.
JailPayPaidReleased: You have just payed <Amount> and saved yourself from the jail!
JailPayPaidReleasedHim: You have just payed <Amount> and saved <Prisoner> from the jail!
JailPayLoweredTime: You have just payed <Amount> and lowered your sentence to <NewTime> minutes!
JailPayLoweredTimeHim: You have just payed <Amount> and lowered <Prisoner>'s sentence to <NewTime> minutes!
TimeMinutes: <Time> minutes
Forever: ever
JailStatus: You are jailed for <TimeS> by <Jailer>
JailStatusReason: You are jailed for <TimeS> by <Jailer> because of <Reason>
JailStickEnabled: JailStick enabled!
JailStickDisabled: JailStick disabled!
Mesasges:
JailPayCannotPay: Sorry, money won't help you this time.
JailPayCannotPayHim: Sorry, money won't help him this time.
Debug: false
 
Назад
Верх Низ