Advertisement
Guest User

napojení na mysql iconomy

a guest
Mar 4th, 2016
1,144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.49 KB | None | 0 0
  1. # iConomy 6.0.8b
  2. # @author     moloco <molocodev@gmail.com>
  3. # @license    GPLv2
  4. # @copyright  Copyright moloco
  5. ##
  6. # Setup Notes
  7. #   - Seconds
  8. #         Basic Table:
  9. #           1 minute = 60 seconds
  10. #           1 hour = 1 minute * 60 = 3600 seconds
  11. #           1 day = 1 hour * 24 = 86400 seconds
  12. #           1 week = 1 day * 7 = 604800 seconds
  13. #   - Database
  14. #           Do not use remote databases from free sites, please use either a
  15. #           remote database from a personal hosted VPS or DEDI or a local
  16. #           database. This will prevent any 'timeout' or 'invalid settings'
  17. #           or 'cannot connect to database' issues. Thank you :)!
  18. ##
  19.  
  20. System:
  21.   Permissions:
  22.     Use:
  23.      # Should a user have the 'iConomy.holdings' to use /money
  24.       # By default this is false, so that people stop complaining that
  25.       # iConomy doesn't work. Yes, people actually report that.
  26.       # If you are one of those people, leave this false.
  27.       Holdings: false
  28.  
  29.   Default:
  30.     Currency:
  31.      # Major is the first segment [Major].Minor
  32.  
  33.       # Major ([Major].Minor) 1.00 Dollar (With Seperate 1 Dollar)
  34.       Major: [ 'Dollar', 'Dollars' ]
  35.  
  36.       # Minor (Major.[Minor]) 0.23 Coins  (With Seperate 0 Dollars, 23 Coins)
  37.       Minor: [ 'Coin', 'Coins' ]
  38.  
  39.     Account:
  40.      # Default account balance when created
  41.       Holdings: 100.0
  42.  
  43.   # Controls how money is formatted through methods
  44.   Formatting:
  45.    # Minor allows you to use the Minor amounts for amounts <1
  46.     # Example (true) 0.23 Coins and 1.23 Dollars (false) 0.23 Dollars and 1.23 Dollars
  47.     Minor: false
  48.  
  49.     # Seperate allows your money to be shown in an alternative way,
  50.     # instead of 1.32 it will show as 1 Dollar 23 Coins
  51.     # !!! NOTICE: This only works if Minor is set to true !!!
  52.     Seperate: false                               # Example (true) 1 Dollar, 23 Coins (false) 1.23 Dollars (Only if Minor is true)
  53.  
  54.     # Single shows your money in another alternative way.
  55.     # Instead of 1.23 Dollars you will see: 1 Dollar.
  56.     # If your money is 0.23 you will see 0 Dollars if Minor is false, 23 Coins if Minor is true.
  57.     # !!! Notice: This overrides seperate !!!
  58.     Single: false
  59.  
  60.   # Logs all monetary transactions passed through iConomy
  61.   Logging:
  62.     Enabled: false
  63.  
  64.   # Purges Default Balances at Loading
  65.   # Good way to keep unused accounts or default accounts wiped out and lower database usage.
  66.   Purging:
  67.     Enabled: true
  68.  
  69.   # Controls amount of money gained at a set interval.
  70.   Interest:
  71.     Enabled: false
  72.  
  73.     # Only give interest to players who are currently online?
  74.     Online: true
  75.  
  76.     Announce:
  77.      # Send a message when the player gains interest?
  78.       Enabled: false
  79.  
  80.     Interval:
  81.      #  Interval is done in seconds, here is a easy reference table for commonly set intervals:
  82.       #   1 minute = 60 seconds
  83.       #   1 hour = 1 minute * 60 = 3600 seconds
  84.       #   1 day = 1 hour * 24 = 86400 seconds
  85.       #   1 week = 1 day * 7 = 604800 seconds
  86.       Seconds: 60
  87.  
  88.     Amount:
  89.      # The balance to be met where we stop giving interest.
  90.       # 0.0 for no limit
  91.       Cutoff: 0.0
  92.  
  93.       # Percentage of holdings to give / take (Negative to take) (Overrides Min/Max)
  94.       Percent: 0.0
  95.  
  96.       # This is range based, to set a "flat" or "constant" rate, set each (Maximum and Minimum) to the same number.
  97.       # If the two numbers are different, it will be a random amount in-between the two.
  98.       Maximum: 1
  99.       Minimum: 2
  100.  
  101.   Database:
  102.    # Databases Supported:
  103.     # Flatfile, FF, mini, minidb
  104.     #  - These all equate to miniDB
  105.     ##
  106.     # item, items, inventory, inventoryDB
  107.     #  - These all equate to InventoryDB, which uses inventory for storage
  108.     ##
  109.     # xp, exp, orb, xpdb, expdb, orbdb
  110.     #  - These all equate to ExperienceDB, which relies on Experience for balance.
  111.     ##
  112.     # mysql, mysqldb
  113.     #  - These will attempt to connect to MySQL
  114.     ##
  115.     # sqlite, sqlite2, sqlite3, sqlitedb
  116.     #  - These will attempt to create & connect to SQLite
  117.     ##
  118.     # postgre, postgreSQL, postgreDB
  119.     #  - These will attempt to connect to PostgreSQL
  120.     Type: 'minidb'
  121.    
  122.     # These are for InventoryDB only.
  123.     #
  124.     # InventoryDB is essentially Physical Money.
  125.     #   It isn't logged in a database, its based on the users inventory
  126.     #   and the two items selected below.
  127.     #
  128.     # MajorItem is the item or block ID of the major currency
  129.     # MinorItem is the item or block ID of the minor currency
  130.     # e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
  131.     MajorItem: 266
  132.     MinorItem: 265
  133.  
  134.     # This controls the database name, by default it is iConomy
  135.     Table: 'iConomy'
  136.  
  137.     # URL is for SQL Databases Only
  138.     ##
  139.     # Path to iConomy folder is easy, it's the COMPLETE path.
  140.     # (Mine) G:\MineCraft\plugins\iConomy\
  141.     # Won't be the same as yours, but it usually looks like that.
  142.     ##
  143.     # [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
  144.     # [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
  145.     ##
  146.     # Binary Databases use ip:port style connections.
  147.     # ip
  148.     #  - is the connection identifier (internet protocol)
  149.     #  - for ipv6 usually encased in brackets [::1]
  150.     # port
  151.     #  - the port that the database is listening on
  152.     #  - defaults: 3306 for mysql, postgre is either 5740 or 5432
  153.     ##
  154.     # [MySQL Default] mysql://localhost:3306/iConomy
  155.     # [Postgre Default] postgresql://localhost:5740/iConomy
  156.     URL: 'mysql://casa23.fakaheda.eu:3306/212998_mysql_db'
  157.  
  158.     # Login details for binary databases
  159.     Username: '212998_mysql_db'
  160.     Password: '**********'
  161.  
  162.     ##############################################################
  163.     # !!! Conversion is not your database settings !!!
  164.     ##############################################################
  165.     # Conversion allows you to convert your old 5.x to the new 6.x
  166.     # All is currently unused.
  167.     ##############################################################
  168.     # URL is for MySQL only, H2DB doesn't use it.
  169.     ##############################################################
  170.     Conversion:
  171.      # Set to True, After converting, change this back to false!
  172.       Enabled: true
  173.  
  174.       # Database Type, H2DB or MySQL
  175.       Type: 'MySQL'
  176.  
  177.       # Database Table
  178.       Table: 'iConomy'
  179.  
  180.       # Database URL without table at the end.
  181.       URL: ''
  182.  
  183.       # Username / Password
  184.       # H2DB does not use this. MySQL Only.
  185.       Username: ''
  186.       Password: ''
  187.  
  188.       # Unused ATM.
  189.       All: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement