Advertisement
Guest User

Working FeatherBoard

a guest
Oct 21st, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.22 KB | None | 0 0
  1. # ------------------------------ #
  2. #
  3. # FeatherBoard 3
  4. # Runs like a feather on your server
  5. # (c) Maxim Van de Wynckel
  6. #
  7. # ------------------------------ #
  8.  
  9. # Permissions: To use the action groups give them the permission
  10. # featherboard.group.<group>
  11. # Make sure to remove them from the other groups
  12. # when giving a new permission.
  13.  
  14. # Variables: These variables can be used in the TEXT section
  15. # of both the header as the footer.
  16. #
  17. # {PLAYER} - Player name
  18. # {PLAYERNICK} - Player nickname
  19. # {SERVER} - Server name
  20. # {PLAYERCOUNT} - Server player count
  21. # {BUNGEECOUNT} - Bungee network player count
  22. # 5000+ more ... see spigot page
  23.  
  24. # Formatting: These are formatting tags allowing you to format the animations
  25. # or placeholders.
  26. #
  27. # Substring: This allows you to split a word (even a placeholder) in parts
  28. # example: <substring begin=0 end=3>Hello World</substring> = Hel
  29. # usage: This can be used to split placeholders when creating a typewriter
  30. # or to split the colors in a placeholder.
  31. #
  32. # Scroll: This creates a scrolling animation of the text inside it. It accepts
  33. # two arguments (the length and space between scrolls).
  34. # example: <scroll width=20 spaces=20>&2This is a &atest</scroll>
  35. #
  36. # PLENTY MORE! See spigot page
  37.  
  38. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  39. # GENERAL PLUGIN SETTINGS
  40. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  41.  
  42. ## Config version (DO NOT EDIT)
  43. config: 3
  44.  
  45. ## Language file
  46. lang: 'en'
  47.  
  48. ## Debug mode
  49. debug: false
  50.  
  51. ## Log to file
  52. log:
  53. enabled: true
  54. # Reset log on startup
  55. reset: false
  56.  
  57. ## Update checking
  58. update:
  59. check: true # RECOMMENDED YOU LEAVE THIS TRUE
  60.  
  61. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  62. # PLUGIN SPECIFIC SETTINGS
  63. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  64.  
  65. # Placeholder settings
  66. placeholder:
  67. # logs the memory usage of placeholders on startup
  68. log-memory: false
  69. # Clear unused placeholders that are not enabled.
  70. clear-unused: true
  71. # Config cache only
  72. # This will only use placeholders in the config
  73. # HOWEVER: IT WILL BREAK ALL CUSTOM PLACEHOLDERS!
  74. # IT WILL ALSO PREVENT ANY HOOKS (PlaceholderAPI)
  75. config-cache: false
  76.  
  77. # Tweaks to increase performance (Use at own risk)
  78. tweaks:
  79. # This option does not send scoreboard remove packets
  80. # to the client on quit. This can increase performance on servers
  81. # where players quit a lot (hubs, ...)
  82. #
  83. # Removal of the plugin requires you to manually delete the scoreboard.dat in the worlds
  84. # /data folder
  85. #
  86. # Enabling this can cause the scoreboard not to work anymore. Use at your own risk
  87. keepScoreboardOnQuit: false
  88. # Some placeholders have a slow process behind them. Meaning they might contact a database
  89. # and take a while to 'resolve'. This will never cause lagg since the placeholders are loaded
  90. # separate from the sending. But can slow down the animation because it has to wait
  91. # for the placeholder to be loaded. When having multiple lines like a text that shows
  92. # the information about the placeholders you put below it, this can cause problems.
  93. # Enabling this will output a message in the console and ingame to operators
  94. # saying when a placeholder is causing delays.
  95. detect-placeholderdelay: false
  96. # Putting this to true will SPAM your console with timings report per placeholder/animation
  97. # refresh. Used for debugging purposes.
  98. # This requires detect-placeholderdelay to true
  99. verbose-placeholder-timings: false
  100. # Ignore placeholder problems
  101. # When set to true, the placeholder will not be disabled
  102. # this also means that no ERRORS will be logged -> no troubleshooting
  103. ignore-placeholder-problems: false
  104.  
  105. # Toggling allows you to disable the scoreboard
  106. database:
  107. # If you want the toggle to stay even when your users
  108. # log off you can enable this. Keep in mind that this requires a
  109. # MySQL or SQLite database.
  110. # If you are configuring the plugin for the first time it is advised
  111. # to stay away from these settings until you managed the scoreboard
  112. # set up.
  113. persistent: false
  114. # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
  115. # with isolation, url, driver, ...
  116. # Database name
  117. database: "featherboard"
  118. # Database username
  119. username: bukkit
  120. # Database isolation type
  121. isolation: SERIALIZABLE
  122. # Database driver
  123. driver: org.sqlite.JDBC
  124. # Database password
  125. password: walrus
  126. # Database driver URL
  127. # {DIR} will be replaced with the plugin directory
  128. # {NAME} will be replaced wit the plugin name
  129. url: jdbc:sqlite:{DIR}{NAME}.db
  130. # Save interval in ticks
  131. save-interval: 6000
  132.  
  133. # Disabled worlds. Add your world name in this list to
  134. # disable it.
  135. disabled-worlds:
  136. - 'example_world'
  137.  
  138. # Show delay on join. Usefull if you wish to let the user
  139. # enjoy a Title MOTD without having the scoreboard obstructing
  140. # the view.
  141. show-delay: 0
  142.  
  143. # Anti Flicker will use a new engine that will allow you to use fast animations
  144. # without any flicker.
  145. # You can disable this feature if you do not have fast refresh rates.
  146. antiflicker: true
  147.  
  148. # Scoreboard assigning. The boards can be assigned by various ways.
  149. # default the scoreboards will be assigned by permissions.
  150. # You can only have one way of assigning the scoreboards
  151. #
  152. # PERMISSION - Assign scoreboards based on permissions
  153. # This is the default setting (since 2014)
  154. # featherboard.group.<scoreboard>
  155. #
  156. # GROUP - Assign scoreboards based on Vault groups
  157. # this means the scoreboard name has to
  158. # have the name of your Vault group.
  159. #
  160. # WORLD - Assign scoreboards based on the world
  161. # the player is in.
  162. #
  163. # NONE - Do no assign scoreboards and just rely on
  164. # manual assigning (triggers, etc...)
  165. scoreboard-assigning: "PERMISSION"
  166.  
  167. # GUI: This is a feature enabling a GUI to select a specific scoreboard
  168. # The GUI will show all scoreboards you have permission to. It is not very
  169. # configurable in the way you can't control the location or order of the scoreboards
  170. # For a more configurable GUI I recommend DeluxeMenus
  171. gui:
  172. # This is the title of the GUI
  173. title: "Scoreboards"
  174. # Size of the GUI (leave to -1 to make it dynamic)
  175. # Sizes: 9,27,54
  176. size: -1
  177.  
  178. # A list of different scoreboards
  179. boards:
  180. # Default FeatherBoard comes with a board called "default". All players have the permission
  181. # featherboard.group.default (by default) meaning all players should see the scoreboard unless
  182. # the permission is negated.
  183. #
  184. # You can create as many boards as you want as long as the name is unique. It is advised to give logical
  185. # names such as "vip-board", "mcmmo-levelup", ...
  186. default:
  187. # Every section here are different lines. The first section will be used as the title
  188. # the following sections will be used as the lines on the scoreboard (max 15)
  189. # Just as the scoreboard names you can name these 'lines' whatever you want. But to make
  190. # things simple I will use logical names such as "title", "spacer", "header", ...
  191. title:
  192. # Every line has its own frames. The animation will loop through these frames on intervals
  193. # that you configure below.
  194. # Put all your frames under 'text:'. You can make as many lines as you want and use
  195. # placeholders and preset effects.
  196. # Keep in mind that there is a limit in line width!
  197. text:
  198. # To create cool looking animations you create yourself
  199. # you can use the graphical tool AnimationCreator
  200. # https://www.spigotmc.org/resources/animationcreator.6001/
  201. # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
  202. # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  203. - ' <delay times="20">&f&lRyseEmpire</delay> '
  204. - ' &b&lR&f&lyseEmpire '
  205. - ' &3&lR&b&ly&f&lseEmpire '
  206. - ' &b&lR&3&ly&b&ls&f&leEmpire '
  207. - ' &f&lR&b&ly&3&ls&b&le&f&lEmpire '
  208. - ' &f&lRy&b&ls&3&le&b&lE&f&lmpire '
  209. - ' &f&lRys&b&le&3&lE&b&lm&f&lpire '
  210. - ' &f&lRyse&b&lE&3&lm&b&lp&f&lire '
  211. - ' &f&lRyseE&b&lm&3&lp&b&li&f&lre '
  212. - ' &f&lRyseEmpi&b&lr&3&le '
  213. - ' &f&lRyseEmpir&b&le '
  214. - ' &f&lRyseEmpire '
  215. # Interval is the animation interval in TICKS (20 ticks is one second).
  216. # Every X ticks the animation goes to the next frame (see above)
  217. # Once all frames are finished it will start over from the first one
  218. interval: 2
  219. # If you don't want a static order of the frames and want to show each frame at random
  220. # you can enable this option.
  221. random: false
  222. # A scoreboard is dynamic. The lines can change length due to smaller placeholders or scrolling text.
  223. # that is why it is advised to have something on your scoreboard that is bigger then all other lines.
  224. # These lines (usually a header or footer) are also good for decoration.
  225. header:
  226. text:
  227. - '<rainbow>&m+---------------------+</rainbow>'
  228. interval: 10
  229. random: true
  230. player-label:
  231. text:
  232. - '&b&l> &e&lPlayer Info:'
  233. interval: 100
  234. random: false
  235. player-line1:
  236. text:
  237. - '&o<cmd repeatmiddle="20">{player}</cmd>'
  238. interval: 2
  239. random: false
  240.  
  241. player-line2:
  242. text:
  243. - '&aBalance: &e${Money}'
  244. interval: 2
  245. random: false
  246. player-line3:
  247. text:
  248. - '&aDeaths: &e{stat_deaths}'
  249. interval: 2
  250. random: false
  251. player-line4:
  252. text:
  253. - '&aRank: &e{group}'
  254. interval: 2
  255. random: false
  256. player-line5:
  257. text:
  258. - '&aPing: &e{ping}'
  259. interval: 2
  260. random: false
  261.  
  262. # For empty lines just add another 'section' but just don't put any text
  263. # in it so it acts like an empty line.
  264. spacer1:
  265. text: []
  266. interval: 100
  267. random: false
  268. Island-Info:
  269. text:
  270. - '&b&l> &e&lIsland Info:'
  271. interval: 100
  272. random: false
  273. player-line6:
  274. text:
  275. - '&aMembers: &e{askyblock_team_members}/4'
  276. interval: 2
  277. random: false
  278. player-line7:
  279. text:
  280. - '&aLevel: &e{askyblock_island_level}'
  281. interval: 2
  282. random: false
  283.  
  284.  
  285. # For empty lines just add another 'section' but just don't put any text
  286. # in it so it acts like an empty line.
  287. # For empty lines just add another 'section' but just don't put any text
  288. # in it so it acts like an empty line.
  289. spacer2:
  290. text: []
  291. interval: 100
  292. random: false
  293.  
  294. news-info:
  295. text:
  296. - '&b&l> &e&lNews:'
  297. interval: 100
  298. random: false
  299. news:
  300. # Lets create some animated news
  301. # News is something you need to write quick
  302. # and usually you don't want to spend ages on creating
  303. # some cool effect. That is why FeatherBoard features
  304. # several presets you can use.
  305. text:
  306. - '<scroll width="29">&cAttention! &7If you do find a &4bug&7, Please remember to report it on the forums! </scroll>'
  307. interval: 2 # When using preset effects. The interval will apply to that effect
  308. # Do you want to randomize the animation frames?
  309. random: false
  310. # For empty lines just add another 'section' but just don't put any text
  311. # in it so it acts like an empty line.
  312. # This is the same as the header. It is not needed since you already use the header as the longest line
  313. # but it looks cleaner having a footer.
  314. footer:
  315. text:
  316. - '<rainbow>&m+---------------------+</rainbow>'
  317. interval: 10
  318. random: true
  319. # This is a combat scoreboard example showing
  320. # combat related information.
  321. # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  322. # (Unless you want it to show all the time)
  323. # You still need to 'trigger' this scoreboard in the vanilla_combat
  324. combat-scoreboard-example:
  325. # Lets just use the title,header and footer from the example above
  326. # for in depth configuration look above.
  327. #
  328. # When designing a board that is used when triggered on an event. You have
  329. # to think (before looking at the placeholders) what is relevant.
  330. # For example: When I think of combat my first thoughts are:
  331. # - Health: To see how much you have left
  332. # - Possible cooldown timers
  333. # - With who am I in combat?
  334. # - Target health
  335. # - mcMMO attacking level?
  336. #
  337. # Next you have to think what is important during that event:
  338. # - Combat: not too much distraction (no animations, smaller scoreboard)
  339. #
  340. # Once you know those things start looking for placeholders. A lot of events such
  341. # as mcmmo have placeholders that can only be used in such events.
  342. title:
  343. text:
  344. # To create cool looking animations you create yourself
  345. # you can use the graphical tool AnimationCreator
  346. # https://www.spigotmc.org/resources/animationcreator.6001/
  347. # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
  348. # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  349. - '<single><delay times="10">&l><</delay></single>'
  350. - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
  351. - '<single>&f&lherB</single>'
  352. - '<single>&f&lherBo</single>'
  353. - '<single>&f&latherBoa</single>'
  354. - '<single>&f&leatherBoar</single>'
  355. - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
  356. interval: 2
  357. random: false
  358. header:
  359. text:
  360. - '&a&m+-----------------+'
  361. interval: 10
  362. random: true
  363. combat-label:
  364. text:
  365. - '&8&l> &7&lCombat target:'
  366. interval: 100
  367. random: false
  368. combat-data:
  369. text:
  370. - '{vanilla-combat_opponent_name}'
  371. interval: 2
  372. random: false
  373. spacer1:
  374. text: []
  375. interval: 100
  376. health-label:
  377. text:
  378. - '&8&l> &7&lHealth stats:'
  379. interval: 100
  380. random: false
  381. health-data-1:
  382. text:
  383. - '&aYou: {healthbar}'
  384. interval: 1
  385. random: false
  386. health-data-2:
  387. text:
  388. - '&cTarget: {vanilla-combat_opponent_healthbar}'
  389. interval: 1
  390. random: false
  391. footer:
  392. text:
  393. - '&a&m+-----------------+'
  394. interval: 10
  395. random: true
  396. # This is an example for mcMMO when you level up
  397. # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  398. # (Unless you want it to show all the time)
  399. # You still need to 'trigger' this scoreboard in the 'mcmmo-levelup'
  400. mcmmo-levelup:
  401. title:
  402. text:
  403. # To create cool looking animations you create yourself
  404. # you can use the graphical tool AnimationCreator
  405. # https://www.spigotmc.org/resources/animationcreator.6001/
  406. # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
  407. # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  408. - '<single><delay times="10">&l><</delay></single>'
  409. - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
  410. - '<single>&f&lherB</single>'
  411. - '<single>&f&lherBo</single>'
  412. - '<single>&f&latherBoa</single>'
  413. - '<single>&f&leatherBoar</single>'
  414. - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
  415. interval: 2
  416. random: false
  417. header:
  418. text:
  419. - '&a&m+-----------------+'
  420. interval: 10
  421. random: true
  422. info-label:
  423. text:
  424. # mcMMO-levelup comes with several event specific placeholders
  425. - '&bCongrats! Level up: {mcmmo-levelup_levelsgained}'
  426. interval: 10
  427. spacer1: # This is a spacer an empty line
  428. text:
  429. - ''
  430. interval: 10
  431. # Do you want to randomize the animation frames?
  432. random: false
  433. skill-label: # You can add elements to the group and name them like you want
  434. # Lets make a static label
  435. text:
  436. - '&9&l> &e&lSkill:'
  437. interval: 10 # The interval is not important since its just 1 static text.
  438. # Do you want to randomize the animation frames?
  439. random: false
  440. skill:
  441. # Lets make a static label
  442. text:
  443. - '{mcmmo-levelup_skill_name}'
  444. interval: 10 # The interval is not important since its just 1 static text.
  445. # Do you want to randomize the animation frames?
  446. random: false
  447. spacer2: # This is a spacer an empty line
  448. text:
  449. - ''
  450. interval: 100
  451. # Do you want to randomize the animation frames?
  452. random: false
  453. skilllevel-label: # You can add elements to the group and name them like you want
  454. # Lets make a static label
  455. text:
  456. - '&b&l> &e&lCurrent level:'
  457. interval: 10 # The interval is not important since its just 1 static text.
  458. # Do you want to randomize the animation frames?
  459. random: false
  460. skilllevel:
  461. # Lets make a static label
  462. text:
  463. - '{mcmmo-levelup_skilllevel}'
  464. interval: 10 # The interval is not important since its just 1 static text.
  465. # Do you want to randomize the animation frames?
  466. random: false
  467. footer:
  468. text:
  469. - '&a&m+-----------------+'
  470. interval: 10
  471. random: true
  472. # This is an example for Towny when you enter a town
  473. # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
  474. # (Unless you want it to show all the time)
  475. # You still need to 'trigger' this scoreboard in the 'towny-town'
  476. towny-town-example:
  477. # Lets just use the title,header and footer from the example above
  478. # for in depth configuration look above.
  479. title:
  480. text:
  481. # To create cool looking animations you create yourself
  482. # you can use the graphical tool AnimationCreator
  483. # https://www.spigotmc.org/resources/animationcreator.6001/
  484. # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/
  485. # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
  486. - '<single><delay times="10">&l><</delay></single>'
  487. - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
  488. - '<single>&f&lherB</single>'
  489. - '<single>&f&lherBo</single>'
  490. - '<single>&f&latherBoa</single>'
  491. - '<single>&f&leatherBoar</single>'
  492. - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
  493. interval: 2
  494. random: false
  495. header:
  496. text:
  497. - '&a&m+-------------------+'
  498. interval: 10
  499. random: true
  500. town-label:
  501. text:
  502. - '&bYou are in town:'
  503. interval: 100
  504. town-data:
  505. text:
  506. - '{towny_currenttown_name}'
  507. interval: 100
  508. spacer1:
  509. text: []
  510. interval: 100
  511. townboard-label:
  512. text:
  513. - '&bTown board:'
  514. interval: 100
  515. townboard:
  516. text:
  517. - '&a<scroll minwidth="28" width="30">{towny_currenttown_townboard}</scroll>'
  518. interval: 3
  519. spacer2:
  520. text: []
  521. interval: 100
  522. population-label:
  523. text:
  524. - '&bPopulation:'
  525. interval: 100
  526. poplulation-data:
  527. text:
  528. - '{towny_currenttown_residents}'
  529. interval: 100
  530. footer:
  531. text:
  532. - '&a&m+-------------------+'
  533. interval: 10
  534. random: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement