Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.51 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: [ 'Silver', 'Silver' ]
  35.  
  36.       # Minor (Major.[Minor]) 0.23 Coins  (With Seperate 0 Dollars, 23 Coins)
  37.       Minor: [ 'Copper', 'Copper' ]
  38.  
  39.     Account:
  40.      # Default account balance when created
  41.       Holdings: 30.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: true
  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: true                              
  53. # Example (true) 1 Dollar, 23 Coins (false) 1.23 Dollars (Only if Minor is true)
  54.  
  55.     # Single shows your money in another alternative way.
  56.     # Instead of 1.23 Dollars you will see: 1 Dollar.
  57.     # If your money is 0.23 you will see 0 Dollars if Minor is false, 23 Coins if Minor is true.
  58.     # !!! Notice: This overrides seperate !!!
  59.     Single: false
  60.  
  61.   # Logs all monetary transactions passed through iConomy
  62.   Logging:
  63.     Enabled: false
  64.  
  65.   # Purges Default Balances at Loading
  66.   # Good way to keep unused accounts or default accounts wiped out and lower database usage.
  67.   Purging:
  68.     Enabled: true
  69.  
  70.   # Controls amount of money gained at a set interval.
  71.   Interest:
  72.     Enabled: false
  73.  
  74.     # Only give interest to players who are currently online?
  75.     Online: true
  76.  
  77.     Announce:
  78.      # Send a message when the player gains interest?
  79.       Enabled: true
  80.  
  81.     Interval:
  82.      #  Interval is done in seconds, here is a easy reference table for commonly set intervals:
  83.       #   1 minute = 60 seconds
  84.       #   1 hour = 1 minute * 60 = 3600 seconds
  85.       #   1 day = 1 hour * 24 = 86400 seconds
  86.       #   1 week = 1 day * 7 = 604800 seconds
  87.       Seconds: 60
  88.  
  89.     Amount:
  90.      # The balance to be met where we stop giving interest.
  91.       # 0.0 for no limit
  92.       Cutoff: 10000.0
  93.  
  94.       # Percentage of holdings to give / take (Negative to take) (Overrides Min/Max)
  95.       Percent: 2.0
  96.  
  97.       # This is range based, to set a "flat" or "constant" rate, set each (Maximum and Minimum) to the same number.
  98.       # If the two numbers are different, it will be a random amount in-between the two.
  99.       Maximum: 1
  100.       Minimum: 2
  101.  
  102.   Database:
  103.    # Databases Supported:
  104.     # Flatfile, FF, mini, minidb
  105.     #  - These all equate to miniDB
  106.     ##
  107.     # item, items, inventory, inventoryDB
  108.     #  - These all equate to InventoryDB, which uses inventory for storage
  109.     ##
  110.     # xp, exp, orb, xpdb, expdb, orbdb
  111.     #  - These all equate to ExperienceDB, which relies on Experience for balance.
  112.     ##
  113.     # mysql, mysqldb
  114.     #  - These will attempt to connect to MySQL
  115.     ##
  116.     # sqlite, sqlite2, sqlite3, sqlitedb
  117.     #  - These will attempt to create & connect to SQLite
  118.     ##
  119.     # postgre, postgreSQL, postgreDB
  120.     #  - These will attempt to connect to PostgreSQL
  121.     Type: 'minidb'
  122.    
  123.     # These are for InventoryDB only.
  124.     #
  125.     # InventoryDB is essentially Physical Money.
  126.     #   It isn't logged in a database, its based on the users inventory
  127.     #   and the two items selected below.
  128.     #
  129.     # MajorItem is the item or block ID of the major currency
  130.     # MinorItem is the item or block ID of the minor currency
  131.     # e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
  132.     MajorItem: 266
  133.     MinorItem: 265
  134.  
  135.     # This controls the database name, by default it is iConomy
  136.     Table: 'iConomy'
  137.  
  138.     # URL is for SQL Databases Only
  139.     ##
  140.     # Path to iConomy folder is easy, it's the COMPLETE path.
  141.     # (Mine) G:\MineCraft\plugins\iConomy\
  142.     # Won't be the same as yours, but it usually looks like that.
  143.     ##
  144.     # [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
  145.     # [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
  146.     ##
  147.     # Binary Databases use ip:port style connections.
  148.     # ip
  149.     #  - is the connection identifier (internet protocol)
  150.     #  - for ipv6 usually encased in brackets [::1]
  151.     # port
  152.     #  - the port that the database is listening on
  153.     #  - defaults: 3306 for mysql, postgre is either 5740 or 5432
  154.     ##
  155.     # [MySQL Default] mysql://localhost:3306/iConomy
  156.     # [Postgre Default] postgresql://localhost:5740/iConomy
  157.     URL: 'mysql://localhost:3306/iConomy'
  158.  
  159.     # Login details for binary databases
  160.     Username: 'root'
  161.     Password: ''
  162.  
  163.     ##############################################################
  164.     # !!! Conversion is not your database settings !!!
  165.     ##############################################################
  166.     # Conversion allows you to convert your old 5.x to the new 6.x
  167.     # All is currently unused.
  168.     ##############################################################
  169.     # URL is for MySQL only, H2DB doesn't use it.
  170.     ##############################################################
  171.     Conversion:
  172.      # Set to True, After converting, change this back to false!
  173.       Enabled: false
  174.  
  175.       # Database Type, H2DB or MySQL
  176.       Type: 'H2DB'
  177.  
  178.       # Database Table
  179.       Table: 'iConomy'
  180.  
  181.       # Database URL without table at the end.
  182.       URL: 'mysql://localhost:3306'
  183.  
  184.       # Username / Password
  185.       # H2DB does not use this. MySQL Only.
  186.       Username: 'root'
  187.       Password: ''
  188.  
  189.       # Unused ATM.
  190.       All: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement