Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.95 KB | None | 0 0
  1. #
  2. # Main configuration file
  3. #
  4. # You can find a list of available tags here: https://alessiodp.com/docs/oreannouncer/placeholders/
  5. #
  6.  
  7. # / = = = = = = = = = = = = = = = = \
  8. # | OREANNOUNCER SETTINGS |
  9. # \ = = = = = = = = = = = = = = = = /
  10. oreannouncer:
  11. updates:
  12. # Check for updates, recommended. OreAnnouncer will check for updates when the server finish to load
  13. check: true
  14. # Send a message to admins if an update is available
  15. warn: true
  16.  
  17. logging:
  18. # Enable debug messages
  19. debug: false
  20. save-file:
  21. # Save to file log messages
  22. enable: false
  23. # Format of messages
  24. format: "%date% [%time%] %message%\n"
  25. # Log file name
  26. file: "log.txt"
  27.  
  28. bungeecord:
  29. # Enable BungeeCord support
  30. # Commands and storage features will be disabled
  31. # Destroyed blocks will be handled by OreAnnouncer into BungeeCord
  32. enable: false
  33.  
  34.  
  35. # / = = = = = = = = = = = = = = = = \
  36. # | STORAGE SETTINGS |
  37. # \ = = = = = = = = = = = = = = = = /
  38. storage:
  39. # What type of storage the plugin should use?
  40. # Database storage types:
  41. # => mysql | [Remote] Save the data into a MySQL database
  42. # => sqlite | [File] Save the data into a SQLite database (default)
  43. database-storage-type: sqlite
  44.  
  45. storage-settings:
  46. # General settings of SQL databases
  47. general-sql-settings:
  48. varchar-size: 255
  49. upgrade:
  50. save-old-table: true
  51. old-table-suffix: "_backup"
  52. tables:
  53. players: "oreannouncer_players"
  54. blocks: "oreannouncer_blocks"
  55. versions: "oreannouncer_versions"
  56.  
  57. # SQLite settings
  58. sqlite:
  59. database-file: "database.db"
  60.  
  61. # MySQL settings
  62. mysql:
  63. address: "localhost"
  64. port: "3306"
  65. database: "database"
  66. username: "username"
  67. password: "password"
  68. # Size of the connection pool
  69. pool-size: 10
  70. # Lifetime of each connection, in milliseconds (Default: 30 minutes = 1800000ms)
  71. connection-lifetime: 1800000
  72. # Property used to alert when the connection is not using a valid SSL certificate
  73. use-ssl: false
  74. # Charset used by tables
  75. charset: "utf8"
  76.  
  77.  
  78. # / = = = = = = = = = = = = = = = = \
  79. # | ALERTS SETTINGS |
  80. # \ = = = = = = = = = = = = = = = = /
  81. alerts:
  82. # Enable alerts system
  83. # Whenever a player dig a block users/admins will receive a message
  84. enable: true
  85. # Send an alert to the console
  86. console: true
  87. # Get coordinates of the user when he digs an ore
  88. coordinates:
  89. enable: false
  90. # Settings for the placeholder %coordinates%
  91. # Here you can use: %x%, %y% or %z%
  92. format: "&7[x: %x%&7, z: %z%&7]"
  93. # Hide a single, or every, coordinate
  94. hide-real-coordinates:
  95. enable: true
  96. # How many coordinates to hide
  97. # Coordinates are choose randomly if this number
  98. # is lower than existing coordinates number into the format
  99. count: 1
  100. # Hide coordinates only for users/admins
  101. hidden-for:
  102. user: true
  103. admin: false
  104. console: false
  105. # Choose what to hide
  106. hide:
  107. x: true
  108. y: true
  109. z: true
  110. # Format of a hidden coordinate
  111. format: "&k%coordinate%"
  112. # Completely remove hidden coordinate to bypass cheaters
  113. obfuscate: true
  114. # Normally an obfuscated hidden coordinate will keep the original length
  115. # Disable that with this option
  116. fixed-length: false
  117.  
  118.  
  119. # / = = = = = = = = = = = = = = = = \
  120. # | BLOCKS SETTINGS |
  121. # \ = = = = = = = = = = = = = = = = /
  122. blocks:
  123. # Do warn on blocks placed by players (until a server reload)
  124. bypass-player-blocks: true
  125. # Do not count block broken with a silk touch tool
  126. bypass-silk-touch: false
  127. # Send a warn message when there is a wrong configured block
  128. warn-on-wrong-blocks: true
  129. # Light level system is used to check light level when a player is digging a block
  130. light-level:
  131. enable: false
  132. # Send the alert only when the light level is lower than the specified one
  133. alert-only-if-lower: false
  134. # Count the block only when the light level is lower than the specified one
  135. count-only-if-lower: false
  136. # Block list, structure:
  137. # BLOCK_NAME: | Material name of the block
  138. # alerts: | Alert options of the block
  139. # user: true/false |
  140. # admin: true/false |
  141. # name: | Name of the block
  142. # singular: "block" |
  143. # plural: "blocks" |
  144. # light-level: 0-15 | Set the light level
  145. # count-on-destroy: true/false | Count this block
  146. list:
  147. DIAMOND_ORE:
  148. alerts:
  149. user: true
  150. admin: true
  151. name:
  152. singular: "diamante"
  153. plural: "diamantes"
  154. light-level: 15
  155. count-on-destroy: true
  156. EMERALD_ORE:
  157. alerts:
  158. user: false
  159. admin: true
  160. name:
  161. singular: "esmeralda"
  162. plural: "esmeraldas"
  163. light-level: 6
  164. count-on-destroy: true
  165.  
  166.  
  167. # / = = = = = = = = = = = = = = = = \
  168. # | STATS SETTINGS |
  169. # \ = = = = = = = = = = = = = = = = /
  170. stats:
  171. # Enable statistics system
  172. # Any block you put on blocks list will be registered into the database
  173. # Choose which block by adding 'count-on-destroy' option
  174. enable: true
  175. top:
  176. enable: true
  177. number-of-players: 5
  178. page-size: 5
  179.  
  180.  
  181.  
  182. # / = = = = = = = = = = = = = = = = \
  183. # | COMMANDS SETTINGS |
  184. # \ = = = = = = = = = = = = = = = = /
  185. commands:
  186. # Enable tab support (/oa <tab> to see every allowed command)
  187. tab-support: true
  188. oa-description: "OreAnnouncer help page"
  189. main-commands:
  190. help: "help"
  191. oa: "oa"
  192. alerts: "alerts"
  193. reload: "reload"
  194. stats: "stats"
  195. top: "top"
  196. version: "version"
  197. sub-commands:
  198. on: "on"
  199. off: "off"
  200.  
  201.  
  202. dont-edit-this:
  203. version: 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement