View difference between Paste ID: m2wzaxUf and TdguRsgH
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: 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-
      - '<single><delay times="10">&l><</delay></single>'
203+
      - '&6&lAternal &f&lNetwork
204-
      - '<single>&f&ler</single>' # <single> will allow the frame to only run ONCE
204+
205-
      - '<single>&f&lherB</single>'
205+
206-
      - '<single>&f&lherBo</single>'
206+
207-
      - '<single>&f&latherBoa</single>'
207+
208-
      - '<single>&f&leatherBoar</single>'
208+
209-
      - ' <delay times="10">&f&lFeatherBoard&1&l3</delay>' # <delay> will repeat the line X times
209+
210-
      - '<glow glowsize="5">FeatherBoard</glow>' 
210+
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
      - '&7-------------'
217
      interval: 10
218
      random: true
219
    lobby:
220
      text:
221
      - '&6Lobby &7{isonline@localhost:25567}'
222
      interval: 20
223-
      - '<rainbow>&m+---------------------+</rainbow>'
223+
224
    practice:
225
      text:
226-
    player-label:
226+
      - '&6PracticePvP &7{isonline@localhost:25568}'
227
    uhc:
228-
      - '&b&l> &e&lPlayer Info:'
228+
229-
      interval: 100
229+
      - '&6Hosted UHC &7{isonline@localhost:25569}'
230
      interval: 20
231-
    player-line1:
231+
      random: false  
232
      interval: 20
233-
      - '&o<cmd repeatmiddle="20">{player}</cmd>'
233+
      random: false  
234-
      - '&o<cmd repeatmiddle="20">{locale}</cmd>'
234+
235
    # in it so it acts like an empty line.
236
    footer:
237-
    player-line2:
237+
238
      - '&7-------------'
239-
      - '{ping} &7ms latency'
239+
240
      random: true