Guest User

Untitled

a guest
Jan 4th, 2018
642
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.58 KB | None | 0 0
  1. # iConomy 6.0
  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. Default:
  22. Currency:
  23. # Major is the first segment [Major].Minor
  24. Major: [ 'Dollar', 'Dollars' ] # Major ([Major].Minor) 1.00 Dollar (With Seperate 1 Dollar)
  25. Minor: [ 'Coin', 'Coins' ] # Minor (Major.[Minor]) 0.23 Coins (With Seperate 0 Dollars, 23 Coins)
  26.  
  27. Account:
  28. # Default account balance when created
  29. Holdings: 30.0
  30.  
  31. # Controls how money is formatted through methods
  32. Formatting:
  33. # Minor allows you to use the Minor amounts for amounts <1
  34. # Example (true) 0.23 Coins and 1.23 Dollars (false) 0.23 Dollars and 1.23 Dollars
  35. Minor: false
  36.  
  37. # Seperate allows your money to be shown in an alternative way,
  38. # instead of 1.32 it will show as 1 Dollar 23 Coins
  39. # !!! NOTICE: This only works if Minor is set to true !!!
  40. Seperate: false # Example (true) 1 Dollar, 23 Coins (false) 1.23 Dollars (Only if Minor is true)
  41.  
  42. # Single shows your money in another alternative way.
  43. # Instead of 1.23 Dollars you will see: 1 Dollar.
  44. # If your money is 0.23 you will see 0 Dollars if Minor is false, 23 Coins if Minor is true.
  45. # !!! Notice: This overrides seperate !!!
  46. Single: false
  47.  
  48. # Logs all monetary transactions passed through iConomy
  49. Logging:
  50. Enabled: false
  51.  
  52. # Controls amount of money gained at a set interval.
  53. Interest:
  54. Enabled: false
  55.  
  56. # Only give interest to players who are currently online?
  57. Online: true
  58.  
  59. Announce:
  60. # Send a message when the player gains interest?
  61. Enabled: false
  62.  
  63. Interval:
  64. # Interval is done in seconds, here is a easy reference table for commonly set intervals:
  65. # 1 minute = 60 seconds
  66. # 1 hour = 1 minute * 60 = 3600 seconds
  67. # 1 day = 1 hour * 24 = 86400 seconds
  68. # 1 week = 1 day * 7 = 604800 seconds
  69. Seconds: 60
  70.  
  71. Amount:
  72. # The balance to be met where we stop giving interest.
  73. # 0.0 for no limit
  74. Cutoff: 0.0
  75.  
  76. # Percentage of holdings to give / take (Negative to take) (Overrides Min/Max)
  77. Percent: 0.0
  78.  
  79. # This is range based, to set a "flat" or "constant" rate, set each (Maximum and Minimum) to the same number.
  80. # If the two numbers are different, it will be a random amount in-between the two.
  81. Maximum: 1
  82. Minimum: 2
  83.  
  84. Database:
  85. # Databases Supported:
  86. # Flatfile, FF, mini, minidb
  87. # - These all equate to miniDB
  88. ##
  89. # item, items, inventory, inventoryDB
  90. # - These all equate to InventoryDB, which uses inventory for storage
  91. ##
  92. # xp, exp, orb, xpdb, expdb, orbdb
  93. # - These all equate to ExperienceDB, which relies on Experience for balance.
  94. ##
  95. # mysql, mysqldb
  96. # - These will attempt to connect to MySQL
  97. ##
  98. # sqlite, sqlite2, sqlite3, sqlitedb
  99. # - These will attempt to create & connect to SQLite
  100. ##
  101. # postgre, postgreSQL, postgreDB
  102. # - These will attempt to connect to PostgreSQL
  103. Type: 'mysql'
  104.  
  105. # These are for InventoryDB only.
  106. # MajorItem is the item or block ID of the major currency
  107. # MinorItem is the item or block ID of the minor currency
  108. # e.g. MajorItem: 266, MinorItem: 265 for Gold/Iron
  109. MajorItem: 266
  110. MinorItem: 265
  111.  
  112. # This controls the database name, by default it is iConomy
  113. Table: 'iConomy'
  114.  
  115. # URL is for SQL Databases Only
  116. ##
  117. # Path to iConomy folder is easy, it's the COMPLETE path.
  118. # (Mine) G:\MineCraft\plugins\iConomy\
  119. # Won't be the same as yours, but it usually looks like that.
  120. ##
  121. # [H2DB Default] h2:path/to/iConomy/folder/iConomy;AUTO_RECONNECT=TRUE
  122. # [SQLite Default] sqlite:path/to/iConomy/folder/iConomy.db
  123. ##
  124. # Binary Databases use ip:port style connections.
  125. # ip
  126. # - is the connection identifier (internet protocol)
  127. # - for ipv6 usually encased in brackets [::1]
  128. # port
  129. # - the port that the database is listening on
  130. # - defaults: 3306 for mysql, postgre is either 5740 or 5432
  131. ##
  132. # [MySQL Default] mysql://localhost:3306/iConomy
  133. # [Postgre Default] postgresql://localhost:5740/iConomy
  134. URL: 'mysql://localhost:3306/kwgivlerdb'
  135.  
  136. # Login details for binary databases
  137. Username: 'notarealusername'
  138. Password: 'notarealpassword'
  139.  
  140. # Conversion allows you to convert your old 5.x to the new 6.x
  141. # All is currently unused.
  142. # URL is for MySQL only, H2DB doesn't use it.
  143. Conversion:
  144. # Set to True, After converting, change this back to false!
  145. Enabled: false
  146.  
  147. # Database Type, H2DB or MySQL
  148. Type: 'H2DB'
  149.  
  150. # Database Table
  151. Table: 'iConomy'
  152.  
  153. # Database URL without table at the end.
  154. URL: 'mysql://localhost:3306'
  155.  
  156. # Username / Password
  157. # H2DB does not use this. MySQL Only.
  158. Username: 'root'
  159. Password: ''
  160.  
  161. # Unused ATM.
  162. All: true
Add Comment
Please, Sign In to add comment