SHARE
TWEET

Untitled

a guest Jun 25th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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: false
  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: false
  150.         admin: true
  151.       name:
  152.         singular: "diamond"
  153.         plural: "diamonds"
  154.       light-level: 10
  155.       count-on-destroy: true
  156.     EMERALD_ORE:
  157.       alerts:
  158.         user: false
  159.         admin: true
  160.       name:
  161.         singular: "emerald"
  162.         plural: "emeralds"
  163.       light-level: 10
  164.       count-on-destroy: true
  165.     SPAWNER:
  166.       alerts:
  167.         user: false
  168.         admin: true
  169.       name:
  170.         singular: "spawner"
  171.         plural: "spawners"
  172.       light-level: 10
  173.       count-on-destroy: true
  174.  
  175.  
  176. # / = = = = = = = = = = = = = = = = \
  177. # |         STATS  SETTINGS         |
  178. # \ = = = = = = = = = = = = = = = = /
  179. stats:
  180.   # Enable statistics system
  181.   # Any block you put on blocks list will be registered into the database
  182.   # Choose which block by adding 'count-on-destroy' option
  183.   enable: true
  184.   top:
  185.     enable: true
  186.     number-of-players: 5
  187.     page-size: 5
  188.  
  189.  
  190.  
  191. # / = = = = = = = = = = = = = = = = \
  192. # |        COMMANDS SETTINGS        |
  193. # \ = = = = = = = = = = = = = = = = /
  194. commands:
  195.   # Enable tab support (/oa <tab> to see every allowed command)
  196.   tab-support: true
  197.   oa-description: "OreAnnouncer help page"
  198.   main-commands:
  199.     help: "help"
  200.     oa: "oa"
  201.     alerts: "alerts"
  202.     reload: "reload"
  203.     stats: "stats"
  204.     top: "top"
  205.     version: "version"
  206.   sub-commands:
  207.     on: "on"
  208.     off: "off"
  209.  
  210.  
  211. dont-edit-this:
  212.   version: 2
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top