Advertisement
xeRicker

MysteryBoxes - config.yml

Aug 10th, 2022 (edited)
6,218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.44 KB | None | 0 0
  1. # ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  2. # ■ ░█▀▄▀█ ░█──░█ ░█▀▀▀█ ▀▀█▀▀ ░█▀▀▀ ░█▀▀█ ░█──░█ ░█▀▀█ ░█▀▀▀█ ▀▄░▄▀ ░█▀▀▀ ░█▀▀▀█             ■
  3. # ■ ░█░█░█ ░█▄▄▄█ ─▀▀▀▄▄ ─░█── ░█▀▀▀ ░█▄▄▀ ░█▄▄▄█ ░█▀▀▄ ░█──░█ ─░█── ░█▀▀▀ ─▀▀▀▄▄             ■
  4. # ■ ░█──░█ ──░█── ░█▄▄▄█ ─░█── ░█▄▄▄ ░█─░█ ──░█── ░█▄▄█ ░█▄▄▄█ ▄▀░▀▄ ░█▄▄▄ ░█▄▄▄█ BY XERICKER ■
  5. # ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  6.  
  7. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  8.  
  9. general-settings:
  10.  # If true, the plugin will check for updates or not.
  11.   check-for-updates: true
  12.   # If true, the plugin will use Vault for the currency.
  13.   hook-into-vault: false
  14.   # If true, all numbers will be shortened (10000 to 10k, 1000 to 1k).
  15.   short-number-format: true
  16.   # The default filter to use. Available filters: ALL, OWNED, UNOWNED
  17.   default-filter: ALL
  18.  
  19. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  20. # If turned on, the default files will be generated if they don't already exist.
  21. # Generally, it is recommended to set this to false after the first plugin use.
  22. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  23.  
  24. default-config-generation:
  25.   generate-boxes: true
  26.   generate-loots: true
  27.   generate-songs: true
  28.  
  29. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  30. # When SQL synchronization and MySQL are turned on, the boxes and loots will be loaded
  31. # from the "MB_BOX_SYNC" and "MB_LOOT_SYNC" tables instead of folders on the server.
  32. # This feature ensures that the boxes and loots are synced from the database rather than
  33. # relying on the files on the server. Whenever you update the data in the MySQL database
  34. # and execute "/mb release", all plugins connected to that database will update the files.
  35. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  36.  
  37. sql-sync:
  38.   import-boxes: false
  39.   import-loots: false
  40.  
  41. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  42.  
  43. mysql-settings:
  44.   connection:
  45.    # Determines whether the MySQL connection is enabled or disabled.
  46.     enabled: false
  47.     # The JDBC URL for connecting to the MySQL database.
  48.     url: "jdbc:mysql://{HOST}:{PORT}/{NAME}"
  49.     # The maximum number of connections allowed in the connection pool.
  50.     max-pool-size: 5
  51.     # The maximum lifetime (in milliseconds) of a connection in the pool.
  52.     max-lifetime: 600000
  53.     # The maximum time (in milliseconds) a connection can remain idle before being closed.
  54.     idle-timeout: 1800000
  55.     # The delay (in ticks) after which the data will be loaded.
  56.     sync-delay: 20
  57.   credentials:
  58.    # The hostname or IP address of the MySQL server.
  59.     host: "value"
  60.     # The port number on which the MySQL server is running.
  61.     port: "3306"
  62.     # The name of the MySQL database to connect to.
  63.     name: "value"
  64.     # The username used to authenticate with the MySQL server.
  65.     user: "value"
  66.     # The password used to authenticate with the MySQL server.
  67.     pass: "value"
  68.  
  69. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  70. # Date and time formatting displayed across the plugin.
  71. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  72.  
  73. time-settings:
  74.   time-zone: "UTC"
  75.   date-format: "dd/MM/yyyy HH:mm:ss"
  76.   countdown-formats:
  77.     format: SIMPLE
  78.     detailed: "%dw %dd %dh %dm %ds"
  79.     compact: "%02d:%02d:%02d:%02d:%02d"
  80.     simple: "%d %s"
  81.   simple-formats:
  82.     weeks: "Weeks"
  83.     week: "Week"
  84.     days: "Days"
  85.     day: "Day"
  86.     hours: "Hours"
  87.     hour: "Hour"
  88.     minutes: "Minutes"
  89.     minute: "Minute"
  90.     seconds: "Seconds"
  91.     second: "Second"
  92.   ago-formats:
  93.     years: "{YEARS}y ago"
  94.     months: "{MONTHS}m {DAYS}d ago"
  95.     days: "{DAYS}d {HOURS}h ago"
  96.     hours: "{HOURS}h {MINUTES}m ago"
  97.     minutes: "{MINUTES}m {SECONDS}s ago"
  98.     seconds: "{SECONDS}s ago"
  99.  
  100. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  101. # Sound feedbacks that are sent to players during various actions.
  102. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  103.  
  104. sound-actions:
  105.   success:
  106.    - "BLOCK_NOTE_BLOCK_HAT;1;1"
  107.   error:
  108.    - "ENTITY_ENDERMAN_TELEPORT;1;1"
  109.   select:
  110.    - "UI_BUTTON_CLICK;1;2"
  111.   notify:
  112.    - "BLOCK_NOTE_BLOCK_PLING;1;2"
  113.   purchase_success:
  114.    - "BLOCK_NOTE_BLOCK_PLING;1;2"
  115.   purchase_failed:
  116.    - "ENTITY_ENDERMAN_TELEPORT;1;1"
  117.   chest_open:
  118.    - "BLOCK_ENDER_CHEST_OPEN;0.5;1"
  119.   chest_close:
  120.    - "BLOCK_ENDER_CHEST_CLOSE;0.5;1"
  121.   progress:
  122.    - "BLOCK_ENCHANTMENT_TABLE_USE;1;1"
  123.   progress_maxed:
  124.    - "UI_TOAST_CHALLENGE_COMPLETE;1;1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement