Guest User

Untitled

a guest
May 21st, 2018
848
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.17 KB | None | 0 0
  1. # iConomy 6.0.8b
  2. # @author     Nijikokun <nijikokun@gmail.com>
  3. # @license    GPLv2
  4. # @copyright  Copyright AniGaiku LLC (C) 2010-2011
  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: [ 'Cow Chip', 'Cow Chips' ]
  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: 1.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.   # Controls amount of money gained at a set interval.
  65.   Interest:
  66.     Enabled: true
  67.  
  68.     # Only give interest to players who are currently online?
  69.     Online: true
  70.  
  71.     Announce:
  72.      # Send a message when the player gains interest?
  73.       Enabled: True
  74.  
  75.     Interval:
  76.      #  Interval is done in seconds, here is a easy reference table for commonly set intervals:
  77.       #   1 minute = 60 seconds
  78.       #   1 hour = 1 minute * 60 = 3600 seconds
  79.       #   1 day = 1 hour * 24 = 86400 seconds
  80.       #   1 week = 1 day * 7 = 604800 seconds
  81.       Seconds: 1800
  82.  
  83.     Amount:
  84.      # The balance to be met where we stop giving interest.
  85.       # 0.0 for no limit
  86.       Cutoff: 0.0
  87.  
  88.       # Percentage of holdings to give / take (Negative to take) (Overrides Min/Max)
  89.       Percent: 0.0
  90.  
  91.       # This is range based, to set a "flat" or "constant" rate, set each (Maximum and Minimum) to the same number.
  92.       # If the two numbers are different, it will be a random amount in-between the two.
  93.       Maximum: 10
  94.       Minimum: 10
  95.  
  96.   Database:
  97.    # Databases Supported:
  98.     # Flatfile, FF, mini, minidb
  99.     #  - These all equate to miniDB
  100.     ##
  101.     # item, items, inventory, inventoryDB
  102.     #  - These all equate to InventoryDB, which uses inventory for storage
  103.     ##
  104.     # xp, exp, orb, xpdb, expdb, orbdb
  105.     #  - These all equate to ExperienceDB, which relies on Experience for balance.
  106.     ##
  107.     # mysql, mysqldb
  108.     #  - These will attempt to connect to MySQL
  109.     ##
  110.     # sqlite, sqlite2, sqlite3, sqlitedb
  111.     #  - These will attempt to create & connect to SQLite
  112.     ##
  113.     # postgre, postgreSQL, postgreDB
  114.     #  - These will attempt to connect to PostgreSQL
  115.     Type: 'minidb'
  116.    
  117.     # These are for InventoryDB only.
  118.     # MajorItem is the item or block ID of the major currency
  119.     # MinorItem is the item or block ID of the minor currency
  120.     # e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
  121.     MajorItem: 266
  122.     MinorItem: 265
  123.  
  124.     # This controls the database name, by default it is iConomy
  125.     Table: 'iConomy'
  126.  
  127.     # URL is for SQL Databases Only
  128.     ##
  129.     # Path to iConomy folder is easy, it's the COMPLETE path.
  130.     # (Mine) G:\MineCraft\plugins\iConomy\
  131.     # Won't be the same as yours, but it usually looks like that.
  132.     ##
  133.     # [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
  134.     # [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
  135.     ##
  136.     # Binary Databases use ip:port style connections.
  137.     # ip
  138.     #  - is the connection identifier (internet protocol)
  139.     #  - for ipv6 usually encased in brackets [::1]
  140.     # port
  141.     #  - the port that the database is listening on
  142.     #  - defaults: 3306 for mysql, postgre is either 5740 or 5432
  143.     ##
  144.     # [MySQL Default] mysql://localhost:3306/iConomy
  145.     # [Postgre Default] postgresql://localhost:5740/iConomy
  146.     URL: 'mysql://localhost:3306/iConomy'
  147.  
  148.     # Login details for binary databases
  149.     Username: 'root'
  150.     Password: ''
  151.  
  152.     ##############################################################
  153.     # !!! Conversion is not your database settings !!!
  154.     ##############################################################
  155.     # Conversion allows you to convert your old 5.x to the new 6.x
  156.     # All is currently unused.
  157.     ##############################################################
  158.     # URL is for MySQL only, H2DB doesn't use it.
  159.     ##############################################################
  160.     Conversion:
  161.      # Set to True, After converting, change this back to false!
  162.       Enabled: false
  163.  
  164.       # Database Type, H2DB or MySQL
  165.       Type: 'H2DB'
  166.  
  167.       # Database Table
  168.       Table: 'iConomy'
  169.  
  170.       # Database URL without table at the end.
  171.       URL: 'mysql://localhost:3306'
  172.  
  173.       # Username / Password
  174.       # H2DB does not use this. MySQL Only.
  175.       Username: 'root'
  176.       Password: ''
  177.  
  178.       # Unused ATM.
  179.       All: true
Add Comment
Please, Sign In to add comment