UltraBans problém

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Baterie
Příspěvky: 22
Registrován: 24 zář 2012, 16:21
Reputation: 0

UltraBans problém

#1 Příspěvekod Baterie » 21 říj 2012, 13:51

Server: 93.91.250.122:27297

Ahoj všichni,
mám jeden problém s pluginem Ultrabans.
Mám verzi Bukkitu 1.3.2 R2 a nahraný plugin Ultrabans.
Bany se mi nechtějí zapisovat do databáze a na serveru se mi pořád objevují divné příkazy v chatu typu:

Player: xxx Ping: 0ms

Zde je část logu,kde se vypsali nejaké chyby Ultrabans:

Kód: Vybrat vše

2012-10-21 13:41:07 [INFO] [iZone v7.5.0] NEW VERSION AVAILABLE: v7.6.0!
2012-10-21 13:41:07 [INFO] [Ultrabans] Enabling Ultrabans v2.0.1
2012-10-21 13:41:07 [SEVERE] Cannot load plugins/Ultrabans/config.yml
org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
 in "<string>", line 6, column 3:
      Database: 'jdbc:mysql://mysql.fa ...
      ^
expected <block end>, but found Scalar
 in "<string>", line 7, column 10:
      User: 'voxelcraft'
             ^

   at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
   at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
   at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
   at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
   at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117)
   at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111)
   at com.modcrafting.ultrabans.Ultrabans.onEnable(Ultrabans.java:109)
   at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
   at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365)
   at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
   at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
   at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
   at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
   at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
   at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
   at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
   at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
   at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: while parsing a block mapping
 in "<string>", line 6, column 3:
      Database: 'jdbc:mysql://mysql.fa ...
      ^
expected <block end>, but found Scalar
 in "<string>", line 7, column 10:
      User: 'voxelcraft'
             ^

   at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
   at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
   at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
   at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
   at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
   at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
   at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
   at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
   at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
   at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
   at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
   at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
   at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
   ... 17 more
2012-10-21 13:41:08 [INFO] [Ultrabans] No Updates found on dev.bukkit.org.
2012-10-21 13:41:08 [INFO] [Ultrabans] Loaded. 0 secs.
2012-10-21 13:41:08 [INFO] [CommandBook] Ena


zde je config.yml

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://mysql.fakaheda.eu:3306/hosted_voxelcraft''
  User: 'voxelcraft'
  Password: '*****'
  Table: 'banlist'
  IPTable: 'banlistip'
#SQLite Information#
SQLite:
  Filename: 'banlist'
#delete dat on ban#
CleanOnBan: true
#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: '{Block}'
    #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: 'test testing tests'
    #Wildcards %scramble% will scramble the word#
    #If no wildcards are present the message entered will replace the word#
    #leave blank to erase#
    Blocking: '{Block}'
    #kick,jail,warn,ban,ipban, leave blank for no action#
    Result: warn
    Silent: false
    Reason: 'Language'
  #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


Prosím pomozte! už nevím co s tím No Updates found on dev

Uživatelský avatar
zikl
Příspěvky: 1123
Věk: 31
Registrován: 28 led 2012, 15:44
Reputation: 3
Kontaktovat uživatele:

Re: UltraBans problém

#2 Příspěvekod zikl » 21 říj 2012, 14:26

Na ty divný spravi si najdi v confingu toto

Kód: Vybrat vše

#Check for duplicates on Login#
  DupeCheck:
    Enable: true
#Check ping on Login#
  PingCheck:
    Enable: true
    MaxPing: 500

a přepis to na toto

Kód: Vybrat vše

#Check for duplicates on Login#
  DupeCheck:
    Enable: false
#Check ping on Login#
  PingCheck:
    Enable: false
    MaxPing: 500

a ze ti to nezapisuje je to ze misto

Kód: Vybrat vše

mysql-database: 'jdbc:mysql://mysql.fakaheda.eu:3306/gs_*****_1'

tam má byt

Kód: Vybrat vše

mysql-database: 'jdbc:mysql://localhost:3306/gs_*****_1'
Naposledy upravil(a) zikl dne 21 říj 2012, 14:29, celkem upraveno 1 x.
ObrázekObrázek
Obrázek
Moje sestava:Seznam na CZC.CZ

Uživatelský avatar
nejento
Příspěvky: 9815
Registrován: 28 lis 2011, 14:09
Reputation: 55
Kontaktovat uživatele:

Re: UltraBans problém

#3 Příspěvekod nejento » 21 říj 2012, 14:29

Příště nezapomeň zakrývat hesla!

A doporučuji ti změň si heslo do MySQL, protože ho všichni viděli.
Obrázek

Obrázek Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/

Baterie
Příspěvky: 22
Registrován: 24 zář 2012, 16:21
Reputation: 0

Re: UltraBans problém

#4 Příspěvekod Baterie » 21 říj 2012, 14:52

jezis nojo xD
jsem matlo.heslo si zmenim xD
dik za pripominku..
hele takze ja teda nemuzu nahravat do jine mysql nez do localhostu?

Baterie
Příspěvky: 22
Registrován: 24 zář 2012, 16:21
Reputation: 0

Re: UltraBans problém

#5 Příspěvekod Baterie » 21 říj 2012, 17:05

Tak to stále nefunguje :(
i když jsem změnil IP na "localhost"
stále to nefunguje

jandamilanek
Příspěvky: 386
Registrován: 11 kvě 2012, 16:58
Reputation: 1

Re: UltraBans problém

#6 Příspěvekod jandamilanek » 21 říj 2012, 17:08

Nakecali ti kraviny. Muzes se v poho pripojovat na mysql.fakaheda.eu. Jediny problem je tenhle:

Kód: Vybrat vše

 Database: 'jdbc:mysql://mysql.fakaheda.eu:3306/hosted_voxelcraft''

Na konci mas dva apostrofy. Jeden smaz a bude to ok
CreativePortal.eu - Čarovný Minecraft s přídavkem technických modů se spoustou dobrodružství. Připojit se nyní!
SKINY A PLÁŠTĚ I PRO TY, CO NEMAJÍ ORIGINÁLNÍ MINECRAFT!

Pokud jsem vám pomohl, odměňte mě prosím Karmou. Díky.

Baterie
Příspěvky: 22
Registrován: 24 zář 2012, 16:21
Reputation: 0

Re: UltraBans problém

#7 Příspěvekod Baterie » 21 říj 2012, 17:12

Zkusim:D
sem si rikal ze by se to mohlo pripojovat jen do localu

Baterie
Příspěvky: 22
Registrován: 24 zář 2012, 16:21
Reputation: 0

Re: UltraBans problém

#8 Příspěvekod Baterie » 21 říj 2012, 17:15

Stále nefunguje :-(

Uživatelský avatar
Sejsel
Příspěvky: 4131
Registrován: 19 čer 2011, 09:43
Reputation: 0
Bydliště: /home/sejsel/
Kontaktovat uživatele:

Re: UltraBans problém

#9 Příspěvekod Sejsel » 21 říj 2012, 19:32

S tou databází záleží na tom, kde jí máš. Už asi před rokem se přecházelo na lokální databáze, mělo by tam být localhost místo mysql.fakaheda.eu.
01101110011101010110001001110111

Baterie
Příspěvky: 22
Registrován: 24 zář 2012, 16:21
Reputation: 0

Re: UltraBans problém

#10 Příspěvekod Baterie » 25 říj 2012, 10:39

Prosím pomozte,pořád mi to nefunguje,stále i když jsem vyzkoušel vše co jste poradili


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 20 hostů