Advertisement
Guest User

FeatherBoard

a guest
Feb 7th, 2018
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.20 KB | None | 0 0
  1. config.yml :
  2. # ------------------------------------ #
  3. #
  4. # FeatherBoard 4
  5. # Runs like a feather on your server
  6. # (c) Maxim Van de Wynckel
  7. #
  8. # ------------------------------------ #
  9.  
  10. # Plugin requirements:
  11. # (Required) MVdWPlaceholderAPI 2 or higher
  12.  
  13. # Permissions: To use the action groups give them the permission
  14. # featherboard.group.<group>
  15. # Make sure to remove them from the other groups
  16. # when giving a new permission.
  17.  
  18. # Variables: These variables can be used in the TEXT section
  19. # of both the header as the footer.
  20. #
  21. # {PLAYER} - Player name
  22. # {PLAYERNICK} - Player nickname
  23. # {SERVER} - Server name
  24. # {PLAYERCOUNT} - Server player count
  25. # {BUNGEECOUNT} - Bungee network player count
  26. # 5000+ more ... see spigot page
  27.  
  28. # Formatting: These are formatting tags allowing you to format the animations
  29. # or placeholders.
  30. #
  31. # Substring: This allows you to split a word (even a placeholder) in lines
  32. # example: <substring begin=0 end=3>Hello World</substring> = Hel
  33. # usage: This can be used to split placeholders when creating a typewriter
  34. # or to split the colors in a placeholder.
  35. #
  36. # Scroll: This creates a scrolling animation of the text inside it. It accepts
  37. # two arguments (the length and space between scrolls).
  38. # example: <scroll width=20 spaces=20>&2This is a &atest</scroll>
  39. #
  40. # PLENTY MORE! See spigot page
  41.  
  42. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  43. # GENERAL PLUGIN SETTINGS
  44. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  45.  
  46. ## Config version (DO NOT EDIT)
  47. config: 4
  48.  
  49. ## Language file
  50. lang: 'en'
  51.  
  52. ## Debug mode
  53. debug: false
  54.  
  55. ## Log to file
  56. log:
  57. enabled: true
  58. # Reset log on startup
  59. reset: true
  60.  
  61. ## Update checking
  62. update:
  63. # RECOMMENDED YOU LEAVE THIS TRUE
  64. # Support for older versions is not provided
  65. check: true
  66.  
  67. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  68. # PLUGIN SPECIFIC SETTINGS
  69. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  70.  
  71. # Toggling allows you to disable the scoreboard
  72. database:
  73. # If you want the toggle to stay even when your users
  74. # log off you can enable this. Keep in mind that this requires a
  75. # MySQL or SQLite database.
  76. # If you are configuring the plugin for the first time it is advised
  77. # to stay away from these settings until you managed the scoreboard
  78. # set up.
  79. persistent: false
  80. # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
  81. # with isolation, url, driver, ...
  82. # Database name
  83. database: "featherboard"
  84. # Database username
  85. username: bukkit
  86. # Database password
  87. password: walrus
  88. # Database driver URL
  89. # {DIR} will be replaced with the plugin directory
  90. # {NAME} will be replaced wit the plugin name
  91. url: jdbc:sqlite:{DIR}{NAME}.db
  92. # Save interval in ticks
  93. save-interval: 6000
  94.  
  95. # Disabled worlds. Add your world name in this list to disable it.
  96. disabled-worlds:
  97. - 'example_world'
  98.  
  99. # Scoreboard assigning. The boards can be assigned by various ways.
  100. # default the scoreboards will be assigned by permissions.
  101. # You can have multiple ways of assigning a scoreboard, but
  102. # keep in mind that it uses a "first come first served" principal
  103. # Multiple assign methods is only recommended when using things like
  104. # TIME or WORLD in combination with something else.
  105. #
  106. # PERMISSION - Assign scoreboards based on permissions
  107. # This is the default setting (since 2014)
  108. # featherboard.group.<scoreboard>
  109. #
  110. # GROUP - Assign scoreboards based on Vault groups
  111. # this means the scoreboard name has to
  112. # have the name of your Vault group.
  113. #
  114. # WORLD - Assign scoreboards based on the world
  115. # the player is in.
  116. #
  117. # TIME - Assign the scoreboard based on the day.
  118. # "day" for Day and "night" for night.
  119. #
  120. # NONE - Do no assign scoreboards and just rely on
  121. # manual assigning (triggers, etc...)
  122. #
  123. # LANGUAGE - Client language (en,nl,fr) Two letter language code
  124. #
  125. # PLACEHOLDER:* - Assign the scoreboard based on a placeholder
  126. # this method can be very intensive for certain non cached
  127. # placeholders.
  128. # It will look for scoreboardname.yml files matching the result
  129. # of the placeholder.
  130. # Replace "*" with an actual placeholder (ex. "PLACEHOLDER:{isflying}" )
  131. # KEEP IN MIND: Fast switching scoreboards is not a good thing.
  132. #
  133. # SPAWN_DISTANCE - Assign the scoreboard based on the distance to the world's spawn
  134. # Name your scoreboard: "spawn_distance_*" where * is a number
  135. # representing the distance. (ex. "spawn_distance_10")
  136. # The example would math the scoreboard if you are within 10 blocks
  137. # to the spawn.
  138. scoreboard-assigning:
  139. - 'PERMISSION'
  140.  
  141. # GUI: This is a feature enabling a GUI to select a specific scoreboard
  142. # The GUI will show all scoreboards you have permission to. It is not very
  143. # configurable in the way you can't control the location or order of the scoreboards
  144. # For a more configurable GUI I recommend DeluxeMenus
  145. gui:
  146. # This is the title of the GUI
  147. title: "Scoreboards"
  148. # Size of the GUI (leave to -1 to make it dynamic)
  149. # Sizes: 9,27,54
  150. size: -1
  151.  
  152. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  153. # ADVANCED SETTINGS
  154. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  155.  
  156. # Placeholder settings
  157. placeholder:
  158. # Placeholder update method
  159. # COMPATIBLE - Only downloads compatible placeholders.
  160. # FORCE - Force download all placeholders.
  161. # UPDATE_ONLY - Only update existing downloaded placeholders.
  162. update-method: "COMPATIBLE"
  163. # Clear unused placeholders that are not enabled.
  164. clear-unused: true
  165. # Config cache only
  166. # This will only keep placeholders you use in the config
  167. # This breaks:
  168. # 1) MVdWPlaceholderAPI hooked plugins that make you use placeholders
  169. # in their plugins.
  170. # 2) Plugins that add custom placeholders to MVdWPlaceholderAPI
  171. config-cache: false
  172.  
  173. # Scoreboards file path. This is the folder path containing the .yml files containing
  174. # the scoreboards.
  175. scoreboards-location: "scoreboards"
  176.  
  177. # Modules file path. This is the folder path containing the JAR files for additional
  178. # placeholder or featherboard modules.
  179. modules-location: "modules"
  180.  
  181. # Tweaks to increase or tune performance
  182. tweaks:
  183. # Reset all scoreboard on startup
  184. # this is similar to manually deleting the scoreboard.dat
  185. reset-scoreboard-data: false
  186. # This option does not send scoreboard remove packets
  187. # to the client on join.
  188. keep-scoreboard-join: false
  189. # This option does not send scoreboard remove packets
  190. # to the client on quit. This can increase performance on servers
  191. # where players quit a lot (hubs, ...)
  192. #
  193. # Removal of the plugin requires you to manually delete the scoreboard.dat in the worlds
  194. # /data folder
  195. #
  196. # Enabling this can cause the scoreboard not to work anymore. Use at your own risk
  197. keep-scoreboard-quit: false
  198. # Trust or do not trust scoreboard scripts.
  199. # Normally you leave this to true
  200. # When disabled scoreboard scripts will be disabled
  201. trust-scoreboard-scripts: true
  202. # Some placeholders have a slow process behind them. Meaning they might contact a database
  203. # and take a while to 'resolve'. This will never cause lag since the placeholders are loaded
  204. # separate from the sending. But can slow down the animation because it has to wait
  205. # for the placeholder to be loaded. When having multiple lines like a text that shows
  206. # the information about the placeholders you put below it, this can cause problems.
  207. # Enabling this will output a message in the console and ingame to operators
  208. # saying when a placeholder is causing delays.
  209. detect-animation-lag: false
  210. # Putting this to true will SPAM your console with timings report per placeholder/animation
  211. # refresh. Used for debugging purposes.
  212. # This requires detect-placeholderdelay to true
  213. verbose-animation-timings: false
  214. # Show delay on join. Useful if you wish to let the user
  215. # enjoy a Title MOTD without having the scoreboard obstructing
  216. # the view.
  217. # Please note that there is a static show-delay build in of 5 ticks that you can
  218. # not change. This is because a lot of data is send in the first moment a player
  219. # joins.
  220. show-delay: 0
  221. # The update speed multiplier can increase the update speed of the scoreboard
  222. # A normal scoreboard would have a max refresh rate of 20 ticks per second
  223. # When changing this multiplier you can make this slower or faster.
  224. # Support for faster multipliers is not provided as it depends on your server
  225. # hardware if it can handle it.
  226. # This feature is mostly meant for advanced users that want to create something unique
  227. # or when stress testing.
  228. speed-multiplier: 1.0
  229. # Scoreboard script engine to use
  230. scoreboard-script-engine: "JavaScript"
  231. scoreboard-update:
  232. # Scoreboard update method
  233. # This is the method used to send the scoreboard.
  234. # ANTI_FLICKER_V1 - This method works for 1.7-1.13. It will prevent the
  235. # scoreboard lines from jumping.
  236. # This is the only supported method for Cauldron servers.
  237. # Pros:
  238. # - No flickering or jumping lines
  239. # - Fast animations
  240. # - Less packets after the scoreboard is loaded
  241. # - Static line support with ~72 characters
  242. # Cons:
  243. # - This method sends more packets when the scoreboard first loads
  244. # - Maximum of 28 characters with colors
  245. # ANTI_FLICKER_V2 - This method works for 1.9-1.13. It will prevent the
  246. # scoreboard lines from jumping.
  247. # This method is in BETA
  248. # Pros:
  249. # - No flickering or jumping lines
  250. # - Fast animations
  251. # - Full 68-70 character animations
  252. # Cons:
  253. # - More CPU/RAM usage than V1 due to frame buffer
  254. # - Scoreboards will have a delay of 3 ticks (not really noticeable)
  255. # - Does not work with Team plugins, 'especially' those that use packets
  256. #
  257. #
  258. # SWITCH_LINES - This method works for 1.7-1.13. It will reset individual
  259. # scoreboard lines that need updating. Causing jumping lines.
  260. # DISCONTINUED - NO LONGER OFFICIALLY SUPPORTED
  261. # SWITCH_OBJECTIVE - This method works for 1.9-1.13. It will swap out
  262. # the scoreboard objective. Causing flicker.
  263. # DISCONTINUED - NO LONGER OFFICIALLY SUPPORTED
  264. method: 'ANTI_FLICKER_V1'
  265. animation-update:
  266. # Animation update method
  267. # This is the method used to update the line animations
  268. # (Updating the frames, placeholders ,...)
  269. # EFFICIENT - Will update the scoreboards using X workers.
  270. # The advantage is that it makes optimal use of the
  271. # processor to update the animations.
  272. # The downside is that some placeholders
  273. # may delay the scoreboard.
  274. # Use this if you have many scoreboards
  275. # OPTIMAL - This default option will assign a dedicated worker
  276. # per scoreboard config. Lines are therefor synchronized.
  277. # If you have no idea what the other strategies do, use this
  278. # SYNCHRONOUS - This option will update all scoreboard lines of all
  279. # scoreboards in a single worker. Meaning that for many
  280. # boards this can cause delays.
  281. # Use this if you have no more than 2 different scoreboards
  282. # ASYNCHRONOUS - This option will create a task for each scoreboard line
  283. # it was default for FeatherBoard 3 and previous versions.
  284. # However it is not really optimized.
  285. method: 'OPTIMAL'
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293. My scoreboard was named : prison
  294. folder: scoreboard >> prison.yml
  295. settings:
  296. # If you quickly want to change the
  297. # the label color change it here.
  298. # It replaces $setting_label-color$ throughout the entire config
  299. label-color: "&e"
  300. # Show or hide the health
  301. # This is an example of the script
  302. show-health: true
  303. # The priority of the scoreboard. The higher the number -> higher priority
  304. # Used when having more than one scoreboard assigned
  305. priority: 10
  306.  
  307. # Example of pre processing script
  308. # This section is optional
  309. script-pre: |
  310. if (settings['show-health'] == "true"){
  311. board.getMeta().setSetting("enable-health","");
  312. }else{
  313. board.getMeta().setSetting("enable-health","|disabled|");
  314. }
  315.  
  316. # This section is required. Those are your scoreboard lines
  317. lines:
  318. # Every section here are different lines. The first section will be used as the title
  319. # the following sections will be used as the lines on the scoreboard (max 15)
  320. # Just as the scoreboard names you can name these 'lines' whatever you want. But to make
  321. # things simple I will use logical names such as "title", "spacer", "header", ...
  322. title:
  323. # Every line has its own frames. The animation will loop through these frames on intervals
  324. # that you configure below.
  325. # Put all your frames under 'text:'. You can make as many lines as you want and use
  326. # placeholders and preset effects.
  327. # Keep in mind that there is a limit in line width!
  328. frames:
  329. # To create cool looking animations you create yourself
  330. # you can use the graphical tool AnimationCreator
  331. # https://www.spigotmc.org/resources/animationcreator.6001/
  332. # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
  333. # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  334. - '<single><delay times="10">&l><</delay></single>'
  335. - '<single>&f&lra</single>' # <single> will allow the frame to only run ONCE
  336. - '<single>&f&laraF</single>'
  337. - '<single>&f&laraFi</single>'
  338. - '<single>&f&larFi</single>'
  339. - '<single>&f&laraFigh</single>'
  340. - ' <delay times="15">&f&lAr&4&l&faFight</delay>' # <delay> will repeat the line X times
  341. #- '<glow glowsize="5">AraFight</glow>' # This is the basic glow effect without custom colors
  342. - '<glow glowsize="5" startglowcolor="&c&l" glowcolor="&4&l" endglowcolor="&c&l" normalcolor="&f&l">AraFight</glow>'
  343. # Interval is the animation interval in TICKS (20 ticks is one second).
  344. # Every X ticks the animation goes to the next frame (see above)
  345. # Once all frames are finished it will start over from the first one
  346. interval: 2
  347. # If you don't want a static order of the frames and want to show each frame at random
  348. # you can enable this option.
  349. random: false
  350. # A scoreboard is dynamic. The lines can change length due to smaller placeholders or scrolling text.
  351. # that is why it is advised to have something on your scoreboard that is bigger then all other lines.
  352. # These lines (usually a header or footer) are also good for decoration.
  353. header:
  354. frames:
  355. - '<rainbow>&m+---------------------+</rainbow>'
  356. interval: 10
  357. random: true
  358. player-label:
  359. frames:
  360. - '&b&l> $setting_label-color$&lJoueur:'
  361. interval: 100
  362. random: false
  363. player-line1:
  364. frames:
  365. - '&o<cmd repeatmiddle="20">{player}</cmd>'
  366. interval: 2
  367. random: false
  368. player-line2:
  369. frames:
  370. - '{ping} &7ms'
  371. interval: 2
  372. random: false
  373. # For empty lines just add another 'section' but just don't put any text
  374. # in it so it acts like an empty line.
  375. spacer1:
  376. frames: []
  377. interval: 100
  378. random: false
  379. news-info:
  380. frames:
  381. - '&b&l> $setting_label-color$&lNews:'
  382. interval: 100
  383. random: false
  384. news:
  385. # Lets create some animated news
  386. # News is something you need to write quick
  387. # and usually you don't want to spend ages on creating
  388. # some cool effect. That is why FeatherBoard features
  389. # several presets you can use.
  390. frames:
  391. - '<scroll width="29">&aLe serveur ouvre bientôt ! &6{star_galaxy}</scroll>'
  392. interval: 2 # When using preset effects. The interval will apply to that effect
  393. # Do you want to randomize the animation frames?
  394. random: false
  395. # For empty lines just add another 'section' but just don't put any text
  396. # in it so it acts like an empty line.
  397. spacer2:
  398. frames: []
  399. interval: 100
  400. random: false
  401. timesplayed-label: #Switch between site, times played and health
  402. text:
  403. - '&b&l> $setting_label-color$&lArgent:'
  404. - '&b&l> $setting_label-color$&lRankup:'
  405. - '$setting_enable-health$&b&l> $setting_label-color$&lProgression:'
  406. - '&b&l> $setting_label-color$&lBlocs minés:'
  407. interval: 100
  408. random: false
  409. timesplayed: #Switch between site, times played and health
  410. frames:
  411. - '{ezrankspro_balance_formatted}'
  412. - '{ezrankspro_nextrankup}'
  413. - '{ezrankspro_progressbar}'
  414. - '{ezblocks_blocksmined}'
  415. interval: 100
  416. random: false
  417. # For empty lines just add another 'section' but just don't put any text
  418. # in it so it acts like an empty line.
  419. spacer3:
  420. frames: []
  421. interval: 100
  422. random: false
  423. server-label:
  424. frames:
  425. - '&b&l> $setting_label-color$&lInfos:'
  426. interval: 100
  427. random: false
  428. server-line1:
  429. frames:
  430. - '&a{time}'
  431. interval: 1
  432. random: false
  433. server-line2:
  434. frames:
  435. - '{onlineplayers} &ajoueurs connectés'
  436. interval: 100
  437. random: false
  438. server-line3:
  439. frames:
  440. - '&b www.arafight.net'
  441. interval: 100
  442. random: false
  443. # This is the same as the header. It is not needed since you already use the header as the longest line
  444. # but it looks cleaner having a footer.
  445. footer:
  446. frames:
  447. - '<rainbow>&m+---------------------+</rainbow>'
  448. interval: 10
  449. random: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement