Advertisement
Guest User

gts.conf

a guest
Feb 2nd, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.53 KB | None | 0 0
  1. # ###################################################################################################
  2. # +----------------------------------------------------------------------------------------------+ #
  3. # | | #
  4. # | _______ .___________. _______. | #
  5. # | / _____|| | / | | #
  6. # | | | __ `---| |----` | (----` | #
  7. # | | | |_ | | | \ \ | #
  8. # | | |__| | | | .----) | | #
  9. # | \______| |__| |_______/ | #
  10. # | | #
  11. # | SOURCE CODE: https://github.com/NickImpact/GTS/ | #
  12. # | WIKI: https://github.com/NickImpact/GTS/wiki | #
  13. # | BUG REPORTS: https://github.com/NickImpact/GTS/issues | #
  14. # | | #
  15. # | Each option in this file is documented and explained here: | #
  16. # | ==> https://github.com/NickImpact/GTS/wiki/Config | #
  17. # | | #
  18. # | New options are not added to this file automatically. Default values are used if an | #
  19. # | option cannot be found. The latest config versions can be obtained at the link above. | #
  20. # +----------------------------------------------------------------------------------------------+ #
  21. # ###################################################################################################
  22.  
  23. # The following represents auctions and how they are listed
  24. auctions {
  25. # What to set the auction timer to, if the user doesn't specify a time
  26. # 1 minute
  27. default-time=60
  28. keep-ui-open-on-bid=false
  29. # The maximum amount of time an auction can run for
  30. # 5 minutes
  31. max-time=300
  32. }
  33. blacklist {
  34. # Specify these here by their item types. So, for example, a pokeball would be translated as:
  35. # pixelmon:poke_ball
  36. items=[
  37. ""
  38. ]
  39. # List the names of the pokemon you wish to block from element into the GTS
  40. pokemon=[
  41. ""
  42. ]
  43. }
  44. discord {
  45. avatar="https://cdn.bulbagarden.net/upload/thumb/f/f5/399Bidoof.png/600px-399Bidoof.png"
  46. debug-enabled=false
  47. enabled=false
  48. notifications {
  49. listing-expire {
  50. color="#FF0000"
  51. descriptor="Listing Expiration"
  52. webhooks=[]
  53. }
  54. listing-remove {
  55. color="#800080"
  56. descriptor="Listing Removal"
  57. webhooks=[]
  58. }
  59. new-listing {
  60. color="#00FF00"
  61. descriptor="New Listing Published"
  62. webhooks=[]
  63. }
  64. sell-listing {
  65. color="#00FFFF"
  66. descriptor="Listing Purchase"
  67. webhooks=[]
  68. }
  69. }
  70. title="GTS Notifier"
  71. }
  72. entries {
  73. items {
  74. # Whether or not items put up for sale can have a custom display name
  75. custom-names-allowed=true
  76. # Whether or not item sales should be active or not
  77. enabled=true
  78. }
  79. pokemon {
  80. # Whether or not pokemon sales should be active or not
  81. enabled=true
  82. memes=true
  83. }
  84. }
  85. listings {
  86. # What is the maximum amount of time a listing can be listed for (in seconds)?
  87. # 12 hours
  88. listing-max-time=43200
  89. # Details how long a listing should be added to the market by default (in seconds)
  90. # 1 hour
  91. listing-time=3600
  92. # What is the maximum number of listings a user can have listed at one time?
  93. listings-max=5
  94. }
  95. max-pricing {
  96. money {
  97. max=100000000
  98. }
  99. }
  100. min-pricing {
  101. enabled=true
  102. pokemon {
  103. base=5000
  104. hidden-ability=5000
  105. ivs {
  106. min-iv=28
  107. price=5000
  108. }
  109. legends=5000
  110. shiny=2500
  111. }
  112. }
  113. storage {
  114. data {
  115. # Uses standard DB engine port by default
  116. # MySQL: 3306
  117. # Specify as "host:port" if differs
  118. address=localhost
  119. database=minecraft
  120. password=""
  121. # These settings apply to the MySQL connection pool.
  122. # The default values will be suitable for the majority of users.
  123. # Do not change these settings unless you know what you're doing!
  124. pool-settings {
  125. # This setting controls the maximum number of milliseconds that the plugin will wait for a
  126. # connection from the pool, before timing out.
  127. # 5 seconds
  128. connection-timeout=5000
  129. # This setting controls the maximum lifetime of a connection in the pool in milliseconds.
  130. # The value should be at least 30 seconds less than any database or infrastructure imposed
  131. # connection time limit.
  132. # 30 minutes
  133. maximum-lifetime=1800000
  134. # Sets the maximum size of the MySQL connection pool.
  135. # Basically this value will determine the maximum number of actual
  136. # connections to the database backend.
  137. #
  138. # More information about determining the size of connection pools can be found here:
  139. # https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
  140. maximum-pool-size=10
  141. # Sets the minimum number of idle connections that the pool will try to maintain.
  142. #
  143. # For maximum performance and responsiveness to spike demands, it is recommended to not set
  144. # this value and instead allow the pool to act as a fixed size connection pool.
  145. # (set this value to the same as 'maximum-pool-size')
  146. minimum-idle=10
  147. # This setting allows you to define extra properties for connections.
  148. properties {
  149. characterEncoding=utf8
  150. useUnicode=true
  151. }
  152. }
  153. # This option controls how frequently GTS will perform a sync task.
  154. # A sync task will refresh all data from the storage, and ensure that the most up-to-date data is
  155. # being used by the plugin.
  156. #
  157. # This is disabled by default, as most users will not need it. However, if you're using a remote
  158. # storage type without a messaging service setup, you may wish to set this value to something like
  159. # 3.
  160. #
  161. # Set to -1 to disable the task completely.
  162. sync-minutes=-1
  163. # The prefix for all GTS tables. Change this is you want to use different tables for
  164. # different servers.
  165. "table_prefix"="gts_"
  166. username=root
  167. }
  168. # Which storage method the plugin should use.
  169. #
  170. # Currently supported: mysql, h2
  171. #
  172. # Fill out connection info below if you're using MySQL
  173. storage-method=h2
  174. }
  175. tax {
  176. # Whether or not listings should apply a tax to their lister?
  177. enabled=false
  178. money {
  179. # By default, the tax on a listing with a monetary price will charge the lister 8% upon listing, if enabled
  180. tax=0.08
  181. }
  182. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement