Advertisement
OchplugmanProAya

Jecon config

Dec 9th, 2019
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. # UTF-8で編集して下さい
  2. # ユーザがログインした際にアカウントを作成するか否かです、基本的にtrueで構わないかと思われます。
  3. CreateAccountOnJoin: true
  4.  
  5. # アカウント作成時の所持金です、お好きな様に設定なさって下さい。
  6. DefaultBalance: 100.0
  7.  
  8. # 「/money top」コマンドを利用した際に1ページ当たり何名を表示するかです。
  9. TopCommandEntryPerPage: 10
  10.  
  11. Format:
  12. # お金の単位を置換した後に出来る連続した空白を1つにします。(例:「123 円 」->「123 円 」)
  13. MergeSpace: true
  14. # 変換後の文字に出来た前後の空白を削除(例:「123 円 」->「123 円」)
  15. Trim: true
  16. # 整数部のお金の単位
  17. Major:
  18. # 単数形
  19. Single: "円"
  20. # 複数形(日本の場合は両方同じ)
  21. Plural: "円"
  22. # 小数部のお金の単位(日本では使われていない)
  23. Minor:
  24. Single: "銭"
  25. Plural: "銭"
  26. # 実際にお金を表示する際のフォーマット
  27. Format: "[%Major%] [%MajorCurrency%]"
  28. # この場合は「123 円」の様な表記になります。
  29. # マクロとして使えるキーワード(例:123.45円の場合)
  30. # [%Major%]->金額、整数部のみ(例:123)
  31. # [%Minor%]->金額、小数部のみ(例:45)
  32. # [%All%]->金額(例:123.45)
  33. # [%MajorCurrency%]->お金の単位(整数部)
  34. # [%MinorCurrency%]->お金の単位(小数部)
  35.  
  36. database:
  37. # Database type. (sqlite/mysql)
  38. type: sqlite
  39. sqlite:
  40. file: "jecon.db"
  41. mysql:
  42. host: "localhost:3306"
  43. name: "jecon"
  44. username: "root"
  45. password: "your_mysql_password"
  46. # It is recommended to stop caching when using MySQL
  47. # If you have caches in your application, database cache is "wasted memory".
  48. init: "SET SESSION query_cache_type=0"
  49. properties:
  50. "useSSL": "false"
  51. # encoding
  52. #"useUnicode": "true"
  53. #"characterEncoding": "UTF-8"
  54. #"characterSetResults": "UTF-8"
  55. # performance
  56. "maintainTimeStats": "false"
  57. "elideSetAutoCommits": "true"
  58. "useLocalSessionState": "true"
  59. "alwaysSendSetIsolation": "false"
  60. "cacheServerConfiguration": "true"
  61. "cachePrepStmts": "true"
  62. "prepStmtCacheSize": "250"
  63. "prepStmtCacheSqlLimit": "2048"
  64. #"useServerPrepStmts": "true"
  65. connectionPool:
  66. # -1 is default
  67. maximumPoolSize: -1
  68. minimumIdle: -1
  69. maxLifetime: -1
  70. connectionTimeout: -1
  71. idleTimeout: -1
  72.  
  73. # Don't touch
  74. version: 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement