mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-27 02:49:17 +00:00
2.0-backup-1
This commit is contained in:
160
plugin/src/main/resources/config.yml
Normal file
160
plugin/src/main/resources/config.yml
Normal file
@@ -0,0 +1,160 @@
|
||||
# Developer: @Xiao-MoMi
|
||||
# Wiki: https://mo-mi.gitbook.io/xiaomomi-plugins/
|
||||
config-version: '26'
|
||||
|
||||
# BStats
|
||||
metrics: true
|
||||
|
||||
# Check updates
|
||||
update-checker: true
|
||||
|
||||
# Available locales: chinese/english/spanish/turkish
|
||||
lang: english
|
||||
|
||||
# Mechanic settings
|
||||
mechanics:
|
||||
|
||||
# The requirements for the plugin to work
|
||||
mechanic-requirements:
|
||||
world_requirement:
|
||||
type: '!world'
|
||||
value:
|
||||
- blacklist_world
|
||||
|
||||
# Global loot properties
|
||||
global-loot-properties:
|
||||
show-in-fishfinder: true
|
||||
disable-stat: false
|
||||
disable-game: false
|
||||
instant-game: false
|
||||
prevent-grabbing: false
|
||||
action:
|
||||
success:
|
||||
title_action:
|
||||
type: random-title
|
||||
value:
|
||||
titles:
|
||||
- '<green>GG!</green>'
|
||||
- '<green>Good Job!</green>'
|
||||
subtitles:
|
||||
- 'You caught a {loot}'
|
||||
- 'Whoa! Nice catch!'
|
||||
- 'Oh {loot} here we go!'
|
||||
- 'Let''s see what it is!'
|
||||
fade-in: 20
|
||||
stay: 30
|
||||
fade-out: 10
|
||||
chance: 1.0
|
||||
failure:
|
||||
title_action:
|
||||
type: random-title
|
||||
value:
|
||||
titles:
|
||||
- '<red>Be concentrated!</red>'
|
||||
- '<red>What a pity!</red>'
|
||||
- '<red>Try next time!</red>'
|
||||
- '<red>Bad luck</red>'
|
||||
subtitles:
|
||||
- 'The fish escaped...'
|
||||
fade-in: 20
|
||||
stay: 30
|
||||
fade-out: 10
|
||||
chance: 1.0
|
||||
|
||||
# Fishing bag is where players can store their baits, utils and rods (Fish optional)
|
||||
fishing-bag:
|
||||
# Enable
|
||||
enable: true
|
||||
# Fishing bag container title
|
||||
bag-title: '<blue>{player}''s Fishing Bag</blue>'
|
||||
# Can fishing bag store fishing loots?
|
||||
can-store-loot: false
|
||||
# Other whitelist-items
|
||||
whitelist-items:
|
||||
- fishing_rod
|
||||
|
||||
# Lava fishing settings
|
||||
lava-fishing:
|
||||
# ticks
|
||||
min-wait-time: 100
|
||||
max-wait-time: 600
|
||||
|
||||
# Animation settings
|
||||
animation:
|
||||
splash:
|
||||
enable: true
|
||||
water: water_effect
|
||||
lava: lava_effect
|
||||
duration: 25
|
||||
bait:
|
||||
enable: true
|
||||
|
||||
# Competition settings
|
||||
competition:
|
||||
# Use redis for cross server data synchronization
|
||||
redis-ranking: false
|
||||
# Increase this value would increase cpu load
|
||||
# But would allow you to use more placeholders like {4_player} {5_score}
|
||||
placeholder-limit: 3
|
||||
|
||||
# Enable vanilla fishing mechanic if there's no loot available
|
||||
vanilla-mechanic-if-no-loot:
|
||||
enable: false
|
||||
# actions to trigger if vanilla mechanic not allowed
|
||||
actions:
|
||||
message_action:
|
||||
type: message
|
||||
value:
|
||||
- 'There''s no loot here. Try to find another place for fishing.'
|
||||
|
||||
# Other settings
|
||||
other-settings:
|
||||
|
||||
# Thread pool settings
|
||||
thread-pool-settings:
|
||||
# The size of the core Thread pool, that is, the size of the Thread pool when there is no task to execute
|
||||
# Increase the size of corePoolSize when you are running a large server with many players fishing at the same time
|
||||
corePoolSize: 4
|
||||
# The maximum number of threads allowed to be created in the Thread pool. The current number of threads in the Thread pool will not exceed this value
|
||||
maximumPoolSize: 8
|
||||
# If a thread is idle for more than this attribute value, it will exit due to timeout
|
||||
keepAliveTime: 10
|
||||
|
||||
# Event priority: MONITOR HIGHEST HIGH NORMAL LOW LOWEST
|
||||
event-priority: NORMAL
|
||||
|
||||
# Save the data from cache to file periodically to minimize the data loss if server crashes
|
||||
data-saving-interval: 600
|
||||
|
||||
# Requires PlaceholderAPI to work
|
||||
placeholder-register:
|
||||
'{date}': '%server_date%'
|
||||
|
||||
# CustomFishing supports using items from other plugins
|
||||
# If items share the same id, they would inherit the effects
|
||||
item-detection-order:
|
||||
# - Oraxen
|
||||
# - ItemsAdder
|
||||
- CustomFishing
|
||||
- vanilla
|
||||
|
||||
# Offset characters' unicodes
|
||||
# Never edit this unless you know what you are doing
|
||||
offset-characters:
|
||||
font: customfishing:offset_chars
|
||||
'1':
|
||||
'2':
|
||||
'4':
|
||||
'8':
|
||||
'16':
|
||||
'32':
|
||||
'64':
|
||||
'128':
|
||||
'-1':
|
||||
'-2':
|
||||
'-4':
|
||||
'-8':
|
||||
'-16':
|
||||
'-32':
|
||||
'-64':
|
||||
'-128':
|
||||
45
plugin/src/main/resources/contents/baits/default.yml
Normal file
45
plugin/src/main/resources/contents/baits/default.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
simple_bait:
|
||||
material: paper
|
||||
display:
|
||||
name: '<gray>Common fishing lures'
|
||||
lore:
|
||||
- '<white>Reduce the time spent fishing'
|
||||
- '<white>But make it more difficult to catch fish'
|
||||
custom-model-data: 50001
|
||||
effect:
|
||||
time: 0.85
|
||||
difficulty: 1
|
||||
|
||||
magnet_bait:
|
||||
material: paper
|
||||
display:
|
||||
name: '<gray>Magnet Bait'
|
||||
lore:
|
||||
- '<white>Increases the probability of better loots by 15%.'
|
||||
custom-model-data: 50002
|
||||
effect:
|
||||
weight-multiply:
|
||||
silver: 1.15
|
||||
gold: 1.15
|
||||
# https://mo-mi.gitbook.io/xiaomomi-plugins/plugin-wiki/customfishing/requirements
|
||||
requirements:
|
||||
requirement_1:
|
||||
type: permission
|
||||
value: magnet_bait.use
|
||||
requirement_2:
|
||||
type: rod
|
||||
value:
|
||||
- nature_fishing_cane
|
||||
- silver_fishing_rod
|
||||
- golden_fishing_rod
|
||||
- star_fishing_rod
|
||||
|
||||
wild_bait:
|
||||
material: paper
|
||||
display:
|
||||
name: 'Wild Bait'
|
||||
lore:
|
||||
- '<white>Decreases fishing time by 30%.'
|
||||
custom-model-data: 50003
|
||||
effect:
|
||||
time: 0.7
|
||||
42
plugin/src/main/resources/contents/blocks/default.yml
Normal file
42
plugin/src/main/resources/contents/blocks/default.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
wooden_crate:
|
||||
show-in-fishfinder: false
|
||||
nick: Apple Crate
|
||||
block: barrel
|
||||
vector:
|
||||
horizontal: 1.07
|
||||
vertical: 1.5
|
||||
properties:
|
||||
directional: true
|
||||
storage:
|
||||
apple_1:
|
||||
item: APPLE
|
||||
amount: 1~2
|
||||
chance: 0.8
|
||||
apple_2:
|
||||
item: APPLE
|
||||
amount: 1~2
|
||||
chance: 0.8
|
||||
apple_3:
|
||||
item: APPLE
|
||||
amount: 1~2
|
||||
chance: 0.8
|
||||
apple_4:
|
||||
item: APPLE
|
||||
amount: 1~2
|
||||
chance: 0.8
|
||||
apple_5:
|
||||
item: APPLE
|
||||
amount: 1~2
|
||||
chance: 0.8
|
||||
apple_6:
|
||||
item: APPLE
|
||||
amount: 1~2
|
||||
chance: 0.8
|
||||
apple_7:
|
||||
item: APPLE
|
||||
amount: 1~2
|
||||
chance: 0.8
|
||||
apple_8:
|
||||
item: APPLE
|
||||
amount: 1~2
|
||||
chance: 0.8
|
||||
123
plugin/src/main/resources/contents/competitions/default.yml
Normal file
123
plugin/src/main/resources/contents/competitions/default.yml
Normal file
@@ -0,0 +1,123 @@
|
||||
example:
|
||||
# TOTAL_SCORE
|
||||
# CATCH_AMOUNT
|
||||
# MAX_SIZE
|
||||
# TOTAL_SIZE
|
||||
# RANDOM
|
||||
goal: CATCH_AMOUNT
|
||||
|
||||
# Optional
|
||||
# 1-7
|
||||
start-weekday:
|
||||
- 1
|
||||
- 7
|
||||
|
||||
# Optional
|
||||
start-time:
|
||||
- '9:30'
|
||||
- '14:30'
|
||||
- '20:00'
|
||||
|
||||
# Seconds
|
||||
duration: 300
|
||||
|
||||
# Min players to start the competition
|
||||
min-players: 2
|
||||
skip-actions:
|
||||
broadcast:
|
||||
type: broadcast
|
||||
value:
|
||||
- 'The number of players is not enough for the fishing competition to be started as scheduled.'
|
||||
|
||||
bossbar:
|
||||
enable: true
|
||||
color: WHITE
|
||||
overlay: PROGRESS
|
||||
text:
|
||||
- '<gray>[<#87CEFA>🎣<gray>] <gradient:#F0F8FF:#87CEFA:#F0F8FF>Time Left: <#E6E6FA>{time}s <gray>| <gradient:#F0F8FF:#87CEFA:#F0F8FF>Your Rank: <#E6E6FA>{rank} <gray>| <gradient:#F0F8FF:#87CEFA:#F0F8FF>No.1 Player: <#E6E6FA>{1_player}'
|
||||
- '<gray>[<#87CEFA>🎣<gray>] <gradient:#F0F8FF:#87CEFA:#F0F8FF>Time Left: <#E6E6FA>{minute}m{second}s <gray>| <gradient:#F0F8FF:#87CEFA:#F0F8FF>Your Score: <#E6E6FA>{score} <gray>| <gradient:#F0F8FF:#87CEFA:#F0F8FF>No.1 Score: <#E6E6FA>{1_score}'
|
||||
- '<gray>[<#87CEFA>🎣<gray>] <gradient:#F0F8FF:#87CEFA:#F0F8FF>Time Left: <#E6E6FA>{minute}m{second}s <gray>| <gradient:#F0F8FF:#87CEFA:#F0F8FF>Winning condition: <#E6E6FA>{goal}'
|
||||
refresh-rate: 20
|
||||
switch-interval: 200
|
||||
only-show-to-participants: true
|
||||
|
||||
actionbar:
|
||||
enable: false
|
||||
text:
|
||||
- '<gradient:#F0F8FF:#87CEFA:#F0F8FF>Time Left: <#E6E6FA>{time}s <gray>| <gradient:#F0F8FF:#87CEFA:#F0F8FF>Your Rank: <#E6E6FA>{rank} <gray>| <gradient:#F0F8FF:#87CEFA:#F0F8FF>No.1 Player: <#E6E6FA>{1_player}'
|
||||
- '<gradient:#F0F8FF:#87CEFA:#F0F8FF>Time Left: <#E6E6FA>{minute}m{second}s <gray>| <gradient:#F0F8FF:#87CEFA:#F0F8FF>Your Score: <#E6E6FA>{score} <gray>| <gradient:#F0F8FF:#87CEFA:#F0F8FF>No.1 Score: <#E6E6FA>{1_score}'
|
||||
- '<gradient:#F0F8FF:#87CEFA:#F0F8FF>Time Left: <#E6E6FA>{minute}m{second}s <gray>| <gradient:#F0F8FF:#87CEFA:#F0F8FF>Winning condition: <#E6E6FA>{goal}'
|
||||
refresh-rate: 5
|
||||
switch-interval: 200
|
||||
only-show-to-participants: true
|
||||
|
||||
start-actions:
|
||||
broadcast:
|
||||
type: broadcast
|
||||
value:
|
||||
- '<#D4F2E7>◤─────────────────────────◥'
|
||||
- ''
|
||||
- ' <gray>[<#87CEFA>🎣<gray>] <gradient:#F0F8FF:#87CEFA:#F0F8FF>Fishing Competition'
|
||||
- ''
|
||||
- ' <#E1FFFF>Objectives:'
|
||||
- ' <#B0C4DE>Catch as many fish as possible'
|
||||
- ' <#B0C4DE>Start fishing to participate!'
|
||||
- ''
|
||||
- '<#D4F2E7>◣─────────────────────────◢'
|
||||
end-actions:
|
||||
broadcast:
|
||||
type: broadcast
|
||||
value:
|
||||
- '<#D4F2E7>◤─────────────────────────◥'
|
||||
- ''
|
||||
- ' <gray>[<#87CEFA>🎣<gray>] <gradient:#F0F8FF:#87CEFA:#F0F8FF>Fishing Competition'
|
||||
- ''
|
||||
- ' <#E1FFFF>Results:'
|
||||
- ' <gradient:#FFF8DC:#FFD700:#FFF8DC>No.①: {1_player} - {1_score}'
|
||||
- ' <gradient:#F5FFFA:#F5F5F5:#F5FFFA>No.②: {2_player} - {2_score}'
|
||||
- ' <gradient:#D2B48C:#CD853F:#D2B48C>No.③: {3_player} - {3_score}'
|
||||
- ''
|
||||
- '<#D4F2E7>◣─────────────────────────◢'
|
||||
participate-actions:
|
||||
message:
|
||||
type: message
|
||||
value:
|
||||
- 'You have joined the competition. Good luck!'
|
||||
|
||||
rewards:
|
||||
1:
|
||||
command_action:
|
||||
type: command
|
||||
value:
|
||||
- 'money give {player} 200'
|
||||
messages_action:
|
||||
type: message
|
||||
value:
|
||||
- '<#FF4500>[1st] Congratulations! You got the first prize!'
|
||||
2:
|
||||
command_action:
|
||||
type: command
|
||||
value:
|
||||
- 'money give {player} 100'
|
||||
messages_action:
|
||||
type: message
|
||||
value:
|
||||
- '<#FF4500>[2nd] Just miss the opportunity, try next time!'
|
||||
3:
|
||||
command_action:
|
||||
type: command
|
||||
value:
|
||||
- 'money give {player} 100'
|
||||
messages_action:
|
||||
type: message
|
||||
value:
|
||||
- '<#FF4500>[3rd] Just miss the opportunity, try next time!'
|
||||
participation:
|
||||
command_action:
|
||||
type: command
|
||||
value:
|
||||
- 'money give {player} 10'
|
||||
messages_action:
|
||||
type: message
|
||||
value:
|
||||
- '<#FF4500>Thanks for participation!'
|
||||
864
plugin/src/main/resources/contents/loots/default.yml
Normal file
864
plugin/src/main/resources/contents/loots/default.yml
Normal file
@@ -0,0 +1,864 @@
|
||||
rubbish:
|
||||
material: paper
|
||||
nick: <gray>Rubbish</gray>
|
||||
display:
|
||||
name: <gray>Rubbish</gray>
|
||||
lore:
|
||||
- <gray>We need to protect the environment...
|
||||
custom-model-data: 50000
|
||||
show-in-fishfinder: false
|
||||
disable-stat: true
|
||||
disable-game: true
|
||||
instant-game: false
|
||||
prevent-grabbing: false
|
||||
action:
|
||||
success:
|
||||
mending:
|
||||
type: mending
|
||||
value: 3
|
||||
chance: 1.0
|
||||
####################################
|
||||
tuna_fish:
|
||||
material: cod
|
||||
nick: <gradient:#F0FFFF:#4682B4:#F0FFFF>Tuna Fish</gradient>
|
||||
display:
|
||||
name: <gradient:#F0FFFF:#4682B4:#F0FFFF>Tuna Fish</gradient>
|
||||
lore:
|
||||
- <gray>Tuna is a kind of healthy food.
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50001
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 5
|
||||
chance: 1.0
|
||||
size: 15~50
|
||||
price:
|
||||
base: 30
|
||||
bonus: 0.6
|
||||
tuna_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#F0FFFF:#4682B4:#F0FFFF>Tuna Fish</gradient> <#F5F5F5>(Silver
|
||||
Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>Tuna is a kind of healthy food.
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50002
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 7
|
||||
chance: 1.0
|
||||
size: 30~100
|
||||
price:
|
||||
base: 50
|
||||
bonus: 0.6
|
||||
tuna_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#F0FFFF:#4682B4:#F0FFFF>Tuna Fish</gradient> <#FFD700>(Golden
|
||||
Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>Tuna is a kind of healthy food.
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50003
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 9
|
||||
chance: 1.0
|
||||
size: 80~190
|
||||
price:
|
||||
base: 80
|
||||
bonus: 0.7
|
||||
####################################
|
||||
pike_fish:
|
||||
material: cod
|
||||
nick: <gradient:#F0F8FF:#5F9EA0:#F0F8FF>Pike Fish</gradient>
|
||||
display:
|
||||
name: <gradient:#F0F8FF:#5F9EA0:#F0F8FF>Pike Fish</gradient>
|
||||
lore:
|
||||
- <gray>It likes to inhabit at the junction
|
||||
- <gray>of salt and fresh water. It can
|
||||
- <gray>survive in seawater, brackish fresh
|
||||
- <gray>water and inland freshwater lakes
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50004
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 4
|
||||
chance: 1.0
|
||||
size: 5~15
|
||||
price:
|
||||
base: 30
|
||||
bonus: 1.5
|
||||
pike_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#F0F8FF:#5F9EA0:#F0F8FF>Pike Fish</gradient> <#F5F5F5>(Silver
|
||||
Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>It likes to inhabit at the junction
|
||||
- <gray>of salt and fresh water. It can
|
||||
- <gray>survive in seawater, brackish fresh
|
||||
- <gray>water and inland freshwater lakes
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50005
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 5
|
||||
chance: 1.0
|
||||
size: 10~25
|
||||
price:
|
||||
base: 40
|
||||
bonus: 1.5
|
||||
pike_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#F0F8FF:#5F9EA0:#F0F8FF>Pike Fish</gradient> <#FFD700>(Golden
|
||||
Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>It likes to inhabit at the junction
|
||||
- <gray>of salt and fresh water. It can
|
||||
- <gray>survive in seawater, brackish fresh
|
||||
- <gray>water and inland freshwater lakes
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50006
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 7
|
||||
chance: 1.0
|
||||
size: 15~30
|
||||
price:
|
||||
base: 50
|
||||
bonus: 1.5
|
||||
####################################
|
||||
gold_fish:
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#40E0D0:#FFD700:#F0F8FF>Gold Fish</gradient>
|
||||
lore:
|
||||
- <gray>Goldfish is one of most famous ornamental
|
||||
- <gray>fishes in the world. It originated in China
|
||||
- <gray>and has a history of more than 1700 years
|
||||
price:
|
||||
base: 70
|
||||
custom-model-data: 50007
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 5
|
||||
chance: 1.0
|
||||
gold_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#40E0D0:#FFD700:#F0F8FF>Gold Fish</gradient> <#F5F5F5>(Silver
|
||||
Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>Goldfish is one of most famous ornamental
|
||||
- <gray>fishes in the world. It originated in China
|
||||
- <gray>and has a history of more than 1700 years
|
||||
price:
|
||||
base: 80
|
||||
custom-model-data: 50008
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 7
|
||||
chance: 1.0
|
||||
gold_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#40E0D0:#FFD700:#F0F8FF>Gold Fish</gradient> <#FFD700>(Golden
|
||||
Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>Goldfish is one of most famous ornamental
|
||||
- <gray>fishes in the world. It originated in China
|
||||
- <gray>and has a history of more than 1700 years
|
||||
price:
|
||||
base: 100
|
||||
custom-model-data: 50009
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 9
|
||||
chance: 1.0
|
||||
####################################
|
||||
perch_fish:
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#BDB76B:#2E8B57:#008B8B>Perch Fish</gradient>
|
||||
lore:
|
||||
- <gray>Living in various habitats and
|
||||
- <gray>foraging at dusk and early morning
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50010
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 3
|
||||
chance: 1.0
|
||||
size: 5~12
|
||||
price:
|
||||
base: 10
|
||||
bonus: 3
|
||||
perch_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#BDB76B:#2E8B57:#008B8B>Perch Fish</gradient> <#F5F5F5>(Silver
|
||||
Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>Living in various habitats and
|
||||
- <gray>foraging at dusk and early morning
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50011
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 6
|
||||
chance: 1.0
|
||||
size: 10~19
|
||||
price:
|
||||
base: 10
|
||||
bonus: 3
|
||||
perch_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#BDB76B:#2E8B57:#008B8B>Perch Fish</gradient> <#FFD700>(Golden
|
||||
Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>Living in various habitats and
|
||||
- <gray>foraging at dusk and early morning
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50012
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 12
|
||||
chance: 1.0
|
||||
size: 20~39
|
||||
price:
|
||||
base: 10
|
||||
bonus: 3
|
||||
####################################
|
||||
mullet_fish:
|
||||
material: cod
|
||||
nick: <gradient:#D4F2E7:#E1FFFF:#D4F2E7>Mullet Fish</gradient>
|
||||
display:
|
||||
name: <gradient:#D4F2E7:#E1FFFF:#D4F2E7>Mullet Fish</gradient>
|
||||
lore:
|
||||
- <gray>Used in traditional Chinese medicine
|
||||
- <gray>to treat spleen and stomach weakness
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50013
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 6
|
||||
chance: 1.0
|
||||
size: 1~3
|
||||
price:
|
||||
base: 20
|
||||
bonus: 1.5
|
||||
mullet_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#D4F2E7:#E1FFFF:#D4F2E7>Mullet Fish</gradient> <#F5F5F5>(Silver
|
||||
Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>Used in traditional Chinese medicine
|
||||
- <gray>to treat spleen and stomach weakness
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50014
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 8
|
||||
chance: 1.0
|
||||
size: 4~9
|
||||
price:
|
||||
base: 30
|
||||
bonus: 1.5
|
||||
mullet_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#D4F2E7:#E1FFFF:#D4F2E7>Mullet Fish</gradient> <#FFD700>(Golden
|
||||
Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>Used in traditional Chinese medicine
|
||||
- <gray>to treat spleen and stomach weakness
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50015
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 12
|
||||
chance: 1.0
|
||||
size: 10~20
|
||||
price:
|
||||
base: 50
|
||||
bonus: 1.5
|
||||
####################################
|
||||
sardine_fish:
|
||||
material: cod
|
||||
nick: <gradient:#E1FFFF:#5F9EA0>Sardine Fish</gradient>
|
||||
display:
|
||||
name: <gradient:#E1FFFF:#5F9EA0>Sardine Fish</gradient>
|
||||
lore:
|
||||
- <gray>Sardine fish is rich in DHA which improves memory
|
||||
- <gray>Therefore, sardine are also called "smart food"
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50016
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 7
|
||||
chance: 1.0
|
||||
size: 1~5
|
||||
price:
|
||||
base: 10
|
||||
bonus: 3.4
|
||||
sardine_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#E1FFFF:#5F9EA0>Sardine Fish</gradient> <#F5F5F5>(Silver Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>Sardine fish is rich in DHA which improves memory
|
||||
- <gray>Therefore, sardine are also called "smart food"
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50017
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 9
|
||||
chance: 1.0
|
||||
size: 4~8
|
||||
price:
|
||||
base: 13
|
||||
bonus: 3.4
|
||||
sardine_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#E1FFFF:#5F9EA0>Sardine Fish</gradient> <#FFD700>(Golden Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>Sardine fish is rich in DHA which improves memory
|
||||
- <gray>Therefore, sardine are also called "smart food"
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50018
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 14
|
||||
chance: 1.0
|
||||
size: 7~14
|
||||
price:
|
||||
base: 15
|
||||
bonus: 3.4
|
||||
####################################
|
||||
carp_fish:
|
||||
material: cod
|
||||
nick: <gradient:#808000:#556B2F>Carp Fish</gradient>
|
||||
display:
|
||||
name: <gradient:#808000:#556B2F>Carp Fish</gradient>
|
||||
lore:
|
||||
- <gray>One of the most common edible fish
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50019
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 6
|
||||
chance: 1.0
|
||||
size: 7~19
|
||||
price:
|
||||
base: 10
|
||||
bonus: 2
|
||||
carp_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#808000:#556B2F>Carp Fish</gradient> <#F5F5F5>(Silver Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>One of the most common edible fish
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50020
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 8
|
||||
chance: 1.0
|
||||
size: 15~28
|
||||
price:
|
||||
base: 11
|
||||
bonus: 2.1
|
||||
carp_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#808000:#556B2F>Carp Fish</gradient> <#FFD700>(Golden Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>One of the most common edible fish
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50021
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 10
|
||||
chance: 1.0
|
||||
size: 27~48
|
||||
price:
|
||||
base: 12
|
||||
bonus: 2.2
|
||||
####################################
|
||||
cat_fish:
|
||||
material: cod
|
||||
display:
|
||||
name: <#BDB76B>Cat Fish</#BDB76B>
|
||||
lore:
|
||||
- <gray>Catfish is a fierce carnivorous fish with
|
||||
- <gray>sharp jaw teeth, short intestine and stomach
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50022
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 6
|
||||
chance: 1.0
|
||||
size: 3~12
|
||||
price:
|
||||
base: 27
|
||||
bonus: 1.8
|
||||
cat_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <#BDB76B>Cat Fish</#BDB76B> <#F5F5F5>(Silver Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>Catfish is a fierce carnivorous fish with
|
||||
- <gray>sharp jaw teeth, short intestine and stomach
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50023
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 10
|
||||
chance: 1.0
|
||||
size: 10~28
|
||||
price:
|
||||
base: 14
|
||||
bonus: 2.2
|
||||
cat_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <#BDB76B>Cat Fish</#BDB76B> <#FFD700>(Golden Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>Catfish is a fierce carnivorous fish with
|
||||
- <gray>sharp jaw teeth, short intestine and stomach
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50024
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 13
|
||||
chance: 1.0
|
||||
size: 40~70
|
||||
price:
|
||||
base: 16
|
||||
bonus: 2.2
|
||||
####################################
|
||||
octopus:
|
||||
material: cod
|
||||
nick: <gradient:#D2691E:#FF6347>Octopus</gradient>
|
||||
display:
|
||||
name: <gradient:#D2691E:#FF6347>Octopus</gradient>
|
||||
lore:
|
||||
- <gray>Octopus is crazy about all kinds of utensils
|
||||
- <gray>People often use pots to catch octopus
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50025
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 6
|
||||
chance: 1.0
|
||||
size: 1~4
|
||||
price:
|
||||
base: 50
|
||||
bonus: 2.2
|
||||
octopus_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#D2691E:#FF6347>Octopus</gradient> <#F5F5F5>(Silver Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>Octopus is crazy about all kinds of utensils
|
||||
- <gray>People often use pots to catch octopus
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50026
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 7
|
||||
chance: 1.0
|
||||
size: 4~12
|
||||
price:
|
||||
base: 50
|
||||
bonus: 2.2
|
||||
octopus_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#D2691E:#FF6347>Octopus</gradient> <#FFD700>(Golden Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>Octopus is crazy about all kinds of utensils
|
||||
- <gray>People often use pots to catch octopus
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50027
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 8
|
||||
chance: 1.0
|
||||
size: 12~100
|
||||
price:
|
||||
base: 10
|
||||
bonus: 1.5
|
||||
####################################
|
||||
sunfish:
|
||||
material: cod
|
||||
nick: <#F5DEB3>Sunfish</#F5DEB3>
|
||||
display:
|
||||
name: <#F5DEB3>Sunfish
|
||||
lore:
|
||||
- <gray>It only has one huge head
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50028
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 9
|
||||
chance: 1.0
|
||||
size: 5~18
|
||||
price:
|
||||
base: 10
|
||||
bonus: 1.5
|
||||
sunfish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <#F5DEB3>Sunfish <#F5F5F5>(Silver Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>It only has one huge head
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50029
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 10
|
||||
chance: 1.0
|
||||
size: 17~28
|
||||
price:
|
||||
base: 18
|
||||
bonus: 1.5
|
||||
sunfish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <#F5DEB3>Sunfish <#FFD700>(Golden Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>It only has one huge head
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50030
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 15
|
||||
chance: 1.0
|
||||
size: 26~50
|
||||
price:
|
||||
base: 26
|
||||
bonus: 1.5
|
||||
####################################
|
||||
red_snapper_fish:
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#FF4500:#FFA07A:#FF4500>Red Snapper Fish</gradient>
|
||||
lore:
|
||||
- <gray>They usually have a large family of ten or twenty
|
||||
- <gray>with a male as the "head of the family"
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50031
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 10
|
||||
chance: 1.0
|
||||
size: 1~4
|
||||
price:
|
||||
base: 10
|
||||
bonus: 2.3
|
||||
red_snapper_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#FF4500:#FFA07A:#FF4500>Red Snapper Fish</gradient> <#F5F5F5>(Silver
|
||||
Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>They usually have a large family of ten or twenty
|
||||
- <gray>with a male as the "head of the family"
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50032
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 12
|
||||
chance: 1.0
|
||||
size: 3~12
|
||||
price:
|
||||
base: 10
|
||||
bonus: 2.3
|
||||
red_snapper_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#FF4500:#FFA07A:#FF4500>Red Snapper Fish</gradient> <#FFD700>(Golden
|
||||
Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>They usually have a large family of ten or twenty
|
||||
- <gray>with a male as the "head of the family"
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50033
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 14
|
||||
chance: 1.0
|
||||
size: 9~18
|
||||
price:
|
||||
base: 10
|
||||
bonus: 2.3
|
||||
####################################
|
||||
salmon_void_fish:
|
||||
material: cod
|
||||
in-lava: true
|
||||
nick: <gradient:#800000:#800080>Void Salmon</gradient>
|
||||
display:
|
||||
name: <gradient:#800000:#800080>Void Salmon</gradient>
|
||||
lore:
|
||||
- <gray>A fish from the hell
|
||||
custom-model-data: 50034
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 20
|
||||
chance: 1.0
|
||||
price:
|
||||
base: 20
|
||||
salmon_void_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
in-lava: true
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#800000:#800080>Void Salmon</gradient><#F5F5F5>(Silver Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>A fish from the hell
|
||||
custom-model-data: 50035
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 24
|
||||
chance: 1.0
|
||||
price:
|
||||
base: 50
|
||||
salmon_void_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
in-lava: true
|
||||
material: cod
|
||||
display:
|
||||
name: <gradient:#800000:#800080>Void Salmon</gradient> <#FFD700>(Golden Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>A fish from the hell
|
||||
group: gold
|
||||
custom-model-data: 50036
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 28
|
||||
chance: 1.0
|
||||
price:
|
||||
base: 100
|
||||
####################################
|
||||
woodskip_fish:
|
||||
material: cod
|
||||
nick: <#CD5C5C>Woodskip Fish</#CD5C5C>
|
||||
display:
|
||||
name: <#CD5C5C>Woodskip Fish
|
||||
lore:
|
||||
- <gray>A very sensitive fish that can only
|
||||
- <gray>live in pools deep in the forest
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50037
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 6
|
||||
chance: 1.0
|
||||
size: 3~7
|
||||
price:
|
||||
base: 10
|
||||
bonus: 2.3
|
||||
woodskip_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <#CD5C5C>Woodskip Fish <#F5F5F5>(Silver Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>A very sensitive fish that can only
|
||||
- <gray>live in pools deep in the forest
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50038
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 9
|
||||
chance: 1.0
|
||||
size: 7~18
|
||||
price:
|
||||
base: 17
|
||||
bonus: 2.5
|
||||
woodskip_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <#CD5C5C>Woodskip Fish <#FFD700>(Golden Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>A very sensitive fish that can only
|
||||
- <gray>live in pools deep in the forest
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50039
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 13
|
||||
chance: 1.0
|
||||
size: 16~29
|
||||
price:
|
||||
base: 25
|
||||
bonus: 2.8
|
||||
####################################
|
||||
sturgeon_fish:
|
||||
material: cod
|
||||
nick: <#48D1CC>Sturgeon Fish</#48D1CC>
|
||||
display:
|
||||
name: <#48D1CC>Sturgeon Fish
|
||||
lore:
|
||||
- <gray>An ancient bottom-feeder with a dwindling
|
||||
- <gray>population. Females can live up to 150 years
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50040
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 28
|
||||
chance: 1.0
|
||||
size: 1~5
|
||||
price:
|
||||
base: 200
|
||||
bonus: 10
|
||||
sturgeon_fish_silver_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <#48D1CC>Sturgeon Fish <#F5F5F5>(Silver Star)</#F5F5F5>
|
||||
lore:
|
||||
- <gray>An ancient bottom-feeder with a dwindling
|
||||
- <gray>population. Females can live up to 150 years
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50041
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 35
|
||||
chance: 1.0
|
||||
size: 5~15
|
||||
price:
|
||||
base: 250
|
||||
bonus: 10
|
||||
sturgeon_fish_golden_star:
|
||||
show-in-fishfinder: false
|
||||
material: cod
|
||||
display:
|
||||
name: <#48D1CC>Sturgeon Fish <#FFD700>(Golden Star)</#FFD700>
|
||||
lore:
|
||||
- <gray>An ancient bottom-feeder with a dwindling
|
||||
- <gray>population. Females can live up to 150 years
|
||||
- '<white>size: {size}cm'
|
||||
custom-model-data: 50042
|
||||
action:
|
||||
success:
|
||||
action_mending:
|
||||
type: mending
|
||||
value: 42
|
||||
chance: 1.0
|
||||
size: 15~30
|
||||
price:
|
||||
base: 300
|
||||
bonus: 10
|
||||
592
plugin/src/main/resources/contents/minigames/default.yml
Normal file
592
plugin/src/main/resources/contents/minigames/default.yml
Normal file
@@ -0,0 +1,592 @@
|
||||
######################################
|
||||
# Accurate Click #
|
||||
# You need to concentrate and reel #
|
||||
# in at the most critical time #
|
||||
######################################
|
||||
rainbow_1:
|
||||
game-type: accurate_click
|
||||
title: '<#B22222>RED!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀋'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -119
|
||||
pointer-width: 5
|
||||
width-per-section: 16
|
||||
success-rate-sections:
|
||||
1: 1
|
||||
2: 0
|
||||
3: 0
|
||||
4: 0
|
||||
5: 0
|
||||
6: 0
|
||||
7: 0
|
||||
rainbow_2:
|
||||
game-type: accurate_click
|
||||
title: '<#FFA500>ORANGE!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀋'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -119
|
||||
pointer-width: 5
|
||||
width-per-section: 16
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 1
|
||||
3: 0
|
||||
4: 0
|
||||
5: 0
|
||||
6: 0
|
||||
7: 0
|
||||
rainbow_3:
|
||||
game-type: accurate_click
|
||||
title: '<#FFFF00>YELLOW!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀋'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -119
|
||||
pointer-width: 5
|
||||
width-per-section: 16
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 0
|
||||
3: 1
|
||||
4: 0
|
||||
5: 0
|
||||
6: 0
|
||||
7: 0
|
||||
rainbow_4:
|
||||
game-type: accurate_click
|
||||
title: '<GREEN>GREEN!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀋'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -119
|
||||
pointer-width: 5
|
||||
width-per-section: 16
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 0
|
||||
3: 0
|
||||
4: 1
|
||||
5: 0
|
||||
6: 0
|
||||
7: 0
|
||||
rainbow_5:
|
||||
game-type: accurate_click
|
||||
title: '<#00FFFF>AQUA!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀋'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -119
|
||||
pointer-width: 5
|
||||
width-per-section: 16
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 0
|
||||
3: 0
|
||||
4: 0
|
||||
5: 1
|
||||
6: 0
|
||||
7: 0
|
||||
rainbow_6:
|
||||
game-type: accurate_click
|
||||
title: '<#1E90FF>BLUE!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀋'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -119
|
||||
pointer-width: 5
|
||||
width-per-section: 16
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 0
|
||||
3: 0
|
||||
4: 0
|
||||
5: 0
|
||||
6: 1
|
||||
7: 0
|
||||
rainbow_7:
|
||||
game-type: accurate_click
|
||||
title: '<#9400D3>PURPLE!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀋'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -119
|
||||
pointer-width: 5
|
||||
width-per-section: 16
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 0
|
||||
3: 0
|
||||
4: 0
|
||||
5: 0
|
||||
6: 0
|
||||
7: 1
|
||||
accurate_click_bar_1:
|
||||
game-type: accurate_click
|
||||
title:
|
||||
- 'So close, stay cool!'
|
||||
- 'The fish is hooked, focus on it!'
|
||||
- 'Sturdy on! Victory is almost ours!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀂'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -183
|
||||
pointer-width: 5
|
||||
width-per-section: 16
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 0
|
||||
3: 0
|
||||
4: 0.2
|
||||
5: 0.6
|
||||
6: 1
|
||||
7: 0.6
|
||||
8: 0.2
|
||||
9: 0
|
||||
10: 0
|
||||
11: 0
|
||||
accurate_click_bar_2:
|
||||
game-type: accurate_click
|
||||
title:
|
||||
- 'So close, stay cool!'
|
||||
- 'The fish is hooked, focus on it!'
|
||||
- 'Sturdy on! Victory is almost ours!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀃'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -183
|
||||
pointer-width: 5
|
||||
width-per-section: 16
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 0.2
|
||||
3: 0.6
|
||||
4: 1
|
||||
5: 0.6
|
||||
6: 0.2
|
||||
7: 0
|
||||
8: 0
|
||||
9: 0
|
||||
10: 0
|
||||
11: 0
|
||||
accurate_click_bar_3:
|
||||
game-type: accurate_click
|
||||
title:
|
||||
- 'So close, stay cool!'
|
||||
- 'The fish is hooked, focus on it!'
|
||||
- 'Sturdy on! Victory is almost ours!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀄'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -183
|
||||
pointer-width: 5
|
||||
width-per-section: 16
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 0
|
||||
3: 0
|
||||
4: 0
|
||||
5: 0
|
||||
6: 0.2
|
||||
7: 0.6
|
||||
8: 1
|
||||
9: 0.6
|
||||
10: 0.2
|
||||
11: 0
|
||||
accurate_click_bar_4:
|
||||
game-type: accurate_click
|
||||
title:
|
||||
- 'So close, stay cool!'
|
||||
- 'The fish is hooked, focus on it!'
|
||||
- 'Sturdy on! Victory is almost ours!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀅'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -183
|
||||
pointer-width: 5
|
||||
width-per-section: 8
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 0
|
||||
3: 0.1
|
||||
4: 0.1
|
||||
5: 0
|
||||
6: 0
|
||||
7: 0.2
|
||||
8: 0.2
|
||||
9: 0.6
|
||||
10: 0.6
|
||||
11: 1
|
||||
12: 0.6
|
||||
13: 0.2
|
||||
14: 0
|
||||
15: 0.2
|
||||
16: 0.6
|
||||
17: 1
|
||||
18: 0.6
|
||||
19: 0.2
|
||||
20: 0.1
|
||||
21: 0
|
||||
22: 0
|
||||
accurate_click_bar_5:
|
||||
game-type: accurate_click
|
||||
title:
|
||||
- 'So close, stay cool!'
|
||||
- 'The fish is hooked, focus on it!'
|
||||
- 'Sturdy on! Victory is almost ours!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀆'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -183
|
||||
pointer-width: 5
|
||||
width-per-section: 8
|
||||
success-rate-sections:
|
||||
1: 1
|
||||
2: 0
|
||||
3: 0.1
|
||||
4: 0.2
|
||||
5: 0.2
|
||||
6: 0.6
|
||||
7: 0.6
|
||||
8: 1
|
||||
9: 0.6
|
||||
10: 0.2
|
||||
11: 0
|
||||
12: 0.2
|
||||
13: 0.6
|
||||
14: 1
|
||||
15: 0.6
|
||||
16: 0.2
|
||||
17: 0
|
||||
18: 1
|
||||
19: 0.2
|
||||
20: 0.1
|
||||
21: 0
|
||||
22: 0
|
||||
accurate_click_bar_6:
|
||||
game-type: accurate_click
|
||||
title:
|
||||
- 'So close, stay cool!'
|
||||
- 'The fish is hooked, focus on it!'
|
||||
- 'Sturdy on! Victory is almost ours!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀇'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -183
|
||||
pointer-width: 5
|
||||
width-per-section: 8
|
||||
success-rate-sections:
|
||||
1: 0.1
|
||||
2: 0.1
|
||||
3: 0.1
|
||||
4: 0.1
|
||||
5: 0.1
|
||||
6: 0.1
|
||||
7: 0.1
|
||||
8: 0.1
|
||||
9: 1
|
||||
10: 0
|
||||
11: 1
|
||||
12: 0
|
||||
13: 1
|
||||
14: 0
|
||||
15: 0.1
|
||||
16: 0.1
|
||||
17: 0.1
|
||||
18: 0.1
|
||||
19: 0.1
|
||||
20: 0.1
|
||||
21: 0.1
|
||||
22: 0.1
|
||||
accurate_click_bar_7:
|
||||
game-type: accurate_click
|
||||
title:
|
||||
- 'So close, stay cool!'
|
||||
- 'The fish is hooked, focus on it!'
|
||||
- 'Sturdy on! Victory is almost ours!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀈'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -183
|
||||
pointer-width: 5
|
||||
width-per-section: 4
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 0
|
||||
3: 0
|
||||
4: 0
|
||||
5: 0
|
||||
6: 0
|
||||
7: 0
|
||||
8: 0
|
||||
9: 0
|
||||
10: 0
|
||||
11: 0
|
||||
12: 0
|
||||
13: 0
|
||||
14: 0
|
||||
15: 0
|
||||
16: 0
|
||||
17: 0
|
||||
18: 0
|
||||
19: 0
|
||||
20: 0
|
||||
21: 0
|
||||
22: 0
|
||||
23: 0
|
||||
24: 0
|
||||
25: 0
|
||||
26: 0
|
||||
27: 0
|
||||
28: 0
|
||||
29: 0
|
||||
30: 0
|
||||
31: 0
|
||||
32: 0
|
||||
33: 0
|
||||
34: 0
|
||||
35: 0.1
|
||||
36: 0.1
|
||||
37: 0
|
||||
38: 0
|
||||
39: 1
|
||||
40: 0
|
||||
41: 0
|
||||
42: 0.3
|
||||
43: 0.3
|
||||
44: 0.3
|
||||
accurate_click_bar_8:
|
||||
game-type: accurate_click
|
||||
title:
|
||||
- 'So close, stay cool!'
|
||||
- 'The fish is hooked, focus on it!'
|
||||
- 'Sturdy on! Victory is almost ours!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀉'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -183
|
||||
pointer-width: 5
|
||||
width-per-section: 4
|
||||
success-rate-sections:
|
||||
1: 0
|
||||
2: 0
|
||||
3: 0
|
||||
4: 0
|
||||
5: 0
|
||||
6: 0
|
||||
7: 0
|
||||
8: 0
|
||||
9: 0
|
||||
10: 0
|
||||
11: 0
|
||||
12: 0
|
||||
13: 0
|
||||
14: 0
|
||||
15: 0
|
||||
16: 0
|
||||
17: 0.2
|
||||
18: 0.2
|
||||
19: 0.2
|
||||
20: 0.6
|
||||
21: 1
|
||||
22: 0.6
|
||||
23: 0.2
|
||||
24: 0.2
|
||||
25: 0.2
|
||||
26: 0.2
|
||||
27: 0
|
||||
28: 0
|
||||
29: 0
|
||||
30: 0
|
||||
31: 0
|
||||
32: 0
|
||||
33: 0
|
||||
34: 0
|
||||
35: 0
|
||||
36: 0
|
||||
37: 0
|
||||
38: 0
|
||||
39: 0
|
||||
40: 0
|
||||
41: 0
|
||||
42: 0
|
||||
43: 0
|
||||
44: 0
|
||||
accurate_click_bar_9:
|
||||
game-type: accurate_click
|
||||
title:
|
||||
- 'So close, stay cool!'
|
||||
- 'The fish is hooked, focus on it!'
|
||||
- 'Sturdy on! Victory is almost ours!'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀊'
|
||||
pointer: '뀁'
|
||||
arguments:
|
||||
pointer-offset: -183
|
||||
pointer-width: 5
|
||||
width-per-section: 4
|
||||
success-rate-sections:
|
||||
1: 1
|
||||
2: 0
|
||||
3: 0
|
||||
4: 0
|
||||
5: 0
|
||||
6: 0
|
||||
7: 0
|
||||
8: 0
|
||||
9: 0
|
||||
10: 0
|
||||
11: 0
|
||||
12: 0
|
||||
13: 0
|
||||
14: 0
|
||||
15: 0
|
||||
16: 0
|
||||
17: 0
|
||||
18: 0
|
||||
19: 0
|
||||
20: 0
|
||||
21: 0
|
||||
22: 0
|
||||
23: 0
|
||||
24: 0
|
||||
25: 0
|
||||
26: 0
|
||||
27: 0
|
||||
28: 0
|
||||
29: 0
|
||||
30: 0
|
||||
31: 0
|
||||
32: 0
|
||||
33: 0
|
||||
34: 0
|
||||
35: 0
|
||||
36: 0
|
||||
37: 0
|
||||
38: 0
|
||||
39: 0
|
||||
40: 0
|
||||
41: 0
|
||||
42: 0
|
||||
43: 0
|
||||
44: 1
|
||||
|
||||
######################################
|
||||
# Hold #
|
||||
# You need to control the fish in #
|
||||
# a certain area for some time #
|
||||
######################################
|
||||
hold_game:
|
||||
game-type: hold
|
||||
title: '{progress}'
|
||||
# Tip would show on the title to guide the player how to play
|
||||
tip: '<gray>Press <red><key:key.sneak> <gray>to start'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀌'
|
||||
judgment-area: '뀍'
|
||||
fish: '뀎'
|
||||
arguments:
|
||||
punishment: 0.2
|
||||
bar-effective-area-width: 155
|
||||
judgment-area-offset: -160
|
||||
judgment-area-width: 33
|
||||
fish-icon-width: 8
|
||||
water-resistance: 0.15
|
||||
pulling-strength: 0.35
|
||||
loosening-strength-loss: 0.25
|
||||
hold-time-requirements:
|
||||
- 2
|
||||
- 2
|
||||
- 3
|
||||
- 3
|
||||
- 4
|
||||
progress:
|
||||
- '<font:customfishing:icons>뀁</font>'
|
||||
- '<font:customfishing:icons>뀂</font>'
|
||||
- '<font:customfishing:icons>뀃</font>'
|
||||
- '<font:customfishing:icons>뀄</font>'
|
||||
- '<font:customfishing:icons>뀅</font>'
|
||||
- '<font:customfishing:icons>뀆</font>'
|
||||
- '<font:customfishing:icons>뀇</font>'
|
||||
- '<font:customfishing:icons>뀈</font>'
|
||||
- '<font:customfishing:icons>뀉</font>'
|
||||
|
||||
##########################################################
|
||||
# Tension #
|
||||
# The fish will struggle. During the #
|
||||
# struggling, the tension would increase sharply. #
|
||||
# Fishing will fail if the tension reaches its peak #
|
||||
##########################################################
|
||||
tension_game:
|
||||
game-type: tension
|
||||
title: '{strain}'
|
||||
# Tip would show on the title to guide the player how to play
|
||||
tip: '<gray>Press <red><key:key.sneak> <gray>to start'
|
||||
subtitle:
|
||||
font: 'customfishing:default'
|
||||
bar: '뀓'
|
||||
fish: '뀎'
|
||||
struggling-fish:
|
||||
- 뀑
|
||||
- 뀐
|
||||
- 뀑
|
||||
- 뀒
|
||||
arguments:
|
||||
bar-effective-area-width: 218
|
||||
fish-offset: -221
|
||||
fish-start-position: 165
|
||||
fish-icon-width: 8
|
||||
success-position: 21
|
||||
ultimate-strain: 50
|
||||
normal-pull-strain-increase: 1
|
||||
struggling-strain-increase: 2
|
||||
loosening-strain-loss: 2
|
||||
strain:
|
||||
- '<font:customfishing:icons>뀑</font>'
|
||||
- '<font:customfishing:icons>뀒</font>'
|
||||
- '<font:customfishing:icons>뀓</font>'
|
||||
- '<font:customfishing:icons>뀔</font>'
|
||||
- '<font:customfishing:icons>뀕</font>'
|
||||
- '<font:customfishing:icons>뀖</font>'
|
||||
- '<font:customfishing:icons>뀗</font>'
|
||||
- '<font:customfishing:icons>뀘</font>'
|
||||
- '<font:customfishing:icons>뀙</font>'
|
||||
|
||||
######################################
|
||||
# Burst #
|
||||
# When the fish is hooked, you need #
|
||||
# to click quickly in limited time #
|
||||
######################################
|
||||
17
plugin/src/main/resources/contents/mobs/default.yml
Normal file
17
plugin/src/main/resources/contents/mobs/default.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
drowned:
|
||||
show-in-fishfinder: false
|
||||
mob: Drowned
|
||||
nick: drowned
|
||||
vector:
|
||||
horizontal: 1.1
|
||||
vertical: 1.2
|
||||
|
||||
skeletalknight:
|
||||
show-in-fishfinder: false
|
||||
mob: MythicMobs:SkeletalKnight
|
||||
nick: Skeletal Knight
|
||||
vector:
|
||||
horizontal: 1.1
|
||||
vertical: 1.2
|
||||
properties:
|
||||
level: 0
|
||||
63
plugin/src/main/resources/contents/rods/default.yml
Normal file
63
plugin/src/main/resources/contents/rods/default.yml
Normal file
@@ -0,0 +1,63 @@
|
||||
wooden_rod:
|
||||
material: fishing_rod
|
||||
display:
|
||||
name: 'Ordinary wooden fishing rod'
|
||||
lore:
|
||||
- '<gray>Its just an ordinary fishing rod'
|
||||
- '<gray>But it''s quite friendly to a starter!'
|
||||
effect:
|
||||
difficulty: -1
|
||||
|
||||
nature_fishing_cane:
|
||||
material: fishing_rod
|
||||
display:
|
||||
name: 'Nature Fishing Cane'
|
||||
lore:
|
||||
- '<gray>The wild power makes it easier to be hooked'
|
||||
- '<gray>But also increase the difficulty'
|
||||
custom-model-data: 50001
|
||||
effect:
|
||||
hook-time: 0.9
|
||||
difficulty: 1
|
||||
game-time: 3
|
||||
|
||||
silver_fishing_rod:
|
||||
material: fishing_rod
|
||||
display:
|
||||
name: 'Silver Fishing Rod'
|
||||
lore:
|
||||
- '<gray>Increase the chance of getting silver quality fish'
|
||||
custom-model-data: 50002
|
||||
effect:
|
||||
weight-add:
|
||||
silver: 20
|
||||
gold: -10
|
||||
|
||||
golden_fishing_rod:
|
||||
material: fishing_rod
|
||||
display:
|
||||
name: 'Golden Fishing Rod'
|
||||
lore:
|
||||
- '<gray>Increase the chance of getting golden quality fish'
|
||||
custom-model-data: 50003
|
||||
effect:
|
||||
weight-add:
|
||||
silver: -20
|
||||
gold: 20
|
||||
|
||||
star_fishing_rod:
|
||||
material: fishing_rod
|
||||
effect:
|
||||
weight-add:
|
||||
silver: 20
|
||||
gold: 10
|
||||
lava-fishing: true
|
||||
# https://mo-mi.gitbook.io/xiaomomi-plugins/plugin-wiki/customfishing/requirements
|
||||
requirements:
|
||||
requirement_1:
|
||||
type: permission
|
||||
value: star_fishing_rod.use
|
||||
requirement_2:
|
||||
type: world
|
||||
value:
|
||||
- world_nether
|
||||
70
plugin/src/main/resources/contents/totems/default.yml
Normal file
70
plugin/src/main/resources/contents/totems/default.yml
Normal file
@@ -0,0 +1,70 @@
|
||||
double_loot_fishing_totem:
|
||||
# Totem Core Block ID
|
||||
core:
|
||||
- o
|
||||
|
||||
radius: 8
|
||||
# seconds
|
||||
duration: 300
|
||||
particle: DRIPPING_OBSIDIAN_TEAR
|
||||
|
||||
hologram:
|
||||
enable: true
|
||||
text:
|
||||
- '<#87CEFA>{player}''s Fishing Totem'
|
||||
- '<white>{time}s <gray>/ <white>{max_time}s'
|
||||
y-offset: 3.8
|
||||
|
||||
# Potion effect type and its amplifier
|
||||
potion-effects:
|
||||
NIGHT_VISION: 1
|
||||
|
||||
# Fishing bonus
|
||||
effect:
|
||||
double-loot: 1
|
||||
|
||||
# placeholders: {activator} {player} {world} {x} {y} {z}
|
||||
action:
|
||||
#commands-activator: []
|
||||
messages-activator:
|
||||
- '<gold>[CustomFishing] You activated a double loot totem!'
|
||||
#commands-nearby-players: []
|
||||
messages-nearby-players:
|
||||
- '<blue>[!] {activator} activated a fishing totem!'
|
||||
- '<blue>[!] Players inside of the effective range would get fishing buffs!'
|
||||
|
||||
# https://mo-mi.gitbook.io/xiaomomi-plugins/plugin-wiki/customfishing/requirements
|
||||
requirements:
|
||||
requirement_1:
|
||||
type: permission
|
||||
message: '<red>You don''t have permission to activate this totem!'
|
||||
value: double_loot_fishing_totem.activate
|
||||
requirement_2:
|
||||
type: world
|
||||
message: '<red>You can only activate this totem in Nether.'
|
||||
value:
|
||||
- world_nether
|
||||
|
||||
# The layout of the totem
|
||||
# 图腾的摆放放
|
||||
# The greater the layer number is, the higher the y position is
|
||||
# 层数越高,则对应的Y坐标也越高
|
||||
# Totem core can be put anywhere in the layout
|
||||
# 图腾核心可以位于摆放中的任意位置
|
||||
# “*” represents any type of block is allowed here [example *]
|
||||
# “*” 代表这个位置可以用任何方块
|
||||
# “()“ represents the block is protected and will not be removed when activating [example (a)]
|
||||
# “()“ 代表图腾激活后此方块会被保护
|
||||
# “>“ represents the block would turn into another block after activating [example: a>b]
|
||||
# ">" 代表图腾激活后,左边的方块会变成右边的方块
|
||||
# “|“ represents alternative block choice for this place [example a|b>c]
|
||||
# “|“ 代表这个位置可以使用多种替选方块
|
||||
layer:
|
||||
4:
|
||||
- '(p) (o) (p)'
|
||||
3:
|
||||
- 'air (c) air'
|
||||
2:
|
||||
- 'air (pillar) air'
|
||||
1:
|
||||
- 'air (a) air'
|
||||
@@ -0,0 +1,11 @@
|
||||
# Vanilla blocks should be in capital format
|
||||
# ItemsAdder: namespace:id: 'a'
|
||||
# Oraxen: id: 'a'
|
||||
|
||||
AIR: 'air'
|
||||
|
||||
ANVIL: 'a'
|
||||
CRYING_OBSIDIAN: 'c'
|
||||
PURPUR_STAIRS: 'p'
|
||||
PURPUR_PILLAR: 'pillar'
|
||||
OBSERVER: 'o'
|
||||
26
plugin/src/main/resources/contents/utils/default.yml
Normal file
26
plugin/src/main/resources/contents/utils/default.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
fishfinder:
|
||||
material: PAPER
|
||||
display:
|
||||
name: '<gray>Fish Finder'
|
||||
lore:
|
||||
- '<white>Right click to see what fish can be caught in this place!'
|
||||
custom-model-data: 50000
|
||||
water_effect:
|
||||
material: PAPER
|
||||
custom-model-data: 49998
|
||||
lava_effect:
|
||||
material: PAPER
|
||||
custom-model-data: 49999
|
||||
fisherman_talismans:
|
||||
material: player_head
|
||||
display:
|
||||
name: '<blue>Fisherman Talismans'
|
||||
lore:
|
||||
- ''
|
||||
- '<gray>Fishing would be easier when keeping'
|
||||
- '<gray>the talismans in the fishing bag'
|
||||
- ''
|
||||
- '<gold>The effect cannot be stacked'
|
||||
head64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWQzZmVjNGI3M2E1ZThlMWY1Y2FiOTBjZDBhMzgzMDJmMzdiMDBjNzEzY2EwNmM4NDkzMDBmOGZkMTFlNWVjMiJ9fX0=
|
||||
effect:
|
||||
difficulty: -1
|
||||
80
plugin/src/main/resources/database.yml
Normal file
80
plugin/src/main/resources/database.yml
Normal file
@@ -0,0 +1,80 @@
|
||||
# file:
|
||||
# JSON
|
||||
# YAML
|
||||
#
|
||||
# local database
|
||||
# SQLite
|
||||
# H2 (preferred over SQLite)
|
||||
#
|
||||
# remote database
|
||||
# MySQL
|
||||
# MariaDB (preferred over MySQL)
|
||||
# MongoDB
|
||||
#
|
||||
data-storage-method: H2
|
||||
|
||||
# Server unique id, make sure that all the servers are using different ids
|
||||
server-unique-id: "plz_edit_this"
|
||||
|
||||
SQLite:
|
||||
file: 'sqlite'
|
||||
table-prefix: customfishing
|
||||
|
||||
H2:
|
||||
file: 'h2'
|
||||
table-prefix: customfishing
|
||||
|
||||
MySQL:
|
||||
host: 'localhost'
|
||||
port: '3306'
|
||||
user: 'root'
|
||||
password: 'password'
|
||||
database: 'minecraft'
|
||||
connection-parameters: '?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8'
|
||||
Pool-Settings:
|
||||
max-pool-size: 10
|
||||
min-idle: 10
|
||||
max-lifetime: 180000
|
||||
keep-alive-time: 60000
|
||||
time-out: 20000
|
||||
table-prefix: customfishing
|
||||
|
||||
MariaDB:
|
||||
host: 'localhost'
|
||||
port: '3306'
|
||||
user: 'root'
|
||||
password: 'password'
|
||||
database: 'minecraft'
|
||||
connection-parameters: '?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8'
|
||||
Pool-Settings:
|
||||
max-pool-size: 10
|
||||
min-idle: 10
|
||||
max-lifetime: 180000
|
||||
keep-alive-time: 60000
|
||||
time-out: 20000
|
||||
table-prefix: customfishing
|
||||
|
||||
MongoDB:
|
||||
host: 'localhost'
|
||||
port: '27017'
|
||||
#user: 'root'
|
||||
#password: 'password'
|
||||
database: 'minecraft'
|
||||
# If this section is not empty, it would override the configs above
|
||||
# https://www.mongodb.com/docs/manual/reference/connection-string/
|
||||
connection-uri: ''
|
||||
collection-prefix: customfishing
|
||||
|
||||
# Redis is optional if you are using remote database
|
||||
# If you do not know how to use Redis, please do not enable it
|
||||
Redis:
|
||||
enable: false
|
||||
host: localhost
|
||||
#password: 123456
|
||||
port: 6379
|
||||
use-ssl: false
|
||||
MaxTotal: 10
|
||||
MaxIdle: 10
|
||||
MinIdle: 1
|
||||
MaxWaitMillis: 30000
|
||||
MinEvictableIdleTimeMillis: 1800000
|
||||
28
plugin/src/main/resources/game-groups.yml
Normal file
28
plugin/src/main/resources/game-groups.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
mixed_accurate_click_group:
|
||||
groups:
|
||||
- accurate_click_group:6
|
||||
- rainbow_group:1
|
||||
accurate_click_group:
|
||||
difficulty: 10~60
|
||||
time: 10~15
|
||||
games:
|
||||
- accurate_click_bar_1:3
|
||||
- accurate_click_bar_2:3
|
||||
- accurate_click_bar_3:3
|
||||
- accurate_click_bar_4:3
|
||||
- accurate_click_bar_5:3
|
||||
- accurate_click_bar_6:3
|
||||
- accurate_click_bar_7:3
|
||||
- accurate_click_bar_8:3
|
||||
- accurate_click_bar_9:3
|
||||
rainbow_group:
|
||||
difficulty: 10~60
|
||||
time: 10~15
|
||||
games:
|
||||
- rainbow_1:1
|
||||
- rainbow_2:1
|
||||
- rainbow_3:1
|
||||
- rainbow_4:1
|
||||
- rainbow_5:1
|
||||
- rainbow_6:1
|
||||
- rainbow_7:1
|
||||
83
plugin/src/main/resources/loot-conditions.yml
Normal file
83
plugin/src/main/resources/loot-conditions.yml
Normal file
@@ -0,0 +1,83 @@
|
||||
# global 条件组
|
||||
global-group:
|
||||
list: []
|
||||
conditions: {}
|
||||
sub-groups:
|
||||
loots_in_water:
|
||||
conditions:
|
||||
in-lava: false
|
||||
list:
|
||||
- rubbish:+15
|
||||
sub-groups:
|
||||
ocean_fish:
|
||||
conditions:
|
||||
biome:
|
||||
- minecraft:ocean
|
||||
- minecraft:deep_ocean
|
||||
- minecraft:cold_ocean
|
||||
- minecraft:deep_cold_ocean
|
||||
- minecraft:frozen_ocean
|
||||
- minecraft:deep_frozen_ocean
|
||||
- minecraft:lukewarm_ocean
|
||||
- minecraft:deep_lukewarm_ocean
|
||||
- minecraft:warm_ocean
|
||||
list:
|
||||
- rubbish:-10
|
||||
- tuna_fish:+15
|
||||
- tuna_fish_silver_star:+3
|
||||
- tuna_fish_golden_star:+1
|
||||
- pike_fish:+15
|
||||
- pike_fish_silver_star:+3
|
||||
- pike_fish_golden_star:+1
|
||||
- sardine_fish:+15
|
||||
- sardine_fish_silver_star:+3
|
||||
- sardine_fish_golden_star:+1
|
||||
sub-groups:
|
||||
warm_ocean_fish:
|
||||
conditions:
|
||||
biome:
|
||||
- minecraft:lukewarm_ocean
|
||||
- minecraft:deep_lukewarm_ocean
|
||||
- minecraft:warm_ocean
|
||||
list:
|
||||
- blue_jellyfish:+15
|
||||
- blue_jellyfish_silver_star:+3
|
||||
- blue_jellyfish_golden_star:+1
|
||||
- pink_jellyfish:+15
|
||||
- pink_jellyfish_silver_star:+3
|
||||
- pink_jellyfish_golden_star:+1
|
||||
river_fish:
|
||||
conditions:
|
||||
'!biome':
|
||||
- minecraft:ocean
|
||||
- minecraft:river
|
||||
- minecraft:frozen_river
|
||||
- minecraft:frozen_ocean
|
||||
- minecraft:lukewarm_ocean
|
||||
- minecraft:warm_ocean
|
||||
list:
|
||||
- rubbish:+5
|
||||
- gold_fish:+15
|
||||
- gold_fish_silver_star:+3
|
||||
- gold_fish_golden_star:+1
|
||||
- perch_fish:+15
|
||||
- perch_fish_silver_star:+3
|
||||
- perch_fish_golden_star:+1
|
||||
- mullet_fish:+15
|
||||
- mullet_fish_silver_star:+3
|
||||
- mullet_fish_golden_star:+1
|
||||
- carp_fish:+25
|
||||
- carp_fish_silver_star:+5
|
||||
- carp_fish_golden_star:+2
|
||||
sub-groups:
|
||||
swamp_fish:
|
||||
list: []
|
||||
conditions:
|
||||
biome:
|
||||
- minecraft:swamp
|
||||
- minecraft:mangrove_swamp
|
||||
loots_in_lava:
|
||||
conditions:
|
||||
in-lava: true
|
||||
list:
|
||||
- obsidian:+10
|
||||
54
plugin/src/main/resources/market.yml
Normal file
54
plugin/src/main/resources/market.yml
Normal file
@@ -0,0 +1,54 @@
|
||||
# Container title
|
||||
title: '<gradient:#A52A2A:#800000:#A52A2A>Fish Market</gradient>'
|
||||
|
||||
# Market menu layout
|
||||
layout:
|
||||
- 'AAAAAAAAA'
|
||||
- 'AIIIIIIIA'
|
||||
- 'AIIIIIIIA'
|
||||
- 'AIIIIIIIA'
|
||||
- 'AAAABAAAA'
|
||||
|
||||
# Price formula (For customfishing loots)
|
||||
price-formula: '{base} + {bonus} * {size}'
|
||||
|
||||
# Item price (For vanilla items & other plugin items)
|
||||
item-price:
|
||||
# Vanilla Items
|
||||
COD: 10
|
||||
PUFFERFISH: 10
|
||||
SALMON: 10
|
||||
TROPICAL_FISH: 10
|
||||
# PAPER (CustomModelData: 999)
|
||||
PAPER:999: 5
|
||||
|
||||
# Functional icons
|
||||
functional-icons:
|
||||
sell-icon:
|
||||
symbol: 'B'
|
||||
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>'
|
||||
action:
|
||||
message:
|
||||
type: message
|
||||
text: 'You earned {money}$ from selling the fish! You can still gain {remains}$ from selling fish today'
|
||||
chance: 1.0
|
||||
deny-icon:
|
||||
symbol: 'B'
|
||||
material: REDSTONE_BLOCK
|
||||
display:
|
||||
name: '<red><bold>● <bold:false>Denied'
|
||||
lore:
|
||||
- '<font:uniform><gradient:#E6E6FA:red:#E6E6FA>Nothing to sell!</gradient></font>'
|
||||
item-slot:
|
||||
symbol: 'I'
|
||||
|
||||
decorative-icons:
|
||||
glass-pane:
|
||||
symbol: 'A'
|
||||
material: BLACK_STAINED_GLASS_PANE
|
||||
display:
|
||||
name: ' '
|
||||
39
plugin/src/main/resources/messages/chinese.yml
Normal file
39
plugin/src/main/resources/messages/chinese.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
#MiniMessage Format
|
||||
#https://docs.adventure.kyori.net/minimessage/format.html
|
||||
messages:
|
||||
prefix: '<gradient:#0070B3:#A0EACF>[CustomFishing] </gradient>'
|
||||
reload: '重载成功.'
|
||||
no-perm: '你没有权限!'
|
||||
not-online: '玩家 {Player} 不在线!'
|
||||
item-not-exist: '此物品不存在!'
|
||||
player-not-exist: '此玩家不存在!'
|
||||
escape: '太久没拉钩鱼儿跑走啦!'
|
||||
give-item: '成功给予玩家 {Player} {Amount}x {Item}.'
|
||||
get-item: '成功获得 {Amount}x {Item}.'
|
||||
no-console: '这个指令不能由控制台执行!'
|
||||
wrong-amount: '不能给玩家数量为负数的物品!'
|
||||
lack-args: '参数不足.'
|
||||
none-args: '非空参数!'
|
||||
invalid-args: '无效参数!'
|
||||
possible-loots: '此处可能钓到: '
|
||||
reach-sell-limit: '你今天已经卖了很多鱼了!明天再来吧~'
|
||||
split-char: ','
|
||||
no-loot: '这个地方什么鱼都没有!'
|
||||
players-not-enough: '玩家数量不足,钓鱼比赛无法如期举行!'
|
||||
no-rank: '未上榜'
|
||||
force-competition-success: '成功强制进行钓鱼比赛!'
|
||||
force-competition-failure: '此比赛不存在!'
|
||||
force-competition-end: '已强制结束当前正在进行的比赛!'
|
||||
force-competition-cancel: '已强制取消当前正在进行的比赛!'
|
||||
hook-other-entity: '你的鱼钩被其他生物钩走了!'
|
||||
no-rod: '你必须使用特殊鱼竿才能获得战利品!'
|
||||
no-player: '虚位以待'
|
||||
no-score: '无分数'
|
||||
set-statistics: '成功将玩家 {Player} 的 {Loot} 捕获次数设置为 {Amount}'
|
||||
reset-statistics: '成功重置玩家 {Player} 的统计数据'
|
||||
negative-statistics: '不能设置此数据为负数'
|
||||
statistics-not-exist: '此统计数据不存在'
|
||||
total_score: '总分数'
|
||||
catch_amount: '捕鱼总数'
|
||||
max_size: '最大尺寸'
|
||||
total_size: '总尺寸'
|
||||
26
plugin/src/main/resources/messages/english.yml
Normal file
26
plugin/src/main/resources/messages/english.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
#MiniMessage Format
|
||||
#https://docs.adventure.kyori.net/minimessage/format.html
|
||||
config-version: '26'
|
||||
|
||||
messages:
|
||||
prefix: '<gradient:#0070B3:#A0EACF>[CustomFishing] </gradient>'
|
||||
reload: '<white>Reloaded. Took <green>{time}ms.'
|
||||
item-not-exist: 'That item does not exist.'
|
||||
escape: 'It has been too long since the fish is hooked. Oh my god, it escaped.'
|
||||
give-item: 'Successfully given player {player} {amount}x {item}.'
|
||||
get-item: 'Successfully got {amount}x {item}.'
|
||||
possible-loots: 'Possible loots here: '
|
||||
split-char: ', '
|
||||
competition-not-exist: 'Competition {id} does not exist.'
|
||||
no-competition-ongoing: 'There''s no competition ongoing.'
|
||||
stop-competition: 'Successfully stopped the current competition.'
|
||||
end-competition: 'Successfully ended the current competition.'
|
||||
no-score: 'No Score'
|
||||
no-player: 'No Player'
|
||||
no-rank: 'No Rank'
|
||||
goal-catch-amount: 'Amount of fish caught'
|
||||
goal-max-size: 'Max size of the fish caught'
|
||||
goal-total-size: 'Total size of the fish caught'
|
||||
goal-total-score: 'Total score of the fish caught'
|
||||
unsafe-modification: 'You can''t edit a player''s fishing bag when the player is playing on another server that connected to the database'
|
||||
never-played: 'Player {player} has never played the server. You can''t edit a non existent player''s fishing bag.'
|
||||
39
plugin/src/main/resources/messages/spanish.yml
Normal file
39
plugin/src/main/resources/messages/spanish.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
#MiniMessage Format
|
||||
#https://docs.adventure.kyori.net/minimessage/format.html
|
||||
messages:
|
||||
prefix: '<gradient:#0070B3:#A0EACF>[CustomFishing] </gradient>'
|
||||
reload: 'Recarga con éxito.'
|
||||
no-perm: 'No tienes permiso.'
|
||||
not-online: 'Los jugadores no están en línea.'
|
||||
item-not-exist: 'Ese itemartículo no existe!'
|
||||
player-not-exist: 'Ese jugador no existe!'
|
||||
escape: 'Ha pasado demasiado tiempo desde que tiré del anzuelo y el pez huyó.'
|
||||
give-item: 'Se dio con éxito a los jugadores {Player} {Amount}x {Item}.'
|
||||
get-item: 'Obtenido con éxito {Amount}x {Item}.'
|
||||
no-console: '¡Este comando no puede ser ejecutado por la consola!'
|
||||
wrong-amount: 'No puedes dar a un jugador un artículo con una cantidad negativa.'
|
||||
lack-args: 'Parámetros insuficientes.'
|
||||
none-args: '¡Ningún argumento!'
|
||||
invalid-args: 'Argumentos no válidos'
|
||||
possible-loots: 'Posible pesca aquí: '
|
||||
reach-sell-limit: '¡Ganaste mucho dinero vendiendo pescado! Ven mañana.'
|
||||
split-char: ', '
|
||||
no-loot: '¡No hay peces en este lugar!'
|
||||
players-not-enough: 'El número de jugadores no es suficiente para que el torneo de pesca se celebre como estaba previsto.'
|
||||
no-rank: 'No está en la lista'
|
||||
force-competition-success: '¡Forzar con éxito un concurso de pesca!'
|
||||
force-competition-failure: '¡Este concurso no existe!'
|
||||
force-competition-end: '¡Obligado a terminar el partido en curso!'
|
||||
force-competition-cancel: '¡Cancelación forzosa del partido en curso!'
|
||||
hook-other-entity: '¡El bobber está enganchado a otra entidad!'
|
||||
no-rod: 'Hay que obtener una vara especial para conseguir botines'
|
||||
no-player: 'Ningún jugador'
|
||||
no-score: 'Sin puntuación'
|
||||
set-statistics: 'Correctamente establecido {Player} {Loot} estadísticas a {Amount}'
|
||||
reset-statistics: 'Reseteado con exito {Player} estadisticas'
|
||||
negative-statistics: 'El tiempo no puede ser inferior a 0'
|
||||
statistics-not-exist: 'Esta estadistica no existe'
|
||||
total_score: 'Total score'
|
||||
catch_amount: 'Catch amount'
|
||||
max_size: 'Max size'
|
||||
total_size: 'Total size'
|
||||
40
plugin/src/main/resources/messages/turkish.yml
Normal file
40
plugin/src/main/resources/messages/turkish.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
#MiniMessage Format
|
||||
#https://docs.adventure.kyori.net/minimessage/format.html
|
||||
#(ler) / (lar) meeans -s in English, which makes words plural -translator
|
||||
messages:
|
||||
prefix: '<gradient:#0070B3:#A0EACF>[CustomFishing] </gradient>'
|
||||
reload: '<white>Yenilendi. <green>{time}ms <white>sürdü.'
|
||||
no-perm: 'Yeterli yetkin yok.'
|
||||
not-online: 'Bu oyuncu aktif değil.'
|
||||
item-not-exist: 'Böyle bir eşya bulunamadı.'
|
||||
player-not-exist: 'Böyle bir oyuncu bulunamadı.'
|
||||
escape: 'Balık çoktan tutuldu. Aman tanrım, o kaçtı.'
|
||||
give-item: '{Player} adlı oyuncuya {Amount}x {Item} verildi.'
|
||||
get-item: 'Başarıyla {Amount}x {Item} aldın.'
|
||||
no-console: 'Bu komut konsoldan çalıştırılamaz.'
|
||||
wrong-amount: 'Eşya miktarını negatif olarak belirleyemezsin.'
|
||||
lack-args: 'Yetersiz argüman(lar). (argüman örneği: /komut <argüman>)'
|
||||
none-args: 'Bir argüman girmelisin. (argüman örneği: /komut <argüman>)'
|
||||
invalid-args: 'Geçersiz argüman(lar). (argüman örneği: /komut <argüman>)'
|
||||
possible-loots: 'Şurada hazine olabilir: '
|
||||
split-char: ', '
|
||||
hook-other-entity: 'Olta başka bir canlıya bağlı.'
|
||||
reach-sell-limit: 'Balık satmaktan çok fazla para kazandın! Yarın gel.'
|
||||
no-loot: 'Burada balık yok.'
|
||||
players-not-enough: 'Balık tutma yarışmasının planlandığı gibi başlaması için yeterli oyuncu yok.'
|
||||
force-competition-success: 'Zorla bir balık tutma yarışması başlatıldı.'
|
||||
force-competition-failure: 'Böyle bir yarışma bulunamadı.'
|
||||
force-competition-end: 'Zorla mevcut yarışma sona erdirildi.'
|
||||
force-competition-cancel: 'Zorla yarışma iptal ettirildi.'
|
||||
no-rod: 'Hazineleri elde etmek için özel bir olta ile balık tutman lazım.'
|
||||
no-rank: 'Rütbe Yok'
|
||||
no-player: 'Oyuncu yok'
|
||||
no-score: 'Puan yok' #score is being translated to point here -translator
|
||||
set-statistics: '{Player} adlı oyuncunun {Loot} istatistikleri {Amount} ile başarıyla değiştirildi.'
|
||||
reset-statistics: '{Player} adlı oyuncunun istatistikleri başarıyla sıfırlandı.'
|
||||
negative-statistics: 'Miktar sıfırdan düşük olmayan bir şey olmalı.'
|
||||
statistics-not-exist: 'Böyle bir istatistik(ler) bulunamadı.'
|
||||
total_score: 'Total score'
|
||||
catch_amount: 'Catch amount'
|
||||
max_size: 'Max size'
|
||||
total_size: 'Total size'
|
||||
39
plugin/src/main/resources/plugin.yml
Normal file
39
plugin/src/main/resources/plugin.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
name: CustomFishing
|
||||
version: '${version}'
|
||||
main: net.momirealms.customfishing.CustomFishingPluginImpl
|
||||
api-version: 1.17
|
||||
authors: [ XiaoMoMi ]
|
||||
folia-supported: true
|
||||
depend:
|
||||
- ProtocolLib
|
||||
softdepend:
|
||||
- Vault
|
||||
- PlaceholderAPI
|
||||
|
||||
- RealisticSeasons
|
||||
|
||||
- ItemsAdder
|
||||
- MythicMobs
|
||||
- Oraxen
|
||||
- eco
|
||||
- MMOItems
|
||||
|
||||
- mcMMO
|
||||
- AureliumSkills
|
||||
- CustomCrops
|
||||
- MMOCore
|
||||
- EcoSkills
|
||||
|
||||
- BattlePass
|
||||
- ClueScrolls
|
||||
- BetonQuest
|
||||
|
||||
- AdvancedEnchantments
|
||||
- EcoEnchants
|
||||
|
||||
- Jobs
|
||||
- EcoJobs
|
||||
|
||||
permissions:
|
||||
fishingbag.user:
|
||||
default: true
|
||||
7
plugin/src/main/resources/schema/h2.sql
Normal file
7
plugin/src/main/resources/schema/h2.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE IF NOT EXISTS `{prefix}_data`
|
||||
(
|
||||
`uuid` char(36) NOT NULL UNIQUE,
|
||||
`lock` INT NOT NULL,
|
||||
`data` longblob NOT NULL,
|
||||
PRIMARY KEY (`uuid`)
|
||||
);
|
||||
11
plugin/src/main/resources/schema/mariadb.sql
Normal file
11
plugin/src/main/resources/schema/mariadb.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
SET DEFAULT_STORAGE_ENGINE = INNODB;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `{prefix}_data`
|
||||
(
|
||||
`uuid` char(36) NOT NULL UNIQUE,
|
||||
`lock` INT NOT NULL,
|
||||
`data` longblob NOT NULL,
|
||||
PRIMARY KEY (`uuid`)
|
||||
) ENGINE = InnoDB
|
||||
DEFAULT CHARSET = utf8mb4
|
||||
COLLATE = utf8mb4_unicode_ci;
|
||||
7
plugin/src/main/resources/schema/mysql.sql
Normal file
7
plugin/src/main/resources/schema/mysql.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE IF NOT EXISTS `{prefix}_data`
|
||||
(
|
||||
`uuid` char(36) NOT NULL UNIQUE,
|
||||
`lock` INT NOT NULL,
|
||||
`data` longblob NOT NULL,
|
||||
PRIMARY KEY (`uuid`)
|
||||
);
|
||||
7
plugin/src/main/resources/schema/sqlite.sql
Normal file
7
plugin/src/main/resources/schema/sqlite.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE IF NOT EXISTS `{prefix}_data`
|
||||
(
|
||||
`uuid` char(36) NOT NULL UNIQUE,
|
||||
`lock` INT NOT NULL,
|
||||
`data` longblob NOT NULL,
|
||||
PRIMARY KEY (`uuid`)
|
||||
);
|
||||
Reference in New Issue
Block a user