View difference between Paste ID: sPhGiEkB and HhWpXBbJ
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
# Tweaks to increase performance (Use at own risk)
77
tweaks:
78
  # This option does not send scoreboard remove packets
79
  # to the client on quit. This can increase performance on servers
80
  # where players quit a lot (hubs, ...)
81
  #
82
  # Removal of the plugin requires you to manually delete the scoreboard.dat in the worlds
83
  # /data folder
84
  #
85
  # Enabling this can cause the scoreboard not to work anymore. Use at your own risk
86
  keepScoreboardOnQuit: false
87
  # Some placeholders have a slow process behind them. Meaning they might contact a database
88
  # and take a while to 'resolve'. This will never cause lagg since the placeholders are loaded
89
  # separate from the sending. But can slow down the animation because it has to wait
90
  # for the placeholder to be loaded. When having multiple lines like a text that shows
91
  # the information about the placeholders you put below it, this can cause problems.
92
  # Enabling this will output a message in the console and ingame to operators
93
  # saying when a placeholder is causing delays.
94
  detect-placeholderdelay: false
95
  # Putting this to true will SPAM your console with timings report per placeholder/animation
96
  # refresh. Used for debugging purposes.
97
  # This requires detect-placeholderdelay to true
98
  verbose-placeholder-timings: false
99
  # Ignore placeholder problems
100
  # When set to true, the placeholder will not be disabled
101
  # this also means that no ERRORS will be logged -> no troubleshooting
102
  ignore-placeholder-problems: false
103
# Toggling allows you to disable the scoreboard
104
database:
105
  # If you want the toggle to stay even when your users
106
  # log off you can enable this. Keep in mind that this requires a
107
  # MySQL or SQLite database.
108
  # If you are configuring the plugin for the first time it is advised
109
  # to stay away from these settings until you managed the scoreboard
110
  # set up.
111
  persistent: false
112
  # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
113
  # with isolation, url, driver, ...
114
  # Database name
115
  database: "featherboard"
116
  # Database username
117
  username: bukkit
118
  # Database isolation type
119
  isolation: SERIALIZABLE
120
  # Database driver
121
  driver: org.sqlite.JDBC
122
  # Database password
123
  password: walrus
124
  # Database driver URL
125
  # {DIR} will be replaced with the plugin directory
126
  # {NAME} will be replaced wit the plugin name
127
  url: jdbc:sqlite:{DIR}{NAME}.db
128
  # Save interval in ticks
129
  save-interval: 6000
130
131
# Disabled worlds. Add your world name in this list to
132
# disable it.
133
disabled-worlds:
134
- 'example_world'
135
136
# Show delay on join. Usefull if you wish to let the user
137
# enjoy a Title MOTD without having the scoreboard obstructing
138
# the view.
139
show-delay: 0
140
141
# Anti Flicker will use a new engine that will allow you to use fast animations
142
# without any flicker.
143
# You can disable this feature if you do not have fast refresh rates.
144
antiflicker: true
145
146
# Scoreboard assigning. The boards can be assigned by various ways.
147
# default the scoreboards will be assigned by permissions.
148
# You can only have one way of assigning the scoreboards
149
#
150
# PERMISSION     -     Assign scoreboards based on permissions
151
#                   This is the default setting (since 2014)
152
#                   featherboard.group.<scoreboard>
153
#
154
# GROUP            -    Assign scoreboards based on Vault groups
155
#                    this means the scoreboard name has to
156
#                    have the name of your Vault group.
157
#
158
# WORLD            -    Assign scoreboards based on the world
159
#                    the player is in.
160
#
161
# NONE            -    Do no assign scoreboards and just rely on
162
#                    manual assigning (triggers, etc...)
163
scoreboard-assigning: "PERMISSION"
164
165
# GUI: This is a feature enabling a GUI to select a specific scoreboard
166
# The GUI will show all scoreboards you have permission to. It is not very
167
# configurable in the way you can't control the location or order of the scoreboards
168
# For a more configurable GUI I recommend DeluxeMenus
169
gui:
170
  # This is the title of the GUI
171
  title: "Scoreboards"
172
  # Size of the GUI (leave to -1 to make it dynamic)
173
  # Sizes: 9,27,54
174
  size: -1
175
176
# A list of different scoreboards
177
boards:
178
  # Default FeatherBoard comes with a board called "default". All players have the permission
179
  # featherboard.group.default  (by default) meaning all players should see the scoreboard unless
180
  # the permission is negated.
181
  #
182
  # You can create as many boards as you want as long as the name is unique. It is advised to give logical
183
  # names such as "vip-board", "mcmmo-levelup", ...
184
  default:
185
    # Every section here are different lines. The first section will be used as the title
186
    # the following sections will be used as the lines on the scoreboard (max 15)
187
    # Just as the scoreboard names you can name these 'lines' whatever you want. But to make
188
    # things simple I will use logical names such as "title", "spacer", "header", ...
189
    title:
190
      # Every line has its own frames. The animation will loop through these frames on intervals
191
      # that you configure below.
192
      # Put all your frames under 'text:'. You can make as many lines as you want and use
193
      # placeholders and preset effects.
194
      # Keep in mind that there is a limit in line width!
195
      text:
196
      # To create cool looking animations you create yourself
197
      # you can use the graphical tool AnimationCreator
198
      # https://www.spigotmc.org/resources/animationcreator.6001/
199
      # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
200
      # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
201
      - '<single><delay times="10">&f&lThemeParkServer</delay></single>'
202
      - '<single>&e&lThemePark&6&lServer</single>'
203
      - '<single>&6&lThemePark&e&lServer</single>'
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-
      - ' <delay times="10">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
207+
208-
      - '<glow glowsize="5">FeatherBoard</glow>'
208+
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
      - '<rainbow>&m+---------------------+</rainbow>'
217
      interval: 10
218
      random: true
219
    player-label:
220
      text:
221
      - '&b&l> &e&lPlayer Info:'
222
      interval: 100
223
      random: false
224
    player-line1:
225
      text:
226
      - '&o<cmd repeatmiddle="20">{player}</cmd>'
227
      - '&o<cmd repeatmiddle="20">{locale}</cmd>'
228
      interval: 2
229
      random: false
230
    player-line2:
231
      text:
232
      - '{ping} &7ms latency'
233
      interval: 2
234
      random: false
235
    # For empty lines just add another 'section' but just don't put any text
236
    # in it so it acts like an empty line.
237
    spacer1:
238
      text: []
239
      interval: 100
240
      random: false
241
    news-info:
242
      text:
243
      - '&b&l> &e&lNews:'
244
      interval: 100
245
      random: false
246
    news:
247
      # Lets create some animated news
248
      # News is something you need to write quick
249
      # and usually you don't want to spend ages on creating
250
      # some cool effect. That is why FeatherBoard features
251
      # several presets you can use.
252
      text:
253
      - '<scroll width="29">&cAttention! &7Please do not forget to give this plugin a &e{star_galaxy}{star_galaxy}{star_galaxy}{star_galaxy}{star_galaxy}&7 rating!</scroll>'
254
      interval: 2 # When using preset effects. The interval will apply to that effect
255
      # Do you want to randomize the animation frames?
256
      random: false
257
    # For empty lines just add another 'section' but just don't put any text
258
    # in it so it acts like an empty line.
259
    spacer2:
260
      text: []
261
      interval: 100
262
      random: false
263
    timesplayed-label: #Switch between site, times played and health
264
      text:
265
      - '&b&l> &e&lSite:'
266
      - '&b&l> &e&lPlayed:'
267
      - '&b&l> &e&lHealth:'
268
      interval: 100
269
      random: false
270
    timesplayed: #Switch between site, times played and health
271
      text:
272
      - 'www.mvdw-software.com'
273
      - '{stat_timesplayed}'
274
      - '{healthbar}'
275
      interval: 100
276
      random: false
277
    # For empty lines just add another 'section' but just don't put any text
278
    # in it so it acts like an empty line.
279
    spacer3:
280
      text: []
281
      interval: 100
282
      random: false
283
    server-label:
284
      text:
285
      - '&b&l> &e&lServer Info:'
286
      interval: 100
287
      random: false
288
    server-line1:
289
      text:
290
      - '<repeat times=200>{usedram} &7MB &8&l/ &f{totalram} &7MB</repeat>' #Refresh the ram 200 times
291
      - '<repeat times=100>{tps_rounded} &7TPS &7&o(Avg {avgtps_rounded})</repeat>' #Refresh the tps 100 times
292
      interval: 1
293
      random: false
294
    server-line2:
295
      text:
296
      - '{onlineplayers} &aonline players'
297
      interval: 10
298
      random: false
299
    # This is the same as the header. It is not needed since you already use the header as the longest line
300
    # but it looks cleaner having a footer.
301
    footer:
302
      text:
303
      - '<rainbow>&m+---------------------+</rainbow>'
304
      interval: 10
305
      random: true
306
    # This is a combat scoreboard example showing
307
  # combat related information.
308
  # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
309
  # (Unless you want it to show all the time)
310
  # You still need to 'trigger' this scoreboard in the vanilla_combat
311
  combat-scoreboard-example:
312
    # Lets just use the title,header and footer from the example above
313
    # for in depth configuration look above.
314
    #
315
    # When designing a board that is used when triggered on an event. You have
316
    # to think (before looking at the placeholders) what is relevant.
317
    # For example: When I think of combat my first thoughts are:
318
    # - Health: To see how much you have left
319
    # - Possible cooldown timers
320
    # - With who am I in combat?
321
    # - Target health
322
    # - mcMMO attacking level?
323
    #
324
    # Next you have to think what is important during that event:
325
    # - Combat: not too much distraction (no animations, smaller scoreboard)
326
    #
327
    # Once you know those things start looking for placeholders. A lot of events such
328
    # as mcmmo have placeholders that can only be used in such events.
329
    title:
330
      text:
331
      # To create cool looking animations you create yourself
332
      # you can use the graphical tool AnimationCreator
333
      # https://www.spigotmc.org/resources/animationcreator.6001/
334
      # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
335
      # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
336
      - '<single><delay times="10">&l><</delay></single>'
337
      - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
338
      - '<single>&f&lherB</single>'
339
      - '<single>&f&lherBo</single>'
340
      - '<single>&f&latherBoa</single>'
341
      - '<single>&f&leatherBoar</single>'
342
      - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
343
      interval: 2
344
      random: false
345
    header:
346
      text:
347
      - '&a&m+-----------------+'
348
      interval: 10
349
      random: true
350
    combat-label:
351
      text:
352
      - '&8&l> &7&lCombat target:'
353
      interval: 100
354
      random: false
355
    combat-data:
356
      text:
357
      - '{vanilla-combat_opponent_name}'
358
      interval: 2
359
      random: false
360
    spacer1:
361
      text: []
362
      interval: 100
363
    health-label:
364
      text:
365
      - '&8&l> &7&lHealth stats:'
366
      interval: 100
367
      random: false
368
    health-data-1:
369
      text:
370
      - '&aYou: {healthbar}'
371
      interval: 1
372
      random: false
373
    health-data-2:
374
      text:
375
      - '&cTarget: {vanilla-combat_opponent_healthbar}'
376
      interval: 1
377
      random: false
378
    footer:
379
      text:
380
      - '&a&m+-----------------+'
381
      interval: 10
382
      random: true
383
  # This is an example for mcMMO when you level up
384
  # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
385
  # (Unless you want it to show all the time)
386
  # You still need to 'trigger' this scoreboard in the 'mcmmo-levelup'
387
  mcmmo-levelup:
388
    title:
389
      text:
390
      # To create cool looking animations you create yourself
391
      # you can use the graphical tool AnimationCreator
392
      # https://www.spigotmc.org/resources/animationcreator.6001/
393
      # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
394
      # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
395
      - '<single><delay times="10">&l><</delay></single>'
396
      - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
397
      - '<single>&f&lherB</single>'
398
      - '<single>&f&lherBo</single>'
399
      - '<single>&f&latherBoa</single>'
400
      - '<single>&f&leatherBoar</single>'
401
      - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
402
      interval: 2
403
      random: false
404
    header:
405
      text:
406
      - '&a&m+-----------------+'
407
      interval: 10
408
      random: true
409
    info-label:
410
      text:
411
      # mcMMO-levelup comes with several event specific placeholders
412
      - '&bCongrats! Level up: {mcmmo-levelup_levelsgained}'
413
      interval: 10
414
    spacer1: # This is a spacer an empty line
415
      text:
416
      - ''
417
      interval: 10
418
      # Do you want to randomize the animation frames?
419
      random: false
420
    skill-label: # You can add elements to the group and name them like you want
421
      # Lets make a static label
422
      text:
423
      - '&9&l> &e&lSkill:'
424
      interval: 10 # The interval is not important since its just 1 static text.
425
      # Do you want to randomize the animation frames?
426
      random: false
427
    skill:
428
      # Lets make a static label
429
      text:
430
      - '{mcmmo-levelup_skill_name}'
431
      interval: 10 # The interval is not important since its just 1 static text.
432
      # Do you want to randomize the animation frames?
433
      random: false
434
    spacer2: # This is a spacer an empty line
435
      text:
436
      - ''
437
      interval: 100
438
      # Do you want to randomize the animation frames?
439
      random: false
440
    skilllevel-label: # You can add elements to the group and name them like you want
441
      # Lets make a static label
442
      text:
443
      - '&b&l> &e&lCurrent level:'
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
    skilllevel:
448
      # Lets make a static label
449
      text:
450
      - '{mcmmo-levelup_skilllevel}'
451
      interval: 10 # The interval is not important since its just 1 static text.
452
      # Do you want to randomize the animation frames?
453
      random: false
454
    footer:
455
      text:
456
      - '&a&m+-----------------+'
457
      interval: 10
458
      random: true
459
  # This is an example for Towny when you enter a town
460
  # DO NOT GIVE THE PERMISSION FOR THIS SCOREBOARD
461
  # (Unless you want it to show all the time)
462
  # You still need to 'trigger' this scoreboard in the 'towny-town'
463
  towny-town-example:
464
    # Lets just use the title,header and footer from the example above
465
    # for in depth configuration look above.
466
    title:
467
      text:
468
      # To create cool looking animations you create yourself
469
      # you can use the graphical tool AnimationCreator
470
      # https://www.spigotmc.org/resources/animationcreator.6001/
471
      # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
472
      # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
473
      - '<single><delay times="10">&l><</delay></single>'
474
      - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
475
      - '<single>&f&lherB</single>'
476
      - '<single>&f&lherBo</single>'
477
      - '<single>&f&latherBoa</single>'
478
      - '<single>&f&leatherBoar</single>'
479
      - ' <delay times="100">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
480
      interval: 2
481
      random: false
482
    header:
483
      text:
484
      - '&a&m+-------------------+'
485
      interval: 10
486
      random: true
487
    town-label:
488
      text:
489
      - '&bYou are in town:'
490
      interval: 100
491
    town-data:
492
      text:
493
      - '{towny_currenttown_name}'
494
      interval: 100
495
    spacer1:
496
      text: []
497
      interval: 100
498
    townboard-label:
499
      text:
500
      - '&bTown board:'
501
      interval: 100
502
    townboard:
503
      text:
504
      - '&a<scroll minwidth="28" width="30">{towny_currenttown_townboard}</scroll>'
505
      interval: 3
506
    spacer2:
507
      text: []
508
      interval: 100
509
    population-label:
510
      text:
511
      - '&bPopulation:'
512
      interval: 100
513
    poplulation-data:
514
      text:
515
      - '{towny_currenttown_residents}'
516
      interval: 100
517
    footer:
518
      text:
519
      - '&a&m+-------------------+'
520
      interval: 10
521
      random: true