View difference between Paste ID: eVjq0Fnt and B60ye3kM
SHOW: | | - or go back to the newest paste.
1
# ---------------------------------------------- #
2
#              General Configuration             #
3
# ---------------------------------------------- #
4
# If you are unsure of how to use this file,     #
5
# but would like to change how the plugin shows  #
6
# text, visit the BukkitDev page at:             #
7
# http://dev.bukkit.org/bukkit-plugins/skillapi/ #
8
# and look at the default configuration section  #
9
# ---------------------------------------------- #
10
Accounts:
11
  #
12
  # The main class group used for GUI displays
13
  main-class-group: class
14
  #
15
  # Currently disabled, ignore this
16
  one-per-class: false
17
  #
18
  # The max number of accounts a normal user can use
19
  max-accounts: 3
20
  #
21
  # The max number of accounts users can have with certain permissions
22
  # must be in the format '<permission>:<accounts>'
23
  perm-accounts:
24
  - 'skillapi.account.admin:10'
25
#
26
# While targeting settings aren't necessary most of the time,
27
# they can help make running ally checks much faster if
28
# you are able to use them.
29
Targeting:
30
  #
31
  # Whether or not all monsters are enemies.
32
  # If you are using pets that include zombies/spiders/etc,
33
  # you shouldn't enable this.
34
  # If you want to enable it for specific worlds, list out the
35
  # worlds it should apply to in a list format such as:
36
  # monsters-enemy:
37
  # - world1
38
  # - world2
39
  monsters-enemy: false
40
  #
41
  # Whether or not all passive mobs are allies.
42
  # If there are custom passive mobs that you can fight,
43
  # you should not enable this.
44
  # If you want to enable it for specific worlds, list out the
45
  # worlds it should apply to in a list format such as:
46
  # passive-ally:
47
  # - world1
48
  # - world2
49
  passive-ally: false
50
  #
51
  # Whether or not all players are allies.
52
  # If you have any PvP, this should not be enabled.
53
  # If you want to enable it for specific worlds, list out the
54
  # worlds it should apply to in a list format such as:
55
  # player-ally:
56
  # - world1
57
  # - world2
58
  player-ally: false
59
#
60
Saving:
61
  #
62
  # Whether or not to auto save data periodically
63
  auto-save: false
64
  #
65
  # How often to auto-save in minutes
66
  minutes: 30
67
  #
68
  # Whether or not to use an SQL database to save
69
  sql-database: false
70
  #
71
  # Details for connecting to the database
72
  sql-details:
73
    host: localhost
74
    port: 54321
75
    database: plugins
76
    username: username
77
    password: password
78
#
79
Classes:
80
  #
81
  # Whether or not to use SkillAPI's health system
82
  modify-health: true
83
  #
84
  # The default health for players without a class
85
  classless-hp: 20
86
  #
87
  # Whether or not non-castable auto-leveled skills are shown
88
  show-auto-skills: false
89
  #
90
  # Whether or not attributes are enabled
91
  attributes-enabled: false
92
  #
93
  # Whether or not attributes can be refunded
94
  attributes-downgrade: false
95
  #
96
  # This casts the dynamic skill for the player when they level up,
97
  # allowing you to use dynamic mechanics for level up effects. If
98
  # there is no existing dynamic skill with the name, no effect
99
  # will be played. For level-specific effects, use the level condition.
100
  level-up-skill: 'lvlup'
101
#
102
Mana:
103
  #
104
  # Whether or not to use SkillAPI's mana system
105
  enabled: true
106
  #
107
  # How frequently mana is gained in seconds
108
  freq: 1
109
#
110
Skills:
111
  #
112
  # Whether or not players are allowed to downgrade skills
113
  allow-downgrade: true
114
  #
115
  # Whether or not messages should be shown on casting a skill
116
  show-messages: true
117
  #
118
  # The radius in which to show cast messages to nearby players
119
  message-radius: 20
120
  #
121
  # Whether or not to apply damage knockback when damage is blocked
122
  # by defensive or offesnive buffs and debuffs
123
  knockback-no-damage: false
124
  #
125
  # Blocks to ignore when using the Block mechanic in dynamic skills
126
  # End values in an * to do all materials containing the value
127
  block-filter:
128
  - 'chest'
129
  - 'ender chest'
130
  - 'trapped chest'
131
  - 'redstone*'
132
  - 'wall sign'
133
  - 'sign post'
134
#
135
Items:
136
  #
137
  # Whether or not to check for class, level, and attribute
138
  # requirements in an item's lore
139
  lore-requirements: true
140
  #
141
  # Whether or not to check for skill requirements
142
  # in an item's lore
143
  skill-requirements: false
144
  #
145
  # Whether or not to check for stat bonuses in an item's lore
146
  lore-attributes: false
147
  #
148
  # Whether or not to drop weapons when unable to use them
149
  drop-weapon: false
150
  #
151
  # The text used for class requirements in the lore
152-
  lore-class-text: 'Class'
152+
  lore-class-text: 'Class: '
153
  #
154
  # The text used for skill requirements in lore
155
  lore-skill-text: 'Requires {skill}: '
156
  #
157
  # the text used for level requirements in the lore
158-
  lore-level-text: 'Level'
158+
  lore-level-text: 'Level: '
159
  #
160
  # The text used for excluded classes in the lore
161
  lore-exclude-text: 'Excluded Class: '
162
  #
163
  # The text used for attribute requirements
164
  lore-attribute-text: '{attr} Req: '
165
  #
166
  # The text used for providing attributes
167
  attribute-text: '{attr}: '
168
  #
169
  # The slots to check for items in and apply requirements to.
170
  # This does not include held item, as that fluctuates and is assumed
171
  # Slots are based on the following:
172
  # 0-8 = hot bar
173
  # 9-35 = main inventory
174
  # 36 = boots
175
  # 37 = leggings
176
  # 38 = chestplate
177
  # 39 = helmet
178
  # 40 = off hand
179
  slots:
180
  - 36
181
  - 37
182
  - 38
183
  - 39
184
  - 40
185
#
186
GUI:
187
  #
188
  # Whether or not to lock the health bar to 10 hearts
189
  # This does not affect total health, only the display
190
  old-health-bar: true
191
  #
192
  # Whether or not to force SkillAPI to override
193
  # health scaling of other plugins
194
  force-scaling: false
195
  #
196
  # This is what to display using the level bar, if anything.
197
  # Options are: none, mana, level
198
  level-bar: level
199
  #
200
  # This is what to display using the food bar, if anything.
201
  # Options are: none, mana, exp
202
  food-bar: mana
203
  #
204
  # Whether or not to use the action bar
205
  use-action-bar: true
206
  #
207
  # The text to display on the action bar.
208
  # Available filters:
209
  #   {combo}       - the player's current click combo
210
  #   {class}       - the player's main class name
211
  #   {level}       - the player's main class level
212
  #   {exp}         - the player's main class exp
213
  #   {expReq}      - the player's main class required experience
214
  #   {expLeft}     - the player's main class experience until the next level
215
  #   {health}      - the player's current health
216
  #   {maxHealth}   - the player's max health
217
  #   {mana}        - the player's current mana
218
  #   {maxMana}     - the player's max mana
219
  #   {name}        - the name of the player
220
  #   {attr}        - the player's attribute points
221
  #   {sp}          - the player's main class skill points
222
  #   {value:<key>} - a skill value
223
  action-bar-text: '{combo}'
224
  #
225
  # Whether or not to use title messages
226
  title-enabled: false
227
  #
228
  # Duration for title messages in seconds
229
  title-duration: 3
230
  #
231
  # Fade in time for title messages in seconds
232
  title-fade-in: 0.5
233
  #
234
  # Fade out time for title messages in seconds
235
  title-fade-out: 0.5
236
  #
237
  # Messages to display using the Title bar
238
  # Second lines of messages will be displayed in the subtitle
239
  # Ones you can use include:
240
  #   level_up
241
  #   exp_gained
242
  #   exp_lost
243
  #   status
244
  title-messages:
245
  - level_up
246
  - exp_lost
247
  #
248
  # Whether or not to display class information on a scoreboard
249
  scoreboard-enabled: true
250
  #
251
  # Whether or not to add a prefix to players with their class name
252
  show-class-name: true
253
  #
254
  # Whether or not to display a player's level below their name
255
  show-class-level: true
256
  #
257
  # The text to show with the player's level when enabled.
258
  # This always appears as {level} {text}
259
  class-level-text: 'Level'
260
#
261
Casting:
262
  #
263
  # Whether or not the main casting option is enabled
264
  enabled: true
265
  #
266
  # Whether or not to use the mult-bar implementation.
267
  # When enabled:
268
  # - Left/Right clicking on item opens skill bars
269
  # - Skills assigned through tree
270
  # - Preview when hovering in the skill bar
271
  # - Limited number of skills can be put on skill bars
272
  # When disabled:
273
  # - Left/Right clicking on item cycles through skills
274
  # - Preview when hovering the item
275
  # - No limit on skills (though makes cycling hard to find skills)
276
  bars: true
277
  #
278
  # Whether or not to use the combat bar implementation. Details:
279
  # - Specified slot becomes a toggle item
280
  # - Can optionally move over or require interacting (left, right, or drop) to swap modes
281
  # - Swaps between combat mode and passive mode
282
  # - In combat mode, works like the classic skill bar
283
  # - In passive mode, no skills are shown
284
  # - Passive and combat modes each have their own stored contents
285
  # - combat mode uses the skill bar settings
286
  combat: false
287
  #
288
  # Global cooldown between skill casts in seconds
289
  cooldown: 0
290
  #
291
  # Settings for skill target indicators that play effects
292
  # to show where a skill will hit
293
  cast-indicator:
294
    #
295
    # Whether or not the feature is enabled
296
    enabled: true
297
    #
298
    # How tightly to pack particles in the effect. A higher
299
    # density will play more particles. It represents the
300
    # amount of particles played per block units
301
    density: 1
302
    #
303
    # How often the particles are played for the effect
304
    # in plays per second
305
    frequency: 10
306
    #
307
    # How fast position animations happen in blocks per second
308
    animation: 1
309
    #
310
    # Particle to use when it has a target
311
    particle:
312
      particle: 'crit'
313
      dx: 0
314
      dy: 0
315
      dz: 0
316
      speed: 0
317
      amount: 1
318
  #
319
  # The slot the item is kept in, must be in the range 1-9
320
  slot: 9
321
  #
322
  # The item to use in the cast slot.
323
  # When not using bars, this only shows up when no skills
324
  # are available for use.
325
  item:
326
    type: BOOK
327
    data: 0
328
    durability: 0
329
    name: '&dSkills'
330
    lore:
331
    - ''
332
    - '&6Left Click&2 - First skill set'
333
    - '&6Right Click&2 - Second skill set'
334
    - '&6Q&2 - Organize skills'
335
  #
336
  # The item used in the bar GUI to describe the hover bar
337
  hover-item:
338
    type: BOOKSHELF
339
    data: 0
340
    durability: 0
341
    name: '&6Hover Bar'
342
    lore:
343
    - ''
344
    - 'Skills in this row will'
345
    - 'be usable via left clicking'
346
    - 'the cast item and will let'
347
    - 'you see where they will hit'
348
    - 'before casting them.'
349
  #
350
  # The item used in the bar GUI to describe the instant bar
351
  instant-item:
352
    type: BOOKSHELF
353
    data: 0
354
    durability: 0
355
    name: '&6Instant Bar'
356
    data: 0
357
    durability: 0
358
    name: '&6Instant Bar'
359
    lore:
360
    - ''
361
    - 'Skills in this row will'
362
    - 'be usable via right clicking'
363
    - 'the cast item and will be'
364
    - 'cast immediately when switching'
365
    - 'to their slot.'
366
#
367
Click Combos:
368
  #
369
  # Whether or not to use click combinations
370
  enabled: false
371
  #
372
  # Whether or not players can customize their combos
373
  allow-custom: false
374
  #
375
  # Whether or not left clicks are allowed at all
376
  use-click-left: true
377
  #
378
  # Whether or not right clicks are allowed at all
379
  use-click-right: true
380
  #
381
  # Whether or not shift clicks are allowed at all
382
  use-click-shift: false
383
  #
384
  # How many clicks are needed to perform a combo
385
  combo-size: 4
386
  #
387
  # Inactivity time in seconds before clicks for a combo are reset
388
  click-time: 1.0
389
#
390
Skill Bar:
391
  #
392
  # Whether or not to use skill bars
393
  enabled: false
394
  #
395
  # Whether or not to show skill cooldowns in the skill bar
396
  show-cooldown: true
397
  #
398
  # The item to use as a placeholder in the skill bar
399
  empty-icon:
400
    material: PUMPKIN_SEEDS
401
    data: 0
402
    text: '&7Unassigned'
403
  #
404
  # The default layout for skill bars
405
  # Players can customize unlocked slots
406
  layout:
407
    1:
408
      skill: true
409
      locked: false
410
    2:
411
      skill: true
412
      locked: false
413
    3:
414
      skill: true
415
      locked: false
416
    4:
417
      skill: true
418
      locked: false
419
    5:
420
      skill: true
421
      locked: false
422
    6:
423
      skill: false
424
      locked: false
425
    7:
426
      skill: false
427
      locked: false
428
    8:
429
      skill: false
430
      locked: false
431
    9:
432
      skill: false
433
      locked: false
434
#
435
Experience:
436
  #
437
  # Whether or not to use vanilla exp drops for class exp
438
  # Note: any dropped exp will not count towards class exp,
439
  # only enabled sources will count. By default, this is only
440
  # mob deaths.
441
  use-exp-orbs: true
442
  #
443
  # Whether or not to prevent gaining experience from mobs
444
  # spawned via a mob spawner block
445
  block-mob-spawner: true
446
  #
447
  # Whether or not to prevent gaining experience from mobs
448
  # spawned via a mob spawn egg
449
  block-mob-egg: true
450
  #
451
  # Whether or not to prevent gaining experience while
452
  # in creative mode
453
  block-creative: true
454
  #
455
  # Whether or not to display a message when gaining experience
456
  exp-message-enabled: true
457
  #
458
  # Whether or not to display a message when gaining a level
459
  level-message-enabled: true
460
  #
461
  # Whether or not to show a message when losing exp de to dying
462
  lose-exp-message: true
463
  #
464
  # The formula used for calculating required experience
465
  # The formula is: x*lvl*lvl + y*lvl + z
466
  formula:
467
    x: 1
468
    y: 8
469
    z: 16
470
  #
471
  # Whether or not to use a custom equation
472
  use-custom: false
473
  #
474
  # The custom formula to use with 'lvl' being the current player level
475
  custom-formula: '25(1.1^(lvl-1))'
476
  #
477
  # The experience yields from each mob type
478
  # When exp orbs are enabled, these values are ignored
479
  yields:
480
    blaze: 10
481
    cavespider: 5
482
    creeper: 3
483
    elderguardian: 10
484
    enderdragon: 400
485
    enderman: 5
486
    endermite: 3
487
    ghast: 5
488
    giant: 20
489
    guardian: 10
490
    irongolem: 10
491
    magmacube: 1
492
    pigzombie: 5
493
    player: 5
494
    shulker: 5
495
    silverfish: 2
496
    skeleton: 3
497
    slime: 1
498
    spider: 3
499
    witch: 3
500
    wither: 500
501
    witherskeleton: 5
502
    zombie: 2
503
#
504
# How much logging to do when loading SkillAPI
505
# When testing setting up skills/classes, increase this to 1-5
506
Logging:
507
  #
508
  # Logs for loading attributes
509
  attribute-load: 0
510
  #
511
  # Logs for attack/defense buffs applying
512
  buff: 0
513
  #
514
  # Logs for registration of skills and classes
515
  registration: 0
516
  #
517
  # Logs for GUI updates
518
  gui: 0
519
  #
520
  # Logs for mana updates
521
  mana: 0
522
#
523
Worlds:
524
  #
525
  # Whether or not to enable the world restriction
526
  enable: false
527
  #
528
  # Whether or not to use the list as an enabling list
529
  # If true, only worlds in the list will let players use SkillAPI
530
  # If false, any world not in the list will let players use SkillAPI
531
  use-as-enabling: true
532
  #
533
  # The worlds to include in the enable/disable list
534
  worlds:
535
  - world