BungeeCord - Iconomy

Dieses Thema im Forum "Technischer Support" wurde erstellt von Maart, 22. Juni 2014.

  1. Maart
    Offline

    Maart

    Registriert seit:
    11. Februar 2014
    Beiträge:
    77
    Minecraft:
    DerMaart99
    Moin zusammen!

    Gibt es eine Möglichkeit, auf verschiedenen Servern das selbe Iconomy Guthaben zu haben?

    Ich freue mich auf alle Antworten!

    Lg Maart :)
     
    #1
  2. MrPyro13
    Offline

    MrPyro13

    Registriert seit:
    29. April 2013
    Beiträge:
    829
    Minecraft:
    MrPyro13
    Hallo,

    dazu brauchst du eine MySQL Datenbank.
    1. Installiere auf jedem Server iConomy
    2. Geh in die iConomy-Config von den einzelnen Servern
    3. Konfiguriere diesen Eintrag:
    Code (Text):
    1.  
    2.   Database:
    3.     # Databases Supported:
    4.     # Flatfile, FF, mini, minidb
    5.     #  - These all equate to miniDB
    6.     ##
    7.     # item, items, inventory, inventoryDB
    8.     #  - These all equate to InventoryDB, which uses inventory for storage
    9.     ##
    10.     # xp, exp, orb, xpdb, expdb, orbdb
    11.     #  - These all equate to ExperienceDB, which relies on Experience for balance.
    12.     ##
    13.     # mysql, mysqldb
    14.     #  - These will attempt to connect to MySQL
    15.     ##
    16.     # sqlite, sqlite2, sqlite3, sqlitedb
    17.     #  - These will attempt to create & connect to SQLite
    18.     ##
    19.     # postgre, postgreSQL, postgreDB
    20.     #  - These will attempt to connect to PostgreSQL
    21.     Type: 'minidb'
    22.    
    23.     # These are for InventoryDB only.
    24.     #
    25.     # InventoryDB is essentially Physical Money.
    26.     #   It isn't logged in a database, its based on the users inventory
    27.     #   and the two items selected below.
    28.     #
    29.     # MajorItem is the item or block ID of the major currency
    30.     # MinorItem is the item or block ID of the minor currency
    31.     # e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
    32.     MajorItem: 266
    33.     MinorItem: 265
    34.  
    35.     # This controls the database name, by default it is iConomy
    36.     Table: 'iConomy'
    37.  
    38.     # URL is for SQL Databases Only
    39.     ##
    40.     # Path to iConomy folder is easy, it's the COMPLETE path.
    41.     # (Mine) G:\MineCraft\plugins\iConomy\
    42.     # Won't be the same as yours, but it usually looks like that.
    43.     ##
    44.     # [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
    45.     # [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
    46.     ##
    47.     # Binary Databases use ip:port style connections.
    48.     # ip
    49.     #  - is the connection identifier (internet protocol)
    50.     #  - for ipv6 usually encased in brackets [::1]
    51.     # port
    52.     #  - the port that the database is listening on
    53.     #  - defaults: 3306 for mysql, postgre is either 5740 or 5432
    54.     ##
    55.     # [MySQL Default] mysql://localhost:3306/iConomy
    56.     # [Postgre Default] postgresql://localhost:5740/iConomy
    57.     URL: 'mysql://localhost:3306/iConomy'
    58.  
    59.     # Login details for binary databases
    60.     Username: 'root'
    61.     Password: ''
    62.  
    4. Restarte alle Server
     
    #2
  3. Maart
    Offline

    Maart

    Registriert seit:
    11. Februar 2014
    Beiträge:
    77
    Minecraft:
    DerMaart99
    Vielen Dank!
     
    #3