SHOW:
|
|
- or go back to the newest paste.
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: true | |
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: root | |
120 | # Database isolation type | |
121 | isolation: SERIALIZABLE | |
122 | # Database driver | |
123 | driver: org.sqlite.JDBC | |
124 | # Database password | |
125 | password: Playstation1! | |
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 | - '<glow repeatfirstframe="10" startglowcolor="&d&l" glowcolor="&d&l" endglowcolor="&d&l" normalcolor="&5&l">Inquity</glow>' | |
204 | # Interval is the animation interval in TICKS (20 ticks is one second). | |
205 | # Every X ticks the animation goes to the next frame (see above) | |
206 | # Once all frames are finished it will start over from the first one | |
207 | interval: 2 | |
208 | # If you don't want a static order of the frames and want to show each frame at random | |
209 | # you can enable this option. | |
210 | random: false | |
211 | # A scoreboard is dynamic. The lines can change length due to smaller placeholders or scrolling text. | |
212 | # that is why it is advised to have something on your scoreboard that is bigger then all other lines. | |
213 | # These lines (usually a header or footer) are also good for decoration. | |
214 | header: | |
215 | text: | |
216 | - '&5+--------------+' | |
217 | interval: 10 | |
218 | random: true | |
219 | player-label: | |
220 | text: | |
221 | - '&d&l> &5&lPlayer Name:' | |
222 | interval: 100 | |
223 | random: false | |
224 | player-line1: | |
225 | text: | |
226 | - '&r{player}' | |
227 | interval: 2 | |
228 | random: false | |
229 | player-line2: | |
230 | text: | |
231 | - '{ping} &7ms latency' | |
232 | interval: 2 | |
233 | random: false | |
234 | spacer6: | |
235 | text: [] | |
236 | interval: 100 | |
237 | random: false | |
238 | player-line3: | |
239 | text: | |
240 | - '&dServer: &7{server}({placeholderapi_premiumvanish_playercount})' | |
241 | interval: 2 | |
242 | random: false | |
243 | spacer7: | |
244 | text: [] | |
245 | interval: 100 | |
246 | random: false | |
247 | # For empty lines just add another 'section' but just don't put any text | |
248 | # in it so it acts like an empty line. | |
249 | news-info: | |
250 | text: | |
251 | - '&d&l> &5Rank:' | |
252 | interval: 100 | |
253 | random: false | |
254 | news: | |
255 | # Lets create some animated news | |
256 | # News is something you need to write quick | |
257 | # and usually you don't want to spend ages on creating | |
258 | # some cool effect. That is why FeatherBoard features | |
259 | # several presets you can use. | |
260 | spacer2: | |
261 | text: [] | |
262 | interval: 100 | |
263 | random: false | |
264 | text: | |
265 | - '{userprefixcolor}&l{group}' | |
266 | interval: 2 # When using preset effects. The interval will apply to that effect | |
267 | # Do you want to randomize the animation frames? | |
268 | random: false | |
269 | # For empty lines just add another 'section' but just don't put any text | |
270 | # in it so it acts like an empty line. | |
271 | timesplayed: #Switch between site, times played and health | |
272 | # For empty lines just add another 'section' but just don't put any text | |
273 | # in it so it acts like an empty line. | |
274 | spacer3: | |
275 | text: [] | |
276 | interval: 100 | |
277 | random: false | |
278 | server-line2: | |
279 | text: | |
280 | - '&a{placeholderapi_premiumvanish_bungeeplayercount} Player(s)' | |
281 | interval: 10 | |
282 | random: false | |
283 | server-line3: | |
284 | text: | |
285 | - '&aon Inquitny.net!' | |
286 | interval: 10 | |
287 | random: false | |
288 | # This is the same as the header. It is not needed since you already use the header as the longest line | |
289 | # but it looks cleaner having a footer. | |
290 | footer: | |
291 | text: | |
292 | - '&5+--------------+' | |
293 | interval: 10 | |
294 | random: true | |
295 | # This is a combat scoreboard example showing | |
296 | # combat related information. | |
297 | # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD | |
298 | # (Unless you want it to show all the time) | |
299 | # You still need to 'trigger' this scoreboard in the vanilla_combat | |
300 | combat-scoreboard-example: | |
301 | # Lets just use the title,header and footer from the example above | |
302 | # for in depth configuration look above. | |
303 | # | |
304 | # When designing a board that is used when triggered on an event. You have | |
305 | # to think (before looking at the placeholders) what is relevant. | |
306 | # For example: When I think of combat my first thoughts are: | |
307 | # - Health: To see how much you have left | |
308 | # - Possible cooldown timers | |
309 | # - With who am I in combat? | |
310 | # - Target health | |
311 | # - mcMMO attacking level? | |
312 | # | |
313 | # Next you have to think what is important during that event: | |
314 | # - Combat: not too much distraction (no animations, smaller scoreboard) | |
315 | # | |
316 | # Once you know those things start looking for placeholders. A lot of events such | |
317 | # as mcmmo have placeholders that can only be used in such events. | |
318 | title: | |
319 | text: | |
320 | # To create cool looking animations you create yourself | |
321 | # you can use the graphical tool AnimationCreator | |
322 | # https://www.spigotmc.org/resources/animationcreator.6001/ | |
323 | # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/ | |
324 | # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/ | |
325 | - '<glow repeatfirstframe="10" startglowcolor="&d&l" glowcolor="&d&l" endglowcolor="&d&l" normalcolor="&5&l">Inquity</glow>' | |
326 | interval: 2 | |
327 | random: false | |
328 | header: | |
329 | text: | |
330 | - '&5+-----------------+' | |
331 | interval: 10 | |
332 | random: true | |
333 | combat-label: | |
334 | text: | |
335 | - '&8&l> &7&lCombat target:' | |
336 | interval: 100 | |
337 | random: false | |
338 | combat-data: | |
339 | text: | |
340 | - '{vanilla-combat_opponent_name}' | |
341 | interval: 2 | |
342 | random: false | |
343 | spacer1: | |
344 | text: [] | |
345 | interval: 100 | |
346 | health-label: | |
347 | text: | |
348 | - '&8&l> &7&lHealth stats:' | |
349 | interval: 100 | |
350 | random: false | |
351 | health-data-1: | |
352 | text: | |
353 | - '&aYou: {healthbar}' | |
354 | interval: 1 | |
355 | random: false | |
356 | health-data-2: | |
357 | text: | |
358 | - '&cTarget: {vanilla-combat_opponent_healthbar}' | |
359 | interval: 1 | |
360 | random: false | |
361 | footer: | |
362 | text: | |
363 | - '&5+-----------------+' | |
364 | interval: 10 | |
365 | random: true | |
366 | # This is an example for mcMMO when you level up | |
367 | # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD | |
368 | # (Unless you want it to show all the time) | |
369 | # You still need to 'trigger' this scoreboard in the 'mcmmo-levelup' | |
370 | mcmmo-levelup: | |
371 | title: | |
372 | text: | |
373 | # To create cool looking animations you create yourself | |
374 | # you can use the graphical tool AnimationCreator | |
375 | # https://www.spigotmc.org/resources/animationcreator.6001/ | |
376 | # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/ | |
377 | # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/ | |
378 | - '<glow repeatfirstframe="10" startglowcolor="&d&l" glowcolor="&d&l" endglowcolor="&d&l" normalcolor="&5&l">Inquity</glow>' | |
379 | interval: 2 | |
380 | random: false | |
381 | header: | |
382 | text: | |
383 | - '&5+-----------------+' | |
384 | interval: 10 | |
385 | random: true | |
386 | info-label: | |
387 | text: | |
388 | # mcMMO-levelup comes with several event specific placeholders | |
389 | - '&dCongrats! Level up: {mcmmo-levelup_levelsgained}' | |
390 | interval: 10 | |
391 | spacer1: # This is a spacer an empty line | |
392 | text: | |
393 | - '' | |
394 | interval: 10 | |
395 | # Do you want to randomize the animation frames? | |
396 | random: false | |
397 | skill-label: # You can add elements to the group and name them like you want | |
398 | # Lets make a static label | |
399 | text: | |
400 | - '&5&l> &d&lSkill:' | |
401 | interval: 10 # The interval is not important since its just 1 static text. | |
402 | # Do you want to randomize the animation frames? | |
403 | random: false | |
404 | skill: | |
405 | # Lets make a static label | |
406 | text: | |
407 | - '{mcmmo-levelup_skill_name}' | |
408 | interval: 10 # The interval is not important since its just 1 static text. | |
409 | # Do you want to randomize the animation frames? | |
410 | random: false | |
411 | spacer2: # This is a spacer an empty line | |
412 | text: | |
413 | - '' | |
414 | interval: 100 | |
415 | # Do you want to randomize the animation frames? | |
416 | random: false | |
417 | skilllevel-label: # You can add elements to the group and name them like you want | |
418 | # Lets make a static label | |
419 | text: | |
420 | - '&d&l> &5&lCurrent level:' | |
421 | interval: 10 # The interval is not important since its just 1 static text. | |
422 | # Do you want to randomize the animation frames? | |
423 | random: false | |
424 | skilllevel: | |
425 | # Lets make a static label | |
426 | text: | |
427 | - '{mcmmo-levelup_skilllevel}' | |
428 | interval: 10 # The interval is not important since its just 1 static text. | |
429 | # Do you want to randomize the animation frames? | |
430 | random: false | |
431 | footer: | |
432 | text: | |
433 | - '&5+-----------------+' | |
434 | interval: 10 | |
435 | random: true | |
436 | # This is an example for Towny when you enter a town | |
437 | # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD | |
438 | # (Unless you want it to show all the time) | |
439 | # You still need to 'trigger' this scoreboard in the 'towny-town' | |
440 | towny-town-example: | |
441 | # Lets just use the title,header and footer from the example above | |
442 | # for in depth configuration look above. | |
443 | title: | |
444 | text: | |
445 | # To create cool looking animations you create yourself | |
446 | # you can use the graphical tool AnimationCreator | |
447 | # https://www.spigotmc.org/resources/animationcreator.6001/ | |
448 | # For all placeholders: https://www.spigotmc.org/wiki/mvdw-placeholders/ | |
449 | # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/ | |
450 | - '<single><delay times="10">&l><</delay></single>' | |
451 | - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE | |
452 | - '<single>&f&lherB</single>' | |
453 | - '<single>&f&lherBo</single>' | |
454 | - '<single>&f&latherBoa</single>' | |
455 | - '<single>&f&leatherBoar</single>' | |
456 | - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times | |
457 | interval: 2 | |
458 | random: false | |
459 | header: | |
460 | text: | |
461 | - '&a&m+-------------------+' | |
462 | interval: 10 | |
463 | random: true | |
464 | town-label: | |
465 | text: | |
466 | - '&bYou are in town:' | |
467 | interval: 100 | |
468 | town-data: | |
469 | text: | |
470 | - '{towny_currenttown_name}' | |
471 | interval: 100 | |
472 | spacer1: | |
473 | text: [] | |
474 | interval: 100 | |
475 | townboard-label: | |
476 | text: | |
477 | - '&bTown board:' | |
478 | interval: 100 | |
479 | townboard: | |
480 | text: | |
481 | - '&a<scroll minwidth="28" width="30">{towny_currenttown_townboard}</scroll>' | |
482 | interval: 3 | |
483 | spacer2: | |
484 | text: [] | |
485 | interval: 100 | |
486 | population-label: | |
487 | text: | |
488 | - '&bPopulation:' | |
489 | interval: 100 | |
490 | poplulation-data: | |
491 | text: | |
492 | - '{towny_currenttown_residents}' | |
493 | interval: 100 | |
494 | footer: | |
495 | text: | |
496 | - '&a&m+-------------------+' | |
497 | interval: 10 | |
498 | random: true |