Jump to content
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    COnfiguration Iconomy


    punisher62

    Recommended Posts

    Bonjour j aimerai savoir comment mettre iconomy sur une base Mysql

     

    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: 'root'
       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: '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

    Link to comment
    Share on other sites

    salut alors tu fait comme celle ci et tu remplace "USER" par ton identifiant mysql et "MDP" par le mot de passe, ainsi que la ou j'ai écris, notament les pour les liens

     

    [color=#000000][color=#0000BB]Database[/color][color=#007700]:
       [/color][color=#FF8000]# 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
       [/color][color=#0000BB]Type[/color][color=#007700]: [/color][color=#DD0000]'minidb'
    
       [/color][color=#FF8000]# 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
       [/color][color=#0000BB]MajorItem[/color][color=#007700]: [/color][color=#0000BB]266
       MinorItem[/color][color=#007700]: [/color][color=#0000BB]265
    
       [/color][color=#FF8000]# This controls the database name, by default it is iConomy
       [/color][color=#0000BB]Table[/color][color=#007700]: [/color][color=#DD0000]'Nom de la table sur ton MySql'
    
       [/color][color=#FF8000]# 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
       [/color][color=#0000BB]URL[/color][color=#007700]: [/color][color=#DD0000]'URL redirection mysql avec /nom de la table  à la fin'
    
       [/color][color=#FF8000]# Login details for binary databases
       [/color][color=#0000BB]Username[/color][color=#007700]: [/color][color=#DD0000]'[/color][/color]USER[color=#000000][color=#DD0000]'
       [/color][color=#0000BB]Password[/color][color=#007700]: [/color][color=#DD0000]'[/color][/color]MDP[color=#000000][color=#DD0000]'
    
       [/color][color=#FF8000]##############################################################
       # !!! 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.
       ##############################################################
       [/color][color=#0000BB]Conversion[/color][color=#007700]:
         [/color][color=#FF8000]# Set to True, After converting, change this back to false!
         [/color][color=#0000BB]Enabled[/color][color=#007700]: [/color][color=#0000BB]false
    
         [/color][color=#FF8000]# Database Type, H2DB or MySQL
         [/color][color=#0000BB]Type[/color][color=#007700]: [/color][color=#DD0000]'MySQL'
    
         [/color][color=#FF8000]# Database Table
         [/color][color=#0000BB]Table[/color][color=#007700]: [/color][color=#DD0000]'Nom table'
    
         [/color][color=#FF8000]# Database URL without table at the end.
         [/color][color=#0000BB]URL[/color][color=#007700]: [/color][color=#DD0000]'URL redirection MySQL'
    
         [/color][color=#FF8000]# Username / Password
         # H2DB does not use this. MySQL Only.
         [/color][color=#0000BB]Username[/color][color=#007700]: [/color][color=#DD0000]'USER'
         [/color][color=#0000BB]Password[/color][color=#007700]: [/color][color=#DD0000]'MDP'
    
         [/color][color=#FF8000]# Unused ATM.
         [/color][color=#0000BB]All[/color][color=#007700]: [/color][color=#0000BB]true  [/color][/color]

    Link to comment
    Share on other sites

    Je reviens sur ce que j'ai dit plus haut normalement la table doit ce créer d'elle même. Pour ce faire lorsque vous mettez l'url de la base de donné pensé à mettre le nom de la table derrière exemple:

     

    Database: Type: 'MySQL'

    MajorItem: 266

    MinorItem: 265

    Table: 'test'

    URL: 'mysql://sql-1.verygames.net:3306/test'

    Username: 'test'

    Password: 'mdp'

     

    Si c'est possible envoyer moi votre config par message privé en prenant soit de retirer le mot de passe.

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...