Stránka 1 z 1

Ultrabans s databází nefunguje.

Napsal: 30 říj 2012, 22:10
od MiVal98
Server: 93.91.240.159:37817
Dobrý den,
snažím se zprovoznit Ultrabans s databází, ale pořád mi to ne a ne fungovat. Prosím o radu.

TAbulky se vytvoří, ale nic se do nich už nezapisuje.

config:
Spoiler: zobrazit
#Change to MySQL for mysql support#
#Change to SQLite for sqlite support#
Database: MySQL
#MySQL Information#
MySQL:
Database: 'jdbc:mysql://localhost:3306/gs_37817_1'
User: 'gs_37817_1'
Password: ''
Table: 'banlist'
IPTable: 'banlistip'
#SQLite Information#
SQLite:
Filename: 'banlist'
#delete dat on ban#
CleanOnBan: false
#Max Warnings#
MaxWarning:
Enable: false
Amt: 5
#ban,kick,ipban,perma,tempban,tempipban#
Result: ban
Silent: true
Reason: 'Max Warnings'
#Used with Temporary actions#
Temp:
Amt: 5
#sec,min,hour,day,week,month#
Mode: day
#Default labels#
Label:
Console: 'Server'
Reason: 'Unsure'
#change to true or false to enable lockdown#
#also can be done ingame /lockdown#
Lockdown: false
Login:
#Check for duplicates on Login#
DupeCheck:
Enable: true
#Check ping on Login#
PingCheck:
Enable: true
MaxPing: 500
#PingBack joining players, and kick if unreachable. //Experimental#
ProxyPingBack:
Enable: false
#How long in milliseconds to Timeout#
Timeout: 10000
#This will set the server to sync the database if multiple servers are in place.#
Sync:
Enabled: false
#Timing is in Long format Example:#
#1 Hour = 60 Seconds * 60 Minutes * 20 ServerTickRatePerSec = 72000L
Timing: 72000L
#Enable Ultrabans Live Server#
Live:
Enabled: false
Port: 9981
#Auto Updater#
AutoUpdater:
Enabled: true
#Error / Usage Tracking#
GoogleAnalytics:
Enable: true
#Chat#
Chat:
#Checks Chat Messages for a valid IP address#
#If its not valid, trust me they can't connect to it#
IPCheck:
Enable: true
#Wildcards %scramble% will scramble the ip and %replace% will show your ip instead#
#If no wildcards are present the message entered will replace the ip#
#leave blank to erase#
Blocking: '*'
#kick,jail,warn,ban,ipban, leave blank for no action#
Result: warn
Silent: false
Reason: 'Advertising'
#This will allow you to filter out messages containing any words that you define#
SwearCensor:
Enable: true
#Use your imagination these are not for me to decide#
Words: 'pico'
#Wildcards %scramble% will scramble the word#
#If no wildcards are present the message entered will replace the word#
#leave blank to erase#
Blocking: '*'
#kick,jail,warn,ban,ipban, leave blank for no action#
Result: warn
Silent: false
Reason: 'Sprosta mluva'
#Checks if the message is duplicate and disables it#
SpamCheck:
Enable: true
#The amount of messages to give a result#
Counter: 10
#kick,jail,warn,ban,ipban, leave blank for no action#
Result: kick
Silent: false
Reason: 'Spam'
Muted:
Vannila: true
#When Vanilla: true allowed commands.#
AllowedCommands:
- '/login'
- '/register'
#Jail Configuration#
Jail:
Mute: true
Vanilla: true
#When Vanilla: true allowed commands.#
AllowedCommands:
- '/login'
- '/register'
Messages:
Ban:
MsgToVictim: '&6You have been banned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was banned by &7%admin%&6. Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already in banned.'
Denied: '&cYour ban attempt has been denied!'
Emo: '&cYou cannot ban yourself!'
Login: '&7%admin%&6 banned you from this server! Reason: &7%reason%&6!'
CheckBan:
Header: '&6Found &7%amt%&6 records for &7%victim%&6.'
None: '&cNo records found for &4%victim%&c.'
Clean:
Complete: '&6Deleted &7%amt%&6 player.dat files.'
DupeIP:
Failed: '&cUnable to view ip for &4%victim% &c!'
Header: '&6Scanning Current IP of &7%victim%&6: &7%ip% !'
Completed: '&aScanning Complete!'
Empty:
MsgToVictim: '&7%admin%&6 has cleared your inventory!'
MsgToSender: '&7%admin%&6 has cleared the inventory of &7%victim%&6!'
Online: '&4%victim%&c must be online.'
Export:
Failed: '&cCould not export ban lists.'
Completed: '&aExported banlists.'
History:
Header: '&6Ultrabans Listing &7%amt%&6 Records.'
Failed: '&cUnable to find any bans.'
Import:
Loading: '&cBe patient. Loading...'
Failed: '&cCould not import ban list.'
Completed: '&aSystem imported the banlist to the database.'
InvOf:
Failed: '&cUnable to find player.'
Console: '&cThis command must be executed by a &4player&c.'
IPBan:
MsgToVictim: '&6You have been ipbanned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was ipbanned by &7%admin%&6. Reason: &7%reason%&6!'
IPNotFound: '&cIP address not found. &6Processed as a normal ban for &7%victim%&6!'
Failed: '&4%victim%&c is already in banned.'
Denied: '&cYour ipban attempt has been denied!'
Emo: '&cYou cannot ipban yourself!'
Login: '&7Your IP is banned!'
Jail:
MsgToVictim: '&6You have been jailed by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was jailed by &7%admin%&6. Reason: &7%reason%&6!'
SetJail: '&aJail has been set!'
SetRelease: '&aRelease has been set!'
Failed: '&4%victim%&c is already in jail.'
Online: '&4%victim%&c must be online to be jailed.'
Denied: '&cYour jail attempt has been denied!'
Emo: '&cYou cannot jail yourself!'
PlaceMsg: '&cYou cannot place blocks while you are jailed!'
BreakMsg: '&cYou cannot break blocks while you are jailed!'
Kick:
MsgToAll: '&6Everyone has been kicked by &7%admin%&6. Reason: &7%reason%&6!'
MsgToVictim: '&6You have been kicked by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was kicked by &7%admin%&6. Reason: &7%reason%&6!'
Online: '&4%victim%&c must be online.'
Denied: '&cYour kick has been denied!'
Emo: '&cYou cannot kick yourself!'
Lockdown:
Start: '&cLockdown initiated. &4Player Login&c disabled.'
End: '&aLockdown ended. &2Player Login&a reenabled.'
Status: '&cLockdown is disabled.'
LoginMsg: '&4Server is under a lockdown, Try again later!&c Sorry.'
Mute:
MuteMsgToSender: '&6You have muted &7%victim%&6.'
MuteMsgToVictim: '&4You have been muted!'
UnmuteMsgToSender: '&6You have unmuted &7%victim%&6.'
UnmuteMsgToVictim: '&aYou have been unmuted.'
Denied: '&cYour mute has been denied!'
Emo: '&cYou cannot mute yourself!'
Chat: '&cYour cry falls on deaf ears.'
Pardon:
Msg: '&7%victim%&6 was released from jail by &7%admin%&6!'
PermaBan:
MsgToVictim: '&6You have been permabanned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was permabanned by &7%admin%&6. Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already banned.'
Online: '&4%victim%&c must be online.'
Denied: '&cYour permaban has been denied!'
Emo: '&cYou cannot permaban yourself!'
Spawn:
MsgToVictim: '&cYou have been sent to spawn!'
MsgToSender: '&7%victim%&6 is now at spawn!'
Failed: '&4%victim%&c is not online.'
Starve:
MsgToVictim: '&cYou are now starving!'
MsgToSender: '&6%victim%&7 is now starving!'
Failed: '&4%victim%&c is not online.'
Denied: '&cYour starve attempt has been denied!'
Emo: '&cYou cannot starve yourself!'
TempBan:
MsgToVictim: '&6You have been tempbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was tempbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already tempbanned!'
Denied: '&cYour tempban has been denied!'
Emo: '&cYou cannot tempban yourself!'
Login: '&6You have been tempbanned by &7%admin%&6 for &7%time%&6. Reason: &7%reason%&6!'
TempIpBan:
MsgToVictim: '&6You have been tempipbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was tempipbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already tempipbanned!'
Denied: '&cYour tempipban has been denied!'
Emo: '&cYou cannot tempipban yourself!'
IPNotFound: '&cIP address not found.&6 Processed as a normal tempban for &7%victim%&6!'
TempJail:
MsgToVictim: '&6You have been tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
Failed: '&4%victim%&c is already jailed!'
Denied: '&cYour tempjail has been denied!'
Emo: '&cYou cannot tempjail yourself!'
Unban:
MsgToBroadcast: '&7%victim%&6 was unbanned by &7%admin%&6!'
PermaBanned: '&cUnable to unban, &7%victim%&c was Permabanned.'
Failed: '&4%victim%&c is already unbanned!'
Warn:
MsgToVictim: '&6You have been warned by &7%admin%&6. Reason: &7%reason%&6!'
MsgToBroadcast: '&7%victim%&6 was warned by &7%admin%&6. Reason: &7%reason%&6!'
Denied: '&cYour warning has been denied!'
Emo: '&cYou cannot warn yourself!'
MaxWarn:
MsgToBroadcast: '&7%cmd%&6 performed by Ultrabans on &7%victim%&6. Reason: &7Reached Max Warnings&6!'
Permission: 'You do not have the required permissions.'
#Do Not Change Values Below#
jail:
x: 0
y: 0
z: 0
yaw: 0
pitch: 0

Re: Ultrabans s databází nefunguje.

Napsal: 30 říj 2012, 22:17
od ToritarY
Podle mne jestli mas 1.4.2 server a nemas aktulizovanej UltraBAns .
Tak je to asi tímhle ..

Re: Ultrabans s databází nefunguje.

Napsal: 30 říj 2012, 22:21
od nejento
1) Server.log při startu (případná viditelná hesla zakryj)
2) Config do Code (opět hesla zakryj)

Re: Ultrabans s databází nefunguje.

Napsal: 30 říj 2012, 22:24
od MiVal98
Mám poslední verzi Ultrabans a 1.4.2 to není, nefungovalo mi to ani na 1.3.2.

Config:
Spoiler: zobrazit

Kód: Vybrat vše

#Change to MySQL for mysql support#
#Change to SQLite for sqlite support#
Database: MySQL
#MySQL Information#
MySQL:
  Database: 'jdbc:mysql://localhost:3306/gs_37817_1'
  User: 'gs_37817_1'
  Password: ''
  Table: 'banlist'
  IPTable: 'banlistip'
#SQLite Information#
SQLite:
  Filename: 'banlist'
#delete dat on ban#
CleanOnBan: false
#Max Warnings#
MaxWarning:
  Enable: false
  Amt: 5
  #ban,kick,ipban,perma,tempban,tempipban#
  Result: ban
  Silent: true
  Reason: 'Max Warnings'
  #Used with Temporary actions#
  Temp:
    Amt: 5
  #sec,min,hour,day,week,month#
    Mode: day
#Default labels#
Label:
  Console: 'Server'
  Reason: 'Unsure'
#change to true or false to enable lockdown#
#also can be done ingame /lockdown#
Lockdown: false
Login:
#Check for duplicates on Login#
  DupeCheck:
    Enable: true
#Check ping on Login#
  PingCheck:
    Enable: true
    MaxPing: 500
#PingBack joining players, and kick if unreachable. //Experimental#
  ProxyPingBack:
    Enable: false
    #How long in milliseconds to Timeout#
    Timeout: 10000
#This will set the server to sync the database if multiple servers are in place.#
Sync:
  Enabled: false
  #Timing is in Long format Example:#
  #1 Hour = 60 Seconds * 60 Minutes * 20 ServerTickRatePerSec = 72000L
  Timing: 72000L
#Enable Ultrabans Live Server#
Live:
  Enabled: false
  Port: 9981
#Auto Updater#
AutoUpdater:
  Enabled: true
#Error / Usage Tracking#
GoogleAnalytics:
  Enable: true
#Chat#
Chat:
  #Checks Chat Messages for a valid IP address#
  #If its not valid, trust me they can't connect to it#
  IPCheck:
    Enable: true
    #Wildcards %scramble% will scramble the ip and %replace% will show your ip instead#
    #If no wildcards are present the message entered will replace the ip#
    #leave blank to erase#
    Blocking: '*'
    #kick,jail,warn,ban,ipban, leave blank for no action#
    Result: warn
    Silent: false
    Reason: 'Advertising'
  #This will allow you to filter out messages containing any words that you define#
  SwearCensor:
    Enable: true
    #Use your imagination these are not for me to decide#
    Words: 'pico'
    #Wildcards %scramble% will scramble the word#
    #If no wildcards are present the message entered will replace the word#
    #leave blank to erase#
    Blocking: '*'
    #kick,jail,warn,ban,ipban, leave blank for no action#
    Result: warn
    Silent: false
    Reason: 'Sprosta mluva'
  #Checks if the message is duplicate and disables it#
  SpamCheck:
    Enable: true
    #The amount of messages to give a result#
    Counter: 10
    #kick,jail,warn,ban,ipban, leave blank for no action#
    Result: kick
    Silent: false
    Reason: 'Spam'
Muted:
  Vannila: true
  #When Vanilla: true allowed commands.#
  AllowedCommands:
  - '/login'
  - '/register'
#Jail Configuration#
Jail:
  Mute: true
  Vanilla: true
  #When Vanilla: true allowed commands.#
  AllowedCommands:
  - '/login'
  - '/register'
Messages:
  Ban:
    MsgToVictim: '&6You have been banned by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was banned by &7%admin%&6. Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already in banned.'
    Denied: '&cYour ban attempt has been denied!'
    Emo: '&cYou cannot ban yourself!'
    Login: '&7%admin%&6 banned you from this server! Reason: &7%reason%&6!'
  CheckBan:
    Header: '&6Found &7%amt%&6 records for &7%victim%&6.'
    None: '&cNo records found for &4%victim%&c.'
  Clean:
    Complete: '&6Deleted &7%amt%&6 player.dat files.'
  DupeIP:
    Failed: '&cUnable to view ip for &4%victim% &c!'
    Header: '&6Scanning Current IP of &7%victim%&6: &7%ip% !'
    Completed: '&aScanning Complete!'
  Empty:
    MsgToVictim: '&7%admin%&6 has cleared your inventory!'
    MsgToSender: '&7%admin%&6 has cleared the inventory of &7%victim%&6!'
    Online: '&4%victim%&c must be online.'
  Export:
    Failed: '&cCould not export ban lists.'
    Completed: '&aExported banlists.'
  History:
    Header: '&6Ultrabans Listing &7%amt%&6 Records.'
    Failed: '&cUnable to find any bans.'
  Import:
    Loading: '&cBe patient. Loading...'
    Failed: '&cCould not import ban list.'
    Completed: '&aSystem imported the banlist to the database.'
  InvOf:
    Failed: '&cUnable to find player.'
    Console: '&cThis command must be executed by a &4player&c.'
  IPBan:
    MsgToVictim: '&6You have been ipbanned by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was ipbanned by &7%admin%&6. Reason: &7%reason%&6!'
    IPNotFound: '&cIP address not found. &6Processed as a normal ban for &7%victim%&6!'
    Failed: '&4%victim%&c is already in banned.'
    Denied: '&cYour ipban attempt has been denied!'
    Emo: '&cYou cannot ipban yourself!'
    Login: '&7Your IP is banned!'
  Jail:
    MsgToVictim: '&6You have been jailed by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was jailed by &7%admin%&6. Reason: &7%reason%&6!'
    SetJail: '&aJail has been set!'
    SetRelease: '&aRelease has been set!'
    Failed: '&4%victim%&c is already in jail.'
    Online: '&4%victim%&c must be online to be jailed.'
    Denied: '&cYour jail attempt has been denied!'
    Emo: '&cYou cannot jail yourself!'
    PlaceMsg: '&cYou cannot place blocks while you are jailed!'
    BreakMsg: '&cYou cannot break blocks while you are jailed!'
  Kick:
    MsgToAll: '&6Everyone has been kicked by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToVictim: '&6You have been kicked by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was kicked by &7%admin%&6. Reason: &7%reason%&6!'
    Online: '&4%victim%&c must be online.'
    Denied: '&cYour kick has been denied!'
    Emo: '&cYou cannot kick yourself!'
  Lockdown:
    Start: '&cLockdown initiated. &4Player Login&c disabled.'
    End: '&aLockdown ended. &2Player Login&a reenabled.'
    Status: '&cLockdown is disabled.'
    LoginMsg: '&4Server is under a lockdown, Try again later!&c Sorry.'
  Mute:
    MuteMsgToSender: '&6You have muted &7%victim%&6.'
    MuteMsgToVictim: '&4You have been muted!'
    UnmuteMsgToSender: '&6You have unmuted &7%victim%&6.'
    UnmuteMsgToVictim: '&aYou have been unmuted.'
    Denied: '&cYour mute has been denied!'
    Emo: '&cYou cannot mute yourself!'
    Chat: '&cYour cry falls on deaf ears.'
  Pardon:
    Msg: '&7%victim%&6 was released from jail by &7%admin%&6!'
  PermaBan:
    MsgToVictim: '&6You have been permabanned by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was permabanned by &7%admin%&6. Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already banned.'
    Online: '&4%victim%&c must be online.'
    Denied: '&cYour permaban has been denied!'
    Emo: '&cYou cannot permaban yourself!'
  Spawn:
    MsgToVictim: '&cYou have been sent to spawn!'
    MsgToSender: '&7%victim%&6 is now at spawn!'
    Failed: '&4%victim%&c is not online.'
  Starve:
    MsgToVictim: '&cYou are now starving!'
    MsgToSender: '&6%victim%&7 is now starving!'
    Failed: '&4%victim%&c is not online.'
    Denied: '&cYour starve attempt has been denied!'
    Emo: '&cYou cannot starve yourself!'
  TempBan:
    MsgToVictim: '&6You have been tempbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was tempbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already tempbanned!'
    Denied: '&cYour tempban has been denied!'
    Emo: '&cYou cannot tempban yourself!'
    Login: '&6You have been tempbanned by &7%admin%&6 for &7%time%&6. Reason: &7%reason%&6!'
  TempIpBan:
    MsgToVictim: '&6You have been tempipbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was tempipbanned by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already tempipbanned!'
    Denied: '&cYour tempipban has been denied!'
    Emo: '&cYou cannot tempipban yourself!'
    IPNotFound: '&cIP address not found.&6 Processed as a normal tempban for &7%victim%&6!'
  TempJail:
    MsgToVictim: '&6You have been tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was tempjailed by &7%admin%&6 for &7%amt% %mode%s.&6 Reason: &7%reason%&6!'
    Failed: '&4%victim%&c is already jailed!'
    Denied: '&cYour tempjail has been denied!'
    Emo: '&cYou cannot tempjail yourself!'
  Unban:
    MsgToBroadcast: '&7%victim%&6 was unbanned by &7%admin%&6!'
    PermaBanned: '&cUnable to unban, &7%victim%&c was Permabanned.'
    Failed: '&4%victim%&c is already unbanned!'
  Warn:
    MsgToVictim: '&6You have been warned by &7%admin%&6. Reason: &7%reason%&6!'
    MsgToBroadcast: '&7%victim%&6 was warned by &7%admin%&6. Reason: &7%reason%&6!'
    Denied: '&cYour warning has been denied!'
    Emo: '&cYou cannot warn yourself!'
  MaxWarn:
    MsgToBroadcast: '&7%cmd%&6 performed by Ultrabans on &7%victim%&6. Reason: &7Reached Max Warnings&6!'
  Permission: 'You do not have the required permissions.'
#Do Not Change Values Below#
jail:
  x: 0
  y: 0
  z: 0
  yaw: 0
  pitch: 0



Server.log:
Spoiler: zobrazit

Kód: Vybrat vše

2012-10-30 21:15:10 [SEVERE] [Ultrabans] Couldn't execute MySQL statement:
java.sql.SQLException: Got error -1 from storage engine
   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
   at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
   at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
   at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
   at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
   at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
   at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
   at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
   at com.modcrafting.ultrabans.db.SQL.setAddress(SQL.java:145)
   at com.modcrafting.ultrabans.listeners.UltraBanPlayerListener.onPlayerJoin(UltraBanPlayerListener.java:98)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
   at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
   at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
   at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
   at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:162)
   at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:93)
   at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:132)
   at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:45)
   at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
   at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
   at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:569)
   at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215)
   at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:486)
   at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:419)
   at net.minecraft.server.ThreadServerApplication.run(SourceFile:818)

Re: Ultrabans s databází nefunguje.

Napsal: 30 říj 2012, 22:43
od nejento
Dej sem server.log při celým startu serveru.

Re: Ultrabans s databází nefunguje.

Napsal: 30 říj 2012, 22:48
od MiVal98
Server.log:
Spoiler: zobrazit

Kód: Vybrat vše

2012-10-30 21:15:02 [INFO] Starting minecraft server version 1.4.2
2012-10-30 21:15:02 [INFO] Loading properties
2012-10-30 21:15:02 [INFO] Default game type: SURVIVAL
2012-10-30 21:15:02 [INFO] Generating keypair
2012-10-30 21:15:02 [INFO] Starting Minecraft server on 93.91.240.159:37817
2012-10-30 21:15:02 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2012-10-30 21:15:02 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2012-10-30 21:15:02 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2012-10-30 21:15:02 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2012-10-30 21:15:02 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.2-R3.0-16-ge0726f3-b2420jnks (MC: 1.4.2) (Implementing API version 1.4.2-R0.1-SNAPSHOT)
2012-10-30 21:15:02 [INFO] ----- Bukkit Auto Updater -----
2012-10-30 21:15:02 [INFO] It appears that you're running a Development Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
2012-10-30 21:15:02 [INFO] If you would like to be kept informed about new Development Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'dev'.
2012-10-30 21:15:02 [INFO] With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
2012-10-30 21:15:02 [INFO] If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
2012-10-30 21:15:02 [INFO] ----- ------------------- -----
2012-10-30 21:15:02 [INFO] Starting FakaHedaMinequery server on 93.91.240.159:38817
2012-10-30 21:15:02 [INFO] [PermissionsEx] sql backend registered!
2012-10-30 21:15:02 [INFO] [PermissionsEx] file backend registered!
2012-10-30 21:15:02 [INFO] [PermissionsEx] PermissionEx plugin initialized.
2012-10-30 21:15:02 [INFO] [LagMeter] Loading LagMeter v1.9.0
2012-10-30 21:15:02 [INFO] [FakaHedaMinequery] Loading FakaHedaMinequery v1.1
2012-10-30 21:15:02 [INFO] [WorldEdit] Loading WorldEdit v5.4.2
2012-10-30 21:15:02 [INFO] [Vault] Loading Vault v1.2.19-b248
2012-10-30 21:15:02 [INFO] [PermissionsEx] Loading PermissionsEx v1.19.3
2012-10-30 21:15:02 [INFO] [PermissionsEx] Initializing file backend
2012-10-30 21:15:02 [INFO] [Multiverse-Core] Loading Multiverse-Core v2.4-b527
2012-10-30 21:15:02 [INFO] [LogBlock] Loading LogBlock v1.58
2012-10-30 21:15:02 [INFO] [LogBlock] [LogBlock] Connecting to gs_37817_1@jdbc:mysql://localhost:3306/gs_37817_1...
2012-10-30 21:15:03 [INFO] [AntiFire] Loading AntiFire v0.9
2012-10-30 21:15:03 [INFO] [TreeAssist] Loading TreeAssist v4.4
2012-10-30 21:15:03 [INFO] [AntiCreeper3] Loading AntiCreeper3 v3.6.2
2012-10-30 21:15:03 [INFO] [ColoredTablist] Loading ColoredTablist v1.8
2012-10-30 21:15:03 [INFO] [SignColours] Loading SignColours v1.5
2012-10-30 21:15:03 [INFO] [iConomy] Loading iConomy v7.0
2012-10-30 21:15:03 [INFO] [AuthMe] Loading AuthMe v2.6.6
2012-10-30 21:15:03 [INFO] [PluginFake] Loading PluginFake v1.5
2012-10-30 21:15:03 [INFO] [BKCommonLib] Loading BKCommonLib v1.33
2012-10-30 21:15:03 [INFO] [MobArena] Loading MobArena v0.94.4.81
2012-10-30 21:15:03 [INFO] [AutoAnnouncer] Loading AutoAnnouncer v1.7-03.23
2012-10-30 21:15:03 [INFO] [Essentials] Loading Essentials v2.9.4
2012-10-30 21:15:03 [INFO] [Jobs] Loading Jobs v2.8.5
2012-10-30 21:15:03 [INFO] [ServerSigns] Loading ServerSigns v2.5.2
2012-10-30 21:15:03 [INFO] [EssentialsSpawn] Loading EssentialsSpawn v2.9.4
2012-10-30 21:15:03 [INFO] [CreativeGates] Loading CreativeGates v1.3.5
2012-10-30 21:15:03 [INFO] [Ultrabans] Loading Ultrabans v2.0.1
2012-10-30 21:15:03 [INFO] [LWC] Loading LWC v4.3.0 (b736-git-1b1150b1) (August 08, 2012)
2012-10-30 21:15:03 [INFO] [NoLagg] Loading NoLagg v1.88.9
2012-10-30 21:15:03 [INFO] [ChestShop] Loading ChestShop v3.46
2012-10-30 21:15:03 [INFO] [EssentialsChat] Loading EssentialsChat v2.9.4
2012-10-30 21:15:03 [INFO] [Residence] Loading Residence v2.6.5.2
2012-10-30 21:15:03 [INFO] [AntiCheat] Loading AntiCheat v1.3.8-U4
2012-10-30 21:15:03 [INFO] [Lift] Loading Lift v27
2012-10-30 21:15:03 [INFO] [Vault] Enabling Vault v1.2.19-b248
2012-10-30 21:15:03 [INFO] [Vault][Economy] Essentials Economy found: Waiting
2012-10-30 21:15:03 [WARNING] iConomy6 - If you are using Flatfile storage be aware that iCo6 has a CRITICAL bug which can wipe ALL iconomy data.
2012-10-30 21:15:03 [WARNING] if you're using Votifier, or any other plugin which handles economy data in a threaded manner your server is at risk!
2012-10-30 21:15:03 [WARNING] it is highly suggested to use SQL with iCo6 or to use an alternative economy plugin!
2012-10-30 21:15:03 [INFO] [Vault][Economy] iConomy 6 found: Waiting
2012-10-30 21:15:03 [INFO] [Vault][Permission] PermissionsEx found: Waiting
2012-10-30 21:15:03 [INFO] [Vault][Permission] SuperPermissions loaded as backup permission system.
2012-10-30 21:15:03 [INFO] [Vault][Chat] PermissionsEx found: Waiting
2012-10-30 21:15:03 [INFO] [Vault] Enabled Version 1.2.19-b248
2012-10-30 21:15:03 [INFO] [BKCommonLib] Enabling BKCommonLib v1.33
2012-10-30 21:15:03 [INFO] BKCommonLib version 1.33 enabled!
2012-10-30 21:15:03 [INFO] [LWC] Enabling LWC v4.3.0 (b736-git-1b1150b1) (August 08, 2012)
2012-10-30 21:15:03 [INFO] [LWC] Loaded 209 locale strings (0 overrides)
2012-10-30 21:15:03 [INFO] [LWC] Permissions API: §4VaultPermissions
2012-10-30 21:15:03 [INFO] [LWC] Currency API: §4VaultCurrency
2012-10-30 21:15:03 [INFO] [LWC] Connecting to SQLite
2012-10-30 21:15:03 [INFO] [LWC] Performing any necessary database updates
2012-10-30 21:15:03 [INFO] [LWC] Using database: Native
2012-10-30 21:15:03 [INFO] [LWC] Precached 5858 protections
2012-10-30 21:15:03 [INFO] [LWC] Enabled plugin support for MobArena
2012-10-30 21:15:03 [INFO] [NoLagg] Enabling NoLagg v1.88.9
2012-10-30 21:15:03 [INFO] [NoLagg Saving] will write world data to all region files every 12000 ticks (10.0 minutes)
2012-10-30 21:15:03 [INFO] NoLagg version 1.88.9 enabled!
2012-10-30 21:15:03 [INFO] Preparing level "world"
2012-10-30 21:15:03 [INFO] Preparing start region for level 0 (Seed: 2828377735935502693)
2012-10-30 21:15:04 [INFO] Preparing start region for level 1 (Seed: 2828377735935502693)
2012-10-30 21:15:04 [INFO] Preparing start region for level 2 (Seed: 2828377735935502693)
2012-10-30 21:15:04 [INFO] [LagMeter] Enabling LagMeter v1.9.0
2012-10-30 21:15:04 [INFO] [LagMeter] Not using logs folder.
2012-10-30 21:15:04 [INFO] [LagMeter 1.9.0] Enabled!  Polling every 40 server ticks.  Logging to /hlserver/37817/plugins/LagMeter/lag.log
2012-10-30 21:15:04 [INFO] [FakaHedaMinequery] Enabling FakaHedaMinequery v1.1
2012-10-30 21:15:04 [INFO] [WorldEdit] Enabling WorldEdit v5.4.2
2012-10-30 21:15:04 [INFO] WEPIF: Using the Bukkit Permissions API.
2012-10-30 21:15:04 [INFO] [PermissionsEx] Enabling PermissionsEx v1.19.3
2012-10-30 21:15:04 [INFO] [PermissionsEx] Superperms support enabled.
2012-10-30 21:15:04 [INFO] [PermissionsEx] v1.19.3 enabled
2012-10-30 21:15:04 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
2012-10-30 21:15:04 [INFO] [Vault][Permission] PermissionsEx hooked.
2012-10-30 21:15:04 [INFO] [Vault][Chat] PermissionsEx_Chat hooked.
2012-10-30 21:15:04 [INFO] [Multiverse-Core] Enabling Multiverse-Core v2.4-b527
2012-10-30 21:15:04 [INFO] [Multiverse-Core] - Version 2.4-b527 (API v14) Enabled - By Rigby, fernferret, lithium3141 and main--
2012-10-30 21:15:04 [INFO] [AllPay] - Version 10.0 - hooked into iConomy 6 for Multiverse-Core v2.4-b527
2012-10-30 21:15:05 [INFO] [Multiverse-Core] Loading World & Settings - 'world' - Env: NORMAL - Type: NORMAL & seed: 2828377735935502693
2012-10-30 21:15:05 [INFO] [Multiverse-Core] Loading World & Settings - 'world_nether' - Env: NETHER - Type: NORMAL & seed: 2828377735935502693
2012-10-30 21:15:05 [WARNING] [Multiverse-Core] Spawn location from world.dat file was unsafe. Adjusting...
2012-10-30 21:15:05 [WARNING] [Multiverse-Core] Original Location: X: 0 Y: 64 Z: 0 P: 0 Y: 0
2012-10-30 21:15:05 [SEVERE] [Multiverse-Core] New safe spawn NOT found!!!
2012-10-30 21:15:05 [INFO] [Multiverse-Core] Loading World & Settings - 'world_the_end' - Env: THE_END - Type: NORMAL & seed: 2828377735935502693
2012-10-30 21:15:05 [INFO] [Multiverse-Core] Loading World & Settings - 'world_new' - Env: NORMAL - Type: NORMAL & seed: 2881460760198322407
2012-10-30 21:15:05 [INFO] Preparing start region for level 3 (Seed: 2881460760198322407)
2012-10-30 21:15:05 [INFO] [Multiverse-Core] 4 - World(s) loaded.
2012-10-30 21:15:05 [INFO] [LogBlock] Enabling LogBlock v1.58
2012-10-30 21:15:05 [INFO] [LogBlock] [LogBlock] Scheduled consumer with bukkit scheduler.
2012-10-30 21:15:05 [INFO] [AntiFire] Enabling AntiFire v0.9
2012-10-30 21:15:05 [FINE] [AntiFire] new style logstart found
2012-10-30 21:15:05 [INFO] [AntiFire] enabled, brought to you by Filbert66
2012-10-30 21:15:05 [INFO] [TreeAssist] Enabling TreeAssist v4.4
2012-10-30 21:15:05 [INFO] [AntiCreeper3] Enabling AntiCreeper3 v3.6.2
2012-10-30 21:15:05 [INFO] [AntiCreeper3] brought to you by Filbert66 (<=v.2.5 by Rothens)
2012-10-30 21:15:05 [INFO] [ColoredTablist] Enabling ColoredTablist v1.8
2012-10-30 21:15:05 [INFO] [ColoredTablist] Config loaded
2012-10-30 21:15:05 [INFO] [SignColours] Enabling SignColours v1.5
2012-10-30 21:15:05 [INFO] SignColours version 1.5 by ichingpow enabled.
2012-10-30 21:15:05 [INFO] [iConomy] Enabling iConomy v7.0
2012-10-30 21:15:05 [INFO] [iConomy - April Fools] Enabled (11 ms)
2012-10-30 21:15:05 [INFO] [iConomy] Hello, I'm Nijikokun. Yes, this is an April Fools joke, but '/money top' was fixed! Enjoy :) - Rare Version!
2012-10-30 21:15:05 [INFO] [Vault][Economy] iConomy 6 hooked.
2012-10-30 21:15:05 [INFO] [AuthMe] Enabling AuthMe v2.6.6
2012-10-30 21:15:05 [INFO] [AuthMe] Loading Configuration File...
2012-10-30 21:15:05 [INFO] [AuthMe] Merge new Config Options..
2012-10-30 21:15:05 [INFO] [AuthMe] Set Language: en
2012-10-30 21:15:05 [INFO] [AuthMe] MySQL driver loaded
2012-10-30 21:15:05 [INFO] [AuthMe] Connection pool ready
2012-10-30 21:15:05 [INFO] [AuthMe] MySQL Setup finished
2012-10-30 21:15:05 [INFO] [AuthMe] Authme 2.6.6 enabled
2012-10-30 21:15:05 [INFO] [PluginFake] Enabling PluginFake v1.5
2012-10-30 21:15:05 [INFO] [MobArena] Enabling MobArena v0.94.4.81
2012-10-30 21:15:05 [INFO] [iConomy - April Fools] Purged accounts with default balance.
2012-10-30 21:15:06 [INFO] [MobArena] v0.94.4.81 enabled.
2012-10-30 21:15:06 [INFO] [AutoAnnouncer] Enabling AutoAnnouncer v1.7-03.23
2012-10-30 21:15:06 [INFO] [AutoAnnouncer] Permission support enabled!
2012-10-30 21:15:06 [INFO] [AutoAnnouncer] Settings Loaded (6 announces).
2012-10-30 21:15:06 [INFO] [AutoAnnouncer] Scheduled every 15 seconds!
2012-10-30 21:15:06 [INFO] [AutoAnnouncer] v1.7-03.23 is enabled!
2012-10-30 21:15:06 [INFO] [AutoAnnouncer] Developed by: [Sharkiller]
2012-10-30 21:15:06 [INFO] [Essentials] Enabling Essentials v2.9.4
2012-10-30 21:15:06 [INFO] Using locale cs_CS
2012-10-30 21:15:06 [INFO] Using locale cs_CS
2012-10-30 21:15:06 [INFO] [Vault][Economy] Essentials Economy hooked.
2012-10-30 21:15:06 [INFO] Essentials: Using PermissionsEx based permissions.
2012-10-30 21:15:06 [INFO] [Essentials] Payment method found (Vault - Economy: iConomy 6 version: 1.2.19-b248)
2012-10-30 21:15:06 [INFO] [Jobs] Enabling Jobs v2.8.5
2012-10-30 21:15:06 [INFO] [Jobs] Started database save task
2012-10-30 21:15:06 [INFO] [Jobs] [Jobs] Successfully linked with Vault.
2012-10-30 21:15:06 [INFO] [Jobs] Plugin has been enabled succesfully.
2012-10-30 21:15:06 [INFO] [Jobs] Login manager started
2012-10-30 21:15:06 [INFO] [Jobs] Database save task shutdown
2012-10-30 21:15:06 [INFO] [Jobs] Started database save task
2012-10-30 21:15:06 [INFO] [ServerSigns] Enabling ServerSigns v2.5.2
2012-10-30 21:15:06 [INFO] [ServerSigns] successfully hooked in into Vault
2012-10-30 21:15:06 [INFO] [ServerSigns] Version 2.5.2 is now enabled.
2012-10-30 21:15:06 [INFO] [EssentialsSpawn] Enabling EssentialsSpawn v2.9.4
2012-10-30 21:15:06 [INFO] [CreativeGates] Enabling CreativeGates v1.3.5
2012-10-30 21:15:06 [INFO] [CreativeGates v1.3.5] === ENABLE START ===
2012-10-30 21:15:06 [INFO] [CreativeGates v1.3.5] === ENABLE DONE (Took 94ms) ===
2012-10-30 21:15:06 [INFO] [Ultrabans] Enabling Ultrabans v2.0.1
2012-10-30 21:15:07 [INFO] [Ultrabans] No Updates found on dev.bukkit.org.
2012-10-30 21:15:07 [INFO] [Ultrabans] Loaded. 0 secs.
2012-10-30 21:15:07 [INFO] [ChestShop] Enabling ChestShop v3.46
2012-10-30 21:15:07 [INFO] [ChestShop] LWC version 4.3.0 (b736-git-1b1150b1) (August 08, 2012) loaded.
2012-10-30 21:15:07 [INFO] [ChestShop] Vault loaded - using iConomy 6
2012-10-30 21:15:07 [INFO] [EssentialsChat] Enabling EssentialsChat v2.9.4
2012-10-30 21:15:07 [INFO] [Residence] Enabling Residence v2.6.5.2
2012-10-30 21:15:07 [INFO] [Residence] Found Vault using permissions plugin:PermissionsEx
2012-10-30 21:15:07 [INFO] [Residence] Scanning for economy systems...
2012-10-30 21:15:07 [INFO] [Residence] Found Vault using economy system: iConomy 6
2012-10-30 21:15:07 [INFO] [Residence] Found WorldEdit
2012-10-30 21:15:07 [INFO] [Residence] Enabled! Version 2.6.5.2 by bekvon
2012-10-30 21:15:07 [INFO] [AntiCheat] Enabling AntiCheat v1.3.8-U4
2012-10-30 21:15:08 [INFO] [Lift] Enabling Lift v27
2012-10-30 21:15:08 [INFO] Lift v27 is now enabled!
2012-10-30 21:15:08 [INFO] Server permissions file permissions.yml is empty, ignoring it
2012-10-30 21:15:08 [INFO] Done (4.357s)! For help, type "help" or "?"
2012-10-30 21:15:08 [INFO] Starting GS4 status listener
2012-10-30 21:15:08 [INFO] Starting remote control listener
2012-10-30 21:15:08 [INFO] Query running on 93.91.240.159:37817
2012-10-30 21:15:08 [INFO] RCON running on 93.91.240.159:36817
2012-10-30 21:15:08 [INFO] rastik275 [/178.40.139.250:10834] lost connection
2012-10-30 21:15:08 [INFO] Gabcik [/217.119.127.55:59267] lost connection
2012-10-30 21:15:08 [INFO] /85.135.153.33:17740 lost connection
2012-10-30 21:15:09 [INFO] Gabcik[/217.119.127.55:59269] logged in with entity id 1084 at ([world] 120.14933896888115, 70.0, 151.92594970745574)
2012-10-30 21:15:10 [SEVERE] [Ultrabans] Couldn't execute MySQL statement:
java.sql.SQLException: Got error -1 from storage engine
   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
   at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
   at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
   at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
   at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
   at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
   at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
   at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
   at com.modcrafting.ultrabans.db.SQL.setAddress(SQL.java:145)
   at com.modcrafting.ultrabans.listeners.UltraBanPlayerListener.onPlayerJoin(UltraBanPlayerListener.java:98)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
   at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
   at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
   at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
   at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:162)
   at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:93)
   at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:132)
   at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:45)
   at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
   at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
   at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:569)
   at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215)
   at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:486)
   at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:419)
   at net.minecraft.server.ThreadServerApplication.run(SourceFile:818)

Re: Ultrabans s databází nefunguje.

Napsal: 26 lis 2012, 10:59
od dadkop
Musíš updatnuť UltraBans,

Re: Ultrabans s databází nefunguje.

Napsal: 26 lis 2012, 15:04
od nejento
Nemusí. Problém je v něčem jiném. Používal jsi předtím nějaký jiný banlist, který by jsi měl napojený na MySQL databázi, nebo tohle je první?
Pokud tohle je první, tak bych zkusil smazat databázi a nechat vytvořit novou. Pokud ti to žádnou nevytvořilo, tak sem dej config ALE ZAKRYJ HESLA!