iConomy

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Uživatelský avatar
vasikxl
Příspěvky: 713
Registrován: 04 bře 2013, 20:57
Reputation: 0

iConomy

#1 Příspěvekod vasikxl » 04 dub 2013, 16:53

Server: Podpis (pokud server ještě nemáte, vepište zde "nemám")

Ahoj, potřeboval bych trošku poradit... Nejde mi iConomy připojit k MySQL, zde je config...
Spoiler: zobrazit

Kód: Vybrat vše

Amount:
      # The balance to be met where we stop giving interest.
      # 0.0 for no limit
      Cutoff: 0.0

      # Percentage of holdings to give / take (Negative to take) (Overrides Min/Max)
      Percent: 0.0

      # This is range based, to set a "flat" or "constant" rate, set each (Maximum and Minimum) to the same number.
      # If the two numbers are different, it will be a random amount in-between the two.
      Maximum: 1
      Minimum: 2

  Database:
    # Databases Supported:
    # Flatfile, FF, mini, minidb
    #  - These all equate to miniDB
    ##
    # item, items, inventory, inventoryDB
    #  - These all equate to InventoryDB, which uses inventory for storage
    ##
    # xp, exp, orb, xpdb, expdb, orbdb
    #  - These all equate to ExperienceDB, which relies on Experience for balance.
    ##
    # mysql, mysqldb
    #  - These will attempt to connect to MySQL
    ##
    # sqlite, sqlite2, sqlite3, sqlitedb
    #  - These will attempt to create & connect to SQLite
    ##
    # postgre, postgreSQL, postgreDB
    #  - These will attempt to connect to PostgreSQL
    Type: 'minidb'
   
    # These are for InventoryDB only.
    #
    # InventoryDB is essentially Physical Money.
    #   It isn't logged in a database, its based on the users inventory
    #   and the two items selected below.
    #
    # MajorItem is the item or block ID of the major currency
    # MinorItem is the item or block ID of the minor currency
    # e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
    MajorItem: 266
    MinorItem: 265

    # This controls the database name, by default it is iConomy
    Table: 'iConomy'

    # URL is for SQL Databases Only
    ##
    # Path to iConomy folder is easy, it's the COMPLETE path.
    # (Mine) G:\MineCraft\plugins\iConomy\
    # Won't be the same as yours, but it usually looks like that.
    ##
    # [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
    # [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
    ##
    # Binary Databases use ip:port style connections.
    # ip
    #  - is the connection identifier (internet protocol)
    #  - for ipv6 usually encased in brackets [::1]
    # port
    #  - the port that the database is listening on
    #  - defaults: 3306 for mysql, postgre is either 5740 or 5432
    ##
    # [MySQL Default] mysql://localhost:3306/iConomy
    # [Postgre Default] postgresql://localhost:5740/iConomy
    URL: 'mysql://localhost:3306/iConomy'

    # Login details for binary databases
    Username: '108881_mysql_db'
    Password: '**********'
   
    ##############################################################
    # !!! Conversion is not your database settings !!!
    ##############################################################
    # Conversion allows you to convert your old 5.x to the new 6.x
    # All is currently unused.
    ##############################################################
    # URL is for MySQL only, H2DB doesn't use it.
    ##############################################################
    Conversion:
      # Set to True, After converting, change this back to false!
      Enabled: false

      # Database Type, H2DB or MySQL
      Type: 'MySQL'

      # Database Table
      Table: 'iConomy'

      # Database URL without table at the end.
      URL: 'mysql://localhost:3306'

      # Username / Password
      # H2DB does not use this. MySQL Only.
      Username: '108881_mysql_db'
      Password: '**********'
     
      # Unused ATM.
      All: true

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: iConomy

#2 Příspěvekod Smexhy » 04 dub 2013, 17:02

Urob si to takto:
Spoiler: zobrazit

Kód: Vybrat vše

  Database:
    # Databases Supported:
    # Flatfile, FF, mini, minidb
    #  - These all equate to miniDB
    ##
    # item, items, inventory, inventoryDB
    #  - These all equate to InventoryDB, which uses inventory for storage
    ##
    # xp, exp, orb, xpdb, expdb, orbdb
    #  - These all equate to ExperienceDB, which relies on Experience for balance.
    ##
    # mysql, mysqldb
    #  - These will attempt to connect to MySQL
    ##
    # sqlite, sqlite2, sqlite3, sqlitedb
    #  - These will attempt to create & connect to SQLite
    ##
    # postgre, postgreSQL, postgreDB
    #  - These will attempt to connect to PostgreSQL
    Type: 'mysql'
   
    # These are for InventoryDB only.
    #
    # InventoryDB is essentially Physical Money.
    #   It isn't logged in a database, its based on the users inventory
    #   and the two items selected below.
    #
    # MajorItem is the item or block ID of the major currency
    # MinorItem is the item or block ID of the minor currency
    # e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
    MajorItem: 388
    MinorItem: 266

    # This controls the database name, by default it is iConomy
    Table: 'iConomy'

    # URL is for SQL Databases Only
    ##
    # Path to iConomy folder is easy, it's the COMPLETE path.
    # (Mine) G:\MineCraft\plugins\iConomy\
    # Won't be the same as yours, but it usually looks like that.
    ##
    # [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
    # [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
    ##
    # Binary Databases use ip:port style connections.
    # ip
    #  - is the connection identifier (internet protocol)
    #  - for ipv6 usually encased in brackets [::1]
    # port
    #  - the port that the database is listening on
    #  - defaults: 3306 for mysql, postgre is either 5740 or 5432
    ##
    # [MySQL Default] mysql://localhost:3306/iConomy
    # [Postgre Default] postgresql://localhost:5740/iConomy
    URL: 'mysql://localhost:3306/TVOJADATABAZA'

    # Login details for binary databases
    Username: 'TVOJADATABAZA'
    Password: 'TVOJEHESLO'

    ##############################################################
    # !!! Conversion is not your database settings !!!
    ##############################################################
    # Conversion allows you to convert your old 5.x to the new 6.x
    # All is currently unused.
    ##############################################################
    # URL is for MySQL only, H2DB doesn't use it.
    ##############################################################
    Conversion:
      # Set to True, After converting, change this back to false!
      Enabled: false

      # Database Type, H2DB or MySQL
      Type: 'H2DB'

      # Database Table
      Table: 'iConomy'

      # Database URL without table at the end.
      URL: 'mysql://localhost:3306'

      # Username / Password
      # H2DB does not use this. MySQL Only.
      Username: 'root'
      Password: ''

      # Unused ATM.
      All: true


To v tej dolnej časti sa ťa vôbec netýka...treba len čítať :) -
##############################################################
# !!! Conversion is not your database settings !!!
##############################################################
# Conversion allows you to convert your old 5.x to the new 6.x
# All is currently unused.
##############################################################
# URL is for MySQL only, H2DB doesn't use it.
##############################################################

fantomas2
Příspěvky: 1800
Registrován: 19 zář 2012, 17:54
Reputation: 0
Bydliště: Kanál
Kontaktovat uživatele:

Re: iConomy

#3 Příspěvekod fantomas2 » 04 dub 2013, 21:27

stačí iba to heslo a databazu len tie 2 veci a jeto?
Tvorba web stránok zdarma pro velké herné portály, ozvi se SZ.

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: iConomy

#4 Příspěvekod Smexhy » 04 dub 2013, 21:28

Presne tak, nič iné sa od teba nevyžaduje ani nie je za potreba...

fantomas2
Příspěvky: 1800
Registrován: 19 zář 2012, 17:54
Reputation: 0
Bydliště: Kanál
Kontaktovat uživatele:

Re: iConomy

#5 Příspěvekod fantomas2 » 04 dub 2013, 21:31

nikdy som si nekontroloval ako si to mám skontrolovať či je to správne nastavené... ako si prosím skontrolujem či mám spravne napojený plugin na MySQL ? na tej stránke som sa prihlasoval ale mám v tom brodel :oops: :oops: :oops: :roll: :roll: :roll:
Tvorba web stránok zdarma pro velké herné portály, ozvi se SZ.

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: iConomy

#6 Příspěvekod Smexhy » 04 dub 2013, 21:34

Stačí sa prihlásiť do databáze MySQL a skontrolovať to v tabuľkách...alebo skús príkaz /money top , ak funguje, máš databázu napojenú správne...

fantomas2
Příspěvky: 1800
Registrován: 19 zář 2012, 17:54
Reputation: 0
Bydliště: Kanál
Kontaktovat uživatele:

Re: iConomy

#7 Příspěvekod fantomas2 » 04 dub 2013, 21:35

ok ale tu stránku kde sa tam prihlasujem ? :D
Tvorba web stránok zdarma pro velké herné portály, ozvi se SZ.

fantomas2
Příspěvky: 1800
Registrován: 19 zář 2012, 17:54
Reputation: 0
Bydliště: Kanál
Kontaktovat uživatele:

Re: iConomy

#8 Příspěvekod fantomas2 » 04 dub 2013, 21:39

ok som už tam a mám tam take ikony: Databázy
SQL
Stav
Premenné
Znakové sady
Systémy
Procesy
Exportovať
Import
Synchronizovať
a kde to skontrolujem?
Tvorba web stránok zdarma pro velké herné portály, ozvi se SZ.

Uživatelský avatar
Qefik
Příspěvky: 5714
Registrován: 26 pro 2009, 11:26
Reputation: 0
Kontaktovat uživatele:

Re: iConomy

#9 Příspěvekod Qefik » 04 dub 2013, 22:42

Identifikujte oba server dle pravidel... Příště to bez varování zamykám.
Rozdávat rady je zbytečné. Moudrý si poradí sám a hlupák stejně neposlechne.
Mark Twain


Zpět na „Minecraft, Tekkit“

Kdo je online

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