Plugin Files
Files that are generated by the plugin.

Config.yml

1
# Default language file
2
lang: en_US
3
4
tax:
5
6
# Should tax be applied to the purchase?
7
enabled: true
8
9
# Tax percentage as decimal
10
amount: 13.0
11
12
database:
13
14
# Should the plugin use a database to store shop data?
15
use database: false
16
17
# What is the connection url/host
18
host: localhost
19
20
# What is the port to database (default is 3306)
21
port: 3306
22
23
# What is the name of the database?
24
name: plugin_dev
25
26
# What is the name of the user connecting?
27
username: root
28
29
# What is the password to the user connecting?
30
password: Password1.
31
32
# Should the database connection use ssl?
33
use ssl: true
34
35
discord:
36
37
# Should the discord messages be enabled?
38
enabled: true
39
40
# Should a message be sent to the discord server when a user sells an item?
41
alert on item sell: true
42
43
# Should a message be sent to the discord server when a user buys an item?
44
alert on item buy: true
45
46
# A list of webhook urls (channels) you want a message sent to
47
webhooks:
48
- https://discord.com/api/webhooks/828398321407361054/IecxENcYA58qdJX4zzxfJIPsDS364raMtzA6_CPZ7hEp93Ou1LBp32gQ8nEkxHM1O8mR
49
user:
50
51
# The name of the user who will send the message
52
username: Shops
53
54
# The avatar image of the discord user
55
avatar picture: https://cdn.kiranhart.com/spigot/shops/icon.png
56
msg:
57
58
# colour of the message bar
59
use random colour: true
60
61
# The color of the embed, it needs to be in hsb format.
62
# Separate the numbers with a -
63
default colour: 137-100-100
64
65
# The title of the message when a user sells an item.
66
item sold title: Item Sold
67
68
# The title of the message when a user buys an item
69
item bought title: Item Bought
70
71
# The title of th message when a user buys items from the cart
72
item bought from cart title: Item(s) Bought
73
player:
74
75
name: Player
76
77
value: '%player%'
78
79
inline: true
80
qty:
81
82
name: Quantity
83
84
value: '%quantity%'
85
86
inline: true
87
price:
88
89
name: Price
90
91
value: $%price%
92
93
inline: true
94
item:
95
96
name: Purchased Item
97
98
value: '%item_name%'
99
100
inline: true
101
cart items:
102
103
name: Purchased Items
104
105
value: '%purchased_items%'
106
107
inline: true
108
109
guis:
110
global items:
111
back button:
112
113
# Settings for the back button
114
item: ARROW
115
116
name: '&e<< Back'
117
118
lore:
119
- '&7Click the button to go'
120
- '&7back to the previous page.'
121
close button:
122
123
# Settings for the close button
124
item: BARRIER
125
126
name: '&cClose'
127
128
lore:
129
- '&7Click to close this menu.'
130
next button:
131
132
# Settings for the next button
133
item: ARROW
134
135
name: '&eNext >>'
136
137
lore:
138
- '&7Click the button to go'
139
- '&7to the next page.'
140
refresh button:
141
142
# Settings for the refresh page
143
item: NETHER_STAR
144
145
name: '&6&LRefresh Page'
146
147
lore:
148
- '&7Click to refresh the currently'
149
- '&7available auction listings.'
150
shops:
151
152
# The name of the inventory
153
title: '&eShops'
154
155
# Should the inventory size according to the total amount of shops?
156
dynamic: true
157
158
# If dynamic is false, it will be use this size (min 2, max 6)
159
size: 6
160
161
# Should the items auto arrange themselves inside the gui, or should items use their specified slots?
162
auto arrange: true
163
164
# Should the empty slots of the gui be filled?
165
fill background: true
166
167
# The item that will be used to fill
168
background item: BLACK_STAINED_GLASS_PANE
169
170
# Valid Placeholders
171
# %shop_display_name%
172
# %shop_id%
173
shop name: '%shop_display_name%'
174
175
# Valid Placeholders
176
# %shop_description%
177
# %shop_item_count%
178
# %shop_is_sell_only%
179
# %shop_is_buy_only%
180
shop lore:
181
- '%shop_description%'
182
- '&7Sell Only: &e%shop_is_sell_only%'
183
- '&7Buy Only: &e%shop_is_buy_only%'
184
- '&7Total Items: &e%shop_item_count%'
185
- ''
186
- '&7Click to buy items from this shop.'
187
shop edit:
188
189
# The name of the inventory
190
# Valid Placeholders
191
# %shop_id%
192
title: '&eEditing %shop_id% Shop'
193
194
# Should the empty slots of the gui be filled?
195
fill background: true
196
197
# The item that will be used to fill
198
background item: BLACK_STAINED_GLASS_PANE
199
items:
200
display icon:
201
202
name: '&eCurrent Shop Icon'
203
204
lore:
205
- '&7Click to change the display icon'
206
display name:
207
208
item: OAK_SIGN
209
210
name: '%shop_display_name%'
211
212
lore:
213
- '&7Click to change the display name'
214
description:
215
216
item: WRITABLE_BOOK
217
218
name: '&eShop Description'
219
220
lore:
221
- '%shop_description%'
222
- ''
223
- '&7Click to change the description'
224
contents:
225
226
item: CHEST
227
228
name: '&eShop Contents'
229
230
lore:
231
- '&7Total Items&f: &e%shop_item_count%'
232
- '&7Click to change item prices to remove them.'
233
toggle public:
234
'on':
235
item: LIME_WOOL
236
name: '&aShop Public'
237
lore:
238
- '&7Click to make shop &cprivate'
239
'off':
240
item: RED_WOOL
241
name: '&cShop Private'
242
lore:
243
- '&7Click to make shop &apublic'
244
toggle sell only:
245
'on':
246
item: LIME_WOOL
247
name: '&aShop is Sell Only'
248
lore:
249
- '&7Click to disable sell only mode'
250
'off':
251
item: RED_WOOL
252
name: '&cShop isn''t Sell Only'
253
lore:
254
- '&7Click to enable sell only mode'
255
toggle buy only:
256
'on':
257
item: LIME_WOOL
258
name: '&aShop is Buy Only'
259
lore:
260
- '&7Click to disable buy only mode'
261
'off':
262
item: RED_WOOL
263
name: '&cShop isn''t Buy Only'
264
lore:
265
- '&7Click to enable buy only mode'
266
sell bonus:
267
268
item: SUNFLOWER
269
270
name: '&eSell Bonus'
271
272
# Valid Placeholders
273
# %shop_sell_bonus%
274
# %shop_sell_bonus_enable%
275
lore:
276
- '&7Current Bonus&f: &a%shop_sell_bonus%%'
277
- '&7Status&f: &e%shop_sell_bonus_enable%'
278
- ''
279
- '&7Left-Click to adjust percentage'
280
- '&7Right-Click to toggle it on/off'
281
buy discount:
282
283
item: SUNFLOWER
284
285
name: '&eBuy Discount'
286
287
# Valid Placeholders
288
# %shop_buy_discount%
289
# %shop_buy_discount_enable%
290
lore:
291
- '&7Current Discount&f: &a%shop_buy_discount%%'
292
- '&7Status&f: &e%shop_buy_discount_enable%'
293
- ''
294
- '&7Left-Click to adjust percentage'
295
- '&7Right-Click to toggle it on/off'
296
toggle permission to see:
297
'on':
298
item: LIME_WOOL
299
name: '&aRequire Permission to See Enabled'
300
lore:
301
- '&7Toggle permission to see to &cOff'
302
'off':
303
item: RED_WOOL
304
name: '&cRequire Permission to See Disabled'
305
lore:
306
- '&7Toggle permission to see to &aOn'
307
toggle permission to sell:
308
'on':
309
item: LIME_WOOL
310
name: '&aRequire Permission to Sell Enabled'
311
lore:
312
- '&7Toggle permission to sell to &cOff'
313
'off':
314
item: RED_WOOL
315
name: '&cRequire Permission to Sell Disabled'
316
lore:
317
- '&7Toggle permission to sell to &aOn'
318
toggle permission to buy:
319
'on':
320
item: LIME_WOOL
321
name: '&aRequire Permission to Buy Enabled'
322
lore:
323
- '&7Toggle permission to buy to &cOff'
324
'off':
325
item: RED_WOOL
326
name: '&cRequire Permission to Buy Disabled'
327
lore:
328
- '&7Toggle permission to buy to &aOn'
329
see permission:
330
331
item: PAPER
332
333
name: '&eSee Permission'
334
335
lore:
336
- '&7Click to change the see permission'
337
- ''
338
- '&7Current Permission&f: &e%shop_see_permission%'
339
sell permission:
340
341
item: PAPER
342
343
name: '&eSell Permission'
344
345
lore:
346
- '&7Click to change the sell permission'
347
- ''
348
- '&7Current Permission&f: &e%shop_sell_permission%'
349
buy permission:
350
351
item: PAPER
352
353
name: '&eBuy Permission'
354
355
lore:
356
- '&7Click to change the buy permission'
357
- ''
358
- '&7Current Permission&f: &e%shop_buy_permission%'
359
shop list:
360
361
# The name of the inventory
362
title: '&eListing Shops'
363
364
# Should the empty slots of the gui be filled?
365
fill background: true
366
367
# The item that will be used to fill
368
background item: BLACK_STAINED_GLASS_PANE
369
370
# Valid Placeholders
371
# %shop_display_name%
372
# %shop_id%
373
shop name: '%shop_display_name%'
374
375
# Valid Placeholders
376
# %shop_display_name%
377
# %shop_id%
378
# %shop_is_public%
379
# %shop_item_count%
380
# %shop_is_sell_only%
381
# %shop_is_buy_only%
382
shop lore:
383
- '&7ID: &e%shop_id%'
384
- '&7Display Name: &e%shop_display_name%'
385
- '&7Public: &e%shop_is_public%'
386
- '&7Sell Only: &e%shop_is_sell_only%'
387
- '&7Buy Only: &e%shop_is_buy_only%'
388
- '&7Total Items: &e%shop_item_count%'
389
- ''
390
- '&7Click to edit this shop'
391
shop contents:
392
393
# The name of the inventory
394
# Valid Placeholders
395
# %shop_id%
396
# %shop_display_name%
397
title: '&e%shop_display_name%'
398
399
# Should the empty slots of the gui be filled?
400
fill background: true
401
402
# The item that will be used to fill
403
background item: BLACK_STAINED_GLASS_PANE
404
405
# Valid Placeholders
406
# %shop_item_name%
407
item name: '%shop_item_name%'
408
409
# Valid Placeholders
410
# %shop_item_sell_price%
411
# %shop_item_buy_price%
412
# %shop_item_quantity%
413
item lore:
414
- '&7Left-click to purchase this item.'
415
- '&7Right-click to add x1 to your cart.'
416
- ''
417
- '&7Sell Price&f: &a$%shop_item_sell_price%'
418
- '&7Buy Price&f: &a$%shop_item_buy_price%'
419
- '&7Base Quantity&f: &a%shop_item_quantity%'
420
421
# Valid Placeholders
422
# %shop_item_sell_price%
423
# %shop_item_buy_price%
424
# %shop_item_sell_only%
425
# %shop_item_buy_only%
426
item lore editing:
427
- '&7Left-click to edit the buy price'
428
- '&7Right-click to edit the sell price'
429
- '&7Shift Left-click to toggle buy only'
430
- '&7Shift Right-click to toggle sell only'
431
- ''
432
- '&7Sell Price&f: &a$%shop_item_sell_price%'
433
- '&7Buy Price&f: &a$%shop_item_buy_price%'
434
- '&7Sell Only&f: &a%shop_item_sell_only%'
435
- '&7Buy Only&f: &a%shop_item_buy_only%'
436
437
cart item: CHEST
438
439
cart name: '&eView Cart'
440
441
# Valid Placeholders
442
# %shop_cart_item_count%
443
# %shop_cart_total%
444
cart lore:
445
- '&7Click to view your cart'
446
- ''
447
- '&7Cart Items&f: &a%shop_cart_item_count%'
448
- '&7Cart Total&f: &a$%shop_cart_total%'
449
cart:
450
451
# The name of the inventory
452
title: '&eYour Cart'
453
454
# Should the empty slots of the gui be filled?
455
fill background: false
456
457
# The item that will be used to fill
458
background item: BLACK_STAINED_GLASS_PANE
459
460
# The item that will be used to fill
461
bar item: BLACK_STAINED_GLASS_PANE
462
items:
463
clear:
464
465
item: RED_STAINED_GLASS_PANE
466
467
name: '&cClear Cart'
468
469
lore:
470
- '&7Click to clear the cart'
471
confirm:
472
473
item: LIME_STAINED_GLASS_PANE
474
475
name: '&aConfirm Purchase'
476
477
lore:
478
- '&7Click to make purchase'
479
info:
480
481
item: PAPER
482
483
name: '&eCart Information'
484
485
lore:
486
- '&7Total Items&f: &e%shop_cart_item_count%'
487
- ''
488
- '&7Sub-Total&f: &a$%shop_cart_sub_total%'
489
- '&7Tax&f: &a%shop_cart_tax%%'
490
- '&7Discounts&f: &a- $%shop_cart_discounts%'
491
- ''
492
- '&7Total&f: &a$%shop_cart_total%'
493
494
item lore:
495
- '&7Quantity&f: &ax%shop_item_quantity%'
496
- '&7Price&f: &a$%shop_item_price%'
497
item select:
498
499
# The name of the inventory
500
title: '&eItem Selection'
501
502
# Should the empty slots of the gui be filled?
503
fill background: true
504
505
# The item that will be used to fill
506
background item: BLACK_STAINED_GLASS_PANE
507
508
# Should items be placed in their default slots?
509
use default slots: true
510
shift click to +/- 64: true
511
increments:
512
513
# How much should the quantity increase on the first pane click
514
one: 1
515
516
# How much should the quantity increase on the second pane click
517
two: 5
518
519
# How much should the quantity increase on the third pane click
520
three: 10
521
decrements:
522
523
# How much should the quantity decrease on the first pane click
524
one: 1
525
526
# How much should the quantity decrease on the second pane click
527
two: 5
528
529
# How much should the quantity decrease on the third pane click
530
three: 10
531
items:
532
add to cart:
533
534
item: CHEST
535
536
name: '&eAdd to cart'
537
538
lore:
539
- '&7Click to add this item to your'
540
- '&7cart and continue shopping.'
541
info:
542
543
item: PAPER
544
545
name: '&eItem Information'
546
547
lore:
548
- '&7Stack Quantity&f: &e%item_stack_quantity%'
549
- '&7Quantity&f: &e%item_quantity%'
550
- '&7Base Price&f: &e%item_price%'
551
- ''
552
- '&7Sub-Total&f: &a$%item_sub_total%'
553
- '&7Tax&f: &a%item_tax%%'
554
- '&7Discounts&f: &a- $%item_discounts%'
555
- ''
556
- '&7Total&f: &a$%item_total%'
557
sell and buy:
558
559
item: SUNFLOWER
560
561
name: '&ePurchase / Sell'
562
563
lore:
564
- '&7Left-click to purchase item(s)'
565
- '&7Right-click to sell item(s)'
566
increment one:
567
568
item: LIME_STAINED_GLASS_PANE
569
570
name: '&a+%inc_one_amount%'
571
572
lore:
573
- '&7Click to add &e%inc_one_amount% &7to the quantity'
574
increment two:
575
576
item: LIME_STAINED_GLASS_PANE
577
578
name: '&a+%inc_two_amount%'
579
580
lore:
581
- '&7Click to add &e%inc_two_amount% &7to the quantity'
582
increment three:
583
584
item: LIME_STAINED_GLASS_PANE
585
586
name: '&a+%inc_three_amount%'
587
588
lore:
589
- '&7Click to add &e%inc_three_amount% &7to the quantity'
590
decrement one:
591
592
item: RED_STAINED_GLASS_PANE
593
594
name: '&c-%decr_one_amount%'
595
596
lore:
597
- '&7Click to remove &e%decr_one_amount% &7from the quantity'
598
decrement two:
599
600
item: RED_STAINED_GLASS_PANE
601
602
name: '&c-%decr_two_amount%'
603
604
lore:
605
- '&7Click to remove &e%decr_two_amount% &7from the quantity'
606
decrement three:
607
608
item: RED_STAINED_GLASS_PANE
609
610
name: '&c-%decr_three_amount%'
611
612
lore:
613
- '&7Click to remove &e%decr_three_amount% &7from the quantity'
614
Copied!
Last modified 7mo ago
Copy link