9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2026-01-04 15:41:35 +00:00
Files
Custom-Fishing/src/main/resources/sell-fish.yml
Xiao-MoMi 583342f22a 1.2.4
2022-10-29 20:43:39 +08:00

96 lines
1.9 KiB
YAML

# Fish got from command can't be sold! Only those from fishing would have special price NBT tags
container-title: '<gradient:#A52A2A:#800000:#A52A2A>Sell Fish</gradient>'
rows: 6
# Limit the money player can earn per day
sell-limitation:
enable: true
upper-limit: 10000
price-formula: '{base} + {bonus} * {size}'
sounds:
open: minecraft:block.chest.open
close: minecraft:block.chest.close
success: minecraft:block.amethyst_block.break
deny: minecraft:block.anvil.destroy
confirm: minecraft:entity.villager.trade
type: player
actions:
message:
enable: true
text: 'You earned {money}$ from selling the fish! You can still gain {remains}$ from selling fish today'
title:
enable: true
title: '<green>Success'
subtitle: 'You earned {money}$ from selling the fish'
in: 20
stay: 40
out: 20
actionbar:
enable: true
text: 'You earned {money}$ from selling the fish'
commands:
enable: false
value:
- 'money give {player} {money}'
functional-icons:
slots:
- 50
sell:
material: IRON_BLOCK
display:
name: '<#00CED1><bold>● <bold:false>Sell the fish'
lore:
- '<font:uniform><gradient:#E6E6FA:#48D1CC:#E6E6FA>You will gain {money}$</gradient></font>'
custom-model-data: 1
deny:
material: REDSTONE_BLOCK
display:
name: '<red><bold>● <bold:false>Denied'
lore:
- '<font:uniform><gradient:#E6E6FA:red:#E6E6FA>Nothing to sell!</gradient></font>'
custom-model-data: 1
decorative-icons:
glass-pane:
material: BLACK_STAINED_GLASS_PANE
display:
name: ' '
slot:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 18
- 19
- 27
- 28
- 36
- 37
- 45
- 46
- 47
- 48
- 49
- 51
- 52
- 53
- 54
vanilla-item-price:
COD: 10
PUFFERFISH: 10
SALMON: 10
TROPICAL_FISH: 10