Guest User

Untitled

a guest
Nov 15th, 2025
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.13 KB | None | 0 0
  1. # ======================================================================
  2. # Mines - config.yml
  3. # ======================================================================
  4. # Need better performance?
  5. # ➜ Search this file for "(POSSIBLE PERFORMANCE BOOST)" to quickly
  6. # find all options that can help reduce lag and improve efficiency.
  7. # ======================================================================
  8.  
  9.  
  10. # ----------------------------------------------------------------------
  11. # Update Check
  12. # ----------------------------------------------------------------------
  13. update-check:
  14. enabled: true
  15. permission: mines.update
  16. message: "&bᴍɪɴᴇꜱ &8| &7A new version is available &8(&f%current% &7➜ &b%latest%&8)&7."
  17.  
  18.  
  19. # ----------------------------------------------------------------------
  20. # Task Timers & Queues
  21. # These control how often Mines runs certain checks and updates.
  22. # Larger values = fewer checks = better performance, but less precision.
  23. # ----------------------------------------------------------------------
  24. Tasks:
  25. Queues:
  26. Timer: 0 # Seconds (POSSIBLE PERFORMANCE BOOST)
  27. # Mines resetting causing lag spikes?
  28. # ➜ Enable this by setting a value > 0 (try 3 to start).
  29. # Queues add a delay between each Mine resetting instead of doing
  30. # them all at the same time.
  31. # IMPORTANT: Changing this requires a full server restart.
  32.  
  33. Percentage:
  34. Timer: 1 # Seconds (POSSIBLE PERFORMANCE BOOST)
  35. # Using "Percentage to reset" or percentage-based hologram placeholders?
  36. # ➜ Keep this enabled (value > 0).
  37. # Not using any percentage-based features? Set this to 0 to disable.
  38. #
  39. # Recommended values:
  40. # 50–100 Mines: 3–6 seconds
  41. # 100+ Mines : 7–10 seconds
  42. #
  43. # Note: Increasing this value improves performance but will make
  44. # "Percentage Mined/Left" and "Percentage to reset" less accurate.
  45.  
  46. Holograms:
  47. Timer: 10 # Seconds (POSSIBLE PERFORMANCE BOOST)
  48. # Using the built-in hologram system?
  49. # ➜ Keep this enabled and tune the timer as needed.
  50. # Not using Mines holograms at all? Set this to 0 to disable updates.
  51.  
  52. Signs:
  53. Timer: 1 # Seconds (POSSIBLE PERFORMANCE BOOST)
  54. # Using Mine Signs (status/reset signs)?
  55. # ➜ Keep this enabled.
  56. # Not using them? Set this to 0 to disable.
  57. #
  58. # This timer controls how often Mine Signs are refreshed.
  59.  
  60. Enable-Reset-Signs-Cooldown: true # Not using any Mine reset signs? Set to false. (POSSIBLE PERFORMANCE BOOST)
  61.  
  62.  
  63. # ----------------------------------------------------------------------
  64. # Performance Mode
  65. # ----------------------------------------------------------------------
  66. Performance-Focused: true
  67. # When enabled, the main Mine reset logic runs async for better performance.
  68. #
  69. # ⚠ Important:
  70. # - Mines will ignore both MinePreResetEvent and MinePostResetEvent.
  71. # - If you don't use these events in custom plugins, you should leave
  72. # this enabled.
  73. # - Changing this option requires a full plugin restart
  74. # (server reboot strongly recommended).
  75.  
  76.  
  77. # ----------------------------------------------------------------------
  78. # General Settings
  79. # ----------------------------------------------------------------------
  80. Settings:
  81. Check-For-Updates: true
  82.  
  83. Mine-Fly-Height: 3
  84. # Maximum height (in blocks) above a Mine where the Mine Fly feature works.
  85.  
  86. Mine-Effects-Height: 3
  87. # Maximum height (in blocks) above a Mine where Mine effects apply.
  88.  
  89. Broadcast-Mines-Resetting: false
  90. # true = All Mines broadcast a reset message and teleport alerts.
  91. # false = No reset broadcasts or teleport alerts.
  92.  
  93. Allow-Block-Breaking-While-Mines-Reset: true
  94. # true = Players can still break blocks while a Mine is resetting.
  95. # false = Block breaking is disabled during resets.
  96.  
  97.  
  98. # ----------------------------------------------------------------------
  99. # Holograms
  100. # ----------------------------------------------------------------------
  101. Holograms:
  102. Default hologram:
  103. Layout:
  104. - "#ICON: %highestblockname%"
  105. - "%empty%"
  106. - "&b%name%"
  107. - "%empty%"
  108. - "&3&m———&f Percent bar &3&m———"
  109. - "%blocksprogressbar%"
  110. - "%empty%"
  111. - "&e♠ &fResets in &b%timeuntilreset% &e♠"
  112.  
  113. # Previous default layout (for reference):
  114. # - "&8&m+----&7( &b%name% &7) &8&m----+"
  115. # - "&6♦ &fBlocks broken &7» &e%blocksbroken%"
  116. # - "&e♦ &fBlocks left &7» &b%blocksleft%"
  117. # - "%empty%"
  118. # - "&6• &fPercent broken &7» &e%percentbroken%"
  119. # - "&6• &fPercent left &7» &b%percentleft%"
  120. # - "&6• &fResets at &7» &e%percentlefttoreset% &8/ &b%percentbrokentoreset%"
  121. # - "&3&m———&f Percent bar &3&m———"
  122. # - "%blocksprogressbar%"
  123. # - "%empty%"
  124. # - "&e♠ &fResets in &b%timeuntilreset% &e♠"
  125.  
  126. # Placeholders available in holograms and Mine messages:
  127. # %name% - Mine name
  128. # %blocksbroken% - Blocks broken in the Mine **
  129. # %blocksleft% - Blocks remaining in the Mine **
  130. # %percentbroken% - % of blocks broken **
  131. # %percentleft% - % of blocks left **
  132. # %percentbrokentoreset% - % broken needed for a reset **
  133. # %percentlefttoreset% - % left before a reset **
  134. # %resetpercent% - Alias for %percentbrokentoreset% **
  135. # %blocksprogressbar% - Progress bar of Mine percentage **
  136. # %timeuntilreset% - Time remaining until the Mine resets
  137. # %highestblockname% - Material name of the highest % block
  138. # %resetinterval% - Reset interval (in ticks)
  139. # %resettype% - Reset type (Instant or Gradual)
  140. # %resetspeed% - Gradual reset speed (FAST, MAX, etc.)
  141. # %flyenabled% - true/false if flight is allowed in the Mine
  142. # %isresetting% - true if the Mine is currently resetting
  143. # %position% - Position of this Mine in the reset queue
  144. # %empty% - Fully invisible spacer line
  145. #
  146. # ** Requires PercentageTask to be enabled
  147. # (These are internal placeholders, not PlaceholderAPI placeholders.)
  148.  
  149. Resetting:
  150. - "#ICON: %highestblockname%"
  151. - "%empty%"
  152. - "&b%name%"
  153. - "%empty%"
  154. - "&fThis mine is"
  155. - "&fcurrently resetting..."
  156.  
  157. MineQueue:
  158. - "#ICON: %highestblockname%"
  159. - "%empty%"
  160. - "&b%name%"
  161. - "%empty%"
  162. - "&fThis mine is currently"
  163. - "&fin a queue to reset... &8(&b#%position%&8)"
  164.  
  165. Height: 6
  166. # Vertical offset (in blocks) from the Mine to the hologram.
  167.  
  168. PlaceholderAPI:
  169. Progress-Bar:
  170. Bars:
  171. Symbol: ":"
  172. Amount: 10
  173. Colors:
  174. Empty: "&7"
  175. Full: "&a"
  176. Prefix: "&8["
  177. Suffix: "&8]"
  178.  
  179. Time-Until-Reset:
  180. Use-Shortened-Format: true
  181. # true = Short format (e.g. "42s")
  182. # false = Long format (e.g. "0h 0m 42s")
  183.  
  184.  
  185. # ----------------------------------------------------------------------
  186. # Mine Signs
  187. # ----------------------------------------------------------------------
  188. Sign:
  189. Messages:
  190. Cooldown: "&bᴍɪɴᴇꜱ &8| &7You must wait &b%cooldown% &7before resetting &b%mine% &7again."
  191. Reset: "&bᴍɪɴᴇꜱ &8| &7You have successfully reset &b%mine% &7mine."
  192. Invalid Mine: "&bᴍɪɴᴇꜱ &8| &7The mine &b%mine% &7no longer exists."
  193.  
  194. Types:
  195. Percentage Mined:
  196. 1: "&bᴍɪɴᴇꜱ"
  197. 2: "&9Percentage Mined"
  198. 3: "&f%placeholder%%"
  199. 4: "&bᴍɪɴᴇꜱ"
  200.  
  201. Percentage Left:
  202. 1: "&bᴍɪɴᴇꜱ"
  203. 2: "&9Percentage Left"
  204. 3: "&f%placeholder%%"
  205. 4: "&bᴍɪɴᴇꜱ"
  206.  
  207. Blocks Mined:
  208. 1: "&bᴍɪɴᴇꜱ"
  209. 2: "&9Blocks Mined"
  210. 3: "&f%placeholder%"
  211. 4: "&bᴍɪɴᴇꜱ"
  212.  
  213. Time Left:
  214. 1: "&bᴍɪɴᴇꜱ"
  215. 2: "&9Resetting in"
  216. 3: "&f%placeholder%"
  217. 4: "&bᴍɪɴᴇꜱ"
  218.  
  219. Reset Mine:
  220. 1: "&bᴍɪɴᴇꜱ"
  221. 2: "&9Click to reset"
  222. 3: "&9this mine"
  223. 4: "&bᴍɪɴᴇꜱ"
  224.  
Advertisement
Add Comment
Please, Sign In to add comment