Guest User

Config.yml

a guest
Mar 12th, 2024
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.31 KB | None | 0 0
  1. # ------------------------------------ #
  2. #
  3. # FeatherBoard 5.6.0
  4. # Runs like a feather on your server
  5. # (c) Maxim Van de Wynckel
  6. #
  7. # ------------------------------------ #
  8.  
  9. # Plugin requirements:
  10. # (Required) MVdWPlaceholderAPI 3 or higher
  11.  
  12. # Permissions: To use the action groups give them the permission
  13. # featherboard.group.<group>
  14. # Make sure to remove them from the other groups
  15. # when giving a new permission.
  16.  
  17. # Variables: These variables can be used in the TEXT section
  18. # of both the header as the footer.
  19. # PlaceholderAPI is used for placeholders.
  20. #
  21. # %player_name% - Player name
  22.  
  23. # Formatting: These are formatting tags allowing you to format the animations
  24. # or placeholders.
  25. #
  26. # Substring: This allows you to split a word (even a placeholder) in lines
  27. # example: <substring begin=0 end=3>Hello World</substring> = Hel
  28. # usage: This can be used to split placeholders when creating a typewriter
  29. # or to split the colors in a placeholder.
  30. #
  31. # Scroll: This creates a scrolling animation of the text inside it. It accepts
  32. # two arguments (the length and space between scrolls).
  33. # example: <scroll width=20 spaces=20>&2This is a &atest</scroll>
  34. #
  35. # PLENTY MORE! See spigot page
  36.  
  37. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  38. # GENERAL PLUGIN SETTINGS
  39. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  40.  
  41. ## Config version (DO NOT EDIT)
  42. config: 8
  43.  
  44. ## Language file
  45. lang: 'en'
  46.  
  47. ## Debug mode
  48. debug: false
  49.  
  50. ## Log to file
  51. log:
  52. enabled: true
  53. # Reset log on startup
  54. reset: true
  55.  
  56. ## Update checking
  57. update:
  58. # RECOMMENDED YOU LEAVE THIS TRUE
  59. # Support for older versions is not provided
  60. check: true
  61.  
  62. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  63. # PLUGIN SPECIFIC SETTINGS
  64. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  65.  
  66. # Toggling allows you to disable the scoreboard
  67. database:
  68. # If you want the toggle to stay even when your users
  69. # log off you can enable this. Keep in mind that this requires a
  70. # MySQL or SQLite database.
  71. # If you are configuring the plugin for the first time it is advised
  72. # to stay away from these settings until you managed the scoreboard
  73. # set up.
  74. persistent: false
  75. # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
  76. # with isolation, url, driver, ...
  77. # Database name
  78. database: "featherboard"
  79. # Database username
  80. username: bukkit
  81. # Database password
  82. password: walrus
  83. # Database driver URL
  84. # {DIR} will be replaced with the plugin directory
  85. # {NAME} will be replaced wit the plugin name
  86. url: jdbc:sqlite:{DIR}{NAME}.db
  87. # Save interval in ticks
  88. save-interval: 6000
  89.  
  90. # Disabled worlds. Add your world name in this list to disable it.
  91. disabled-worlds:
  92. - 'example_world'
  93.  
  94. # Scoreboard assigning. The boards can be assigned by various ways.
  95. # default the scoreboards will be assigned by permissions.
  96. # You can have multiple ways of assigning a scoreboard, but
  97. # keep in mind that it uses a "first come first served" principal
  98. # Multiple assign methods is only recommended when using things like
  99. # TIME or WORLD in combination with something else.
  100. #
  101. # PERMISSION - Assign scoreboards based on permissions
  102. # This is the default setting (since 2014)
  103. # featherboard.group.<scoreboard>
  104. #
  105. # PERMISSION_CACHED - Assign scoreboards based on permissions
  106. # Unlike "PERMISSION" this method is cached.
  107. # It will require a toggle or relog to update.
  108. # Use this for permission plugins that do not cache
  109. # permissions and contact a database every time.
  110. #
  111. # GROUP - Assign scoreboards based on Vault groups
  112. # this means the scoreboard name has to
  113. # have the name of your Vault group.
  114. #
  115. # WORLD - Assign scoreboards based on the world
  116. # the player is in.
  117. #
  118. # TIME - Assign the scoreboard based on the day.
  119. # "day" for Day and "night" for night.
  120. #
  121. # NONE - Do no assign scoreboards and just rely on
  122. # manual assigning (triggers, etc...)
  123. #
  124. # LANGUAGE - Client language (en,nl,fr) Two letter language code
  125. # name your scoreboard "en.yml", "nl.yml" , ...
  126. #
  127. # PLACEHOLDER:* - Assign the scoreboard based on a placeholder
  128. # this method can be very intensive for certain non cached
  129. # placeholders.
  130. # It will look for scoreboardname.yml files matching the result
  131. # of the placeholder.
  132. # Replace "*" with an actual placeholder (ex. "PLACEHOLDER:%player_is_flying%" )
  133. # KEEP IN MIND: Fast switching scoreboards is not a good thing.
  134. #
  135. # SPAWN_DISTANCE - Assign the scoreboard based on the distance to the world's spawn
  136. # Name your scoreboard: "spawn_distance_*" where * is a number
  137. # representing the distance. (ex. "spawn_distance_10")
  138. # The example would math the scoreboard if you are within 10 blocks
  139. # to the spawn.
  140. assigning:
  141. - 'PERMISSION'
  142.  
  143. # GUI: This is a feature enabling a GUI to select a specific scoreboard
  144. # The GUI will show all scoreboards you have permission to. It is not very
  145. # configurable in the way you can't control the location or order of the scoreboards
  146. # For a more configurable GUI I recommend DeluxeMenus
  147. gui:
  148. # This is the title of the GUI
  149. title: "Scoreboards"
  150. # Size of the GUI (leave to -1 to make it dynamic)
  151. # Sizes: 9,27,54
  152. size: -1
  153.  
  154. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  155. # ADVANCED SETTINGS
  156. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  157.  
  158. # Placeholder settings
  159. placeholder:
  160. # Automatically attempt to download eCloud placeholders when used
  161. auto-download: true
  162.  
  163. # Tweaks to increase or tune performance
  164. tweaks:
  165. # Hide the red scores on 1.20.3 and above
  166. # This will apply to ALL scoreboards
  167. hide-score: true
  168. # Hide the scoreboard by default
  169. # This requires players to manually toggle the scoreboard
  170. default-hidden: false
  171. # Reset all scoreboard on startup
  172. # this is similar to manually deleting the scoreboard.dat
  173. reset-scoreboard-data: false
  174. # This option does not send scoreboard remove packets
  175. # to the client on join.
  176. keep-scoreboard-join: false
  177. # This option does not send scoreboard remove packets
  178. # to the client on quit. This can increase performance on servers
  179. # where players quit a lot (hubs, ...)
  180. #
  181. # Removal of the plugin requires you to manually delete the scoreboard.dat in the worlds
  182. # /data folder
  183. #
  184. # Enabling this can cause the scoreboard not to work anymore. Use at your own risk
  185. keep-scoreboard-quit: false
  186. # Trust or do not trust scoreboard scripts.
  187. # Normally you leave this to true
  188. # When disabled scoreboard scripts will be disabled
  189. trust-scoreboard-scripts: true
  190. # Some placeholders have a slow process behind them. Meaning they might contact a database
  191. # and take a while to 'resolve'. This will never cause lag since the placeholders are loaded
  192. # separate from the sending. But can slow down the animation because it has to wait
  193. # for the placeholder to be loaded. When having multiple lines like a text that shows
  194. # the information about the placeholders you put below it, this can cause problems.
  195. # Enabling this will output a message in the console and ingame to operators
  196. # saying when a placeholder is causing delays.
  197. detect-animation-lag: false
  198. # Putting this to true will SPAM your console with timings report per placeholder/animation
  199. # refresh. Used for debugging purposes.
  200. # This requires detect-placeholderdelay to true
  201. verbose-animation-timings: false
  202. # Show delay on join. Useful if you wish to let the user
  203. # enjoy a Title MOTD without having the scoreboard obstructing
  204. # the view.
  205. # Please note that there is a static show-delay build in of 5 ticks that you can
  206. # not change. This is because a lot of data is send in the first moment a player
  207. # joins.
  208. show-delay: 0
  209. # The update speed multiplier can increase the update speed of the scoreboard
  210. # A normal scoreboard would have a max refresh rate of 20 ticks per second
  211. # When changing this multiplier you can make this slower or faster.
  212. # Support for faster multipliers is not provided as it depends on your server
  213. # hardware if it can handle it.
  214. # This feature is mostly meant for advanced users that want to create something unique
  215. # or when stress testing.
  216. speed-multiplier: 1.0
  217. scoreboard-update:
  218. # Scoreboard update method
  219. # This is the method used to send the scoreboard.
  220. # NOTE: Are you using ViaRewind and you have cut lines?
  221. # try 'ANTI_FLICKER_V3_LEGACY' instead of 'RECOMMENDED'
  222. method: 'RECOMMENDED'
  223. animation-update:
  224. # Animation update method
  225. # This is the method used to update the line animations
  226. # (Updating the frames, placeholders ,...)
  227. # EFFICIENT - Will update the scoreboards using X workers.
  228. # The advantage is that it makes optimal use of the
  229. # processor to update the animations.
  230. # The downside is that some placeholders
  231. # may delay the scoreboard.
  232. # Use this if you have many different scoreboards
  233. # OPTIMAL - This default option will assign a dedicated worker
  234. # per scoreboard config. Lines are therefor synchronized.
  235. # If you have no idea what the other strategies do, use this
  236. # SYNCHRONOUS - This option will update all scoreboard lines of all
  237. # scoreboards in a single worker. Meaning that for many
  238. # boards this can cause delays.
  239. # Use this if you have no more than 2 different scoreboards
  240. # ASYNCHRONOUS - This option will create a task for each scoreboard line
  241. # it was default for FeatherBoard 3 and previous versions.
  242. # However it is not really optimized.
  243. method: 'OPTIMAL'
  244. # Directory where you want to store/load scoreboards
  245. scoreboard-directory: "scoreboards"
  246.  
Tags: Code
Add Comment
Please, Sign In to add comment