9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-31 21:06:47 +00:00
This commit is contained in:
Xiao-MoMi
2022-10-21 17:07:08 +08:00
parent 69616aab3f
commit 6d3eaf682c
105 changed files with 2085 additions and 116 deletions

View File

@@ -37,8 +37,10 @@ integrations:
MMOItems: false
# Worlds where fishing mechanic takes effects
# 启用本插件的世界
worlds:
# Mode: whitelist/blacklist
# 模式:白名单/黑名单
mode: whitelist
list:
- world
@@ -48,47 +50,55 @@ worlds:
mechanics:
other-loots:
# Should other loots have the same fishing mechanic CustomFishing provides
# 其他战利品是否有插件提供的钓鱼特性
fishing-bar: true
# 原版战利品
vanilla:
# Vanilla loot is available only when 'double-reel-in' is true
enable: true
# 0.4 means 40% of the loots are from vanilla
# and 60% are from CustomFishing Loot system
# 0.4 means 40% of the loots are from vanilla and 60% are from CustomFishing Loot system
# if there's no custom loot, it would definitely be a vanilla loot
# 0.4代表40%的战利品来自于原版60%来自CustomFishing物品库
# 如果钓鱼的地方没有自定义战利品,那么下一个一定是原版战利品
ratio: 0.4
mcMMO:
# mcMMO treasure system
# chance represents the chance to try to be a mcMMO treasure
# But it doesn't mean 50% chance of the loot would be mcMMO treasure
# mcMMO has a complex treasure system
# mcMMO宝藏系统
# 概率代表尝试变成mcMMO宝藏的概率但这不意味着50%概率一定会变成mcMMO宝藏
enable: false
chance: 0.5
# The same to vanilla mechanic (refer to the wiki)
# https://technical-minecraft.fandom.com/wiki/Fishing
need-open-water: false
need-special-rod:
# Players must use rods with CustomFishing's NBT Tags to get loots in CustomFishing but they can experience the special fishing mechanic.
for-loots: false
# Players must use rods with CustomFishing's NBT Tags to experience the special fishing mechanic. Otherwise they can only fish in a vanilla way
to-fish: false
# does rod lose durability when player successfully fish
# Does the special fishing mechanic requires special rod
# 是否需要特殊鱼竿才能体验钓鱼机制
need-special-rod-to-fish: false
# Does rod lose durability when player successfully fish
# 钓鱼成功后是否消耗耐久度
rod-lose-durability: true
# Competition
# 钓鱼比赛
fishing-competition:
enable: true
# Enable redis server for syncing data between servers
# Enable redis server to sync data between servers
# 启用Redis服务器以跨服同步比赛数据
redis: false
# Fishing bag is a place where players can store their baits, utils, rods (Fish optional)
# 渔具袋是玩家存放鱼饵,实用道具,鱼竿的地方,其中的鱼饵会在钓鱼时被消耗
fishing-bag:
enable: true
# Fishing bag window title
# 渔具袋的容器标题
bag-title: '<blue>{player}''s Fishing Bag'
# Can fishing bag store the loots?
# This would add additional NBT Tags to the loot
# 渔具袋是否能存放捕鱼战利品这会在捕鱼战利品上增加额外NBT
can-store-loot: false
# File/MySql
data-storage-mode: File
# Other whitelist-items
# 允许放入渔具袋的其他物品白名单
whitelist-items:
- fishing_rod
# Lava fishing settings
# 岩浆钓鱼设置
lava-fishing:
# ticks
min-wait-time: 100
@@ -103,7 +113,7 @@ titles:
- '<green>Good Job!</green>'
subtitle:
- 'You have captured a {loot}'
- 'Hi Harm Hi {loot} Here we go!'
- '{loot} Here we go!'
fade:
# ticks
in: 10
@@ -125,14 +135,19 @@ titles:
# Other settings
other-settings:
# MONITOR HIGHEST HIGH NORMAL LOW LOWEST
# 事件优先级
event-priority: NORMAL
# If enabled, players would not be able to get job exp in vanilla way
# 如果启用玩家则无法通过原版方式获得Jobs经验
disable-JobsReborn-fishing-exp: false
# Convert MMOItems' rod into CustomFishing's rod
# keep the same key name both in MMOItems and CustomFishing so rods can extend the bonus of those in CustomFishing
# 将MMOItems中的鱼竿转换为CustomFishing的鱼竿只需要保持相同的键名即可继承效果
convert-MMOItems-rods: false
# Prevent other players to pick up your fishing loot
# This is useful for players to fish in a public area
# 防止其他玩家抢夺捕鱼战利品
prevent-other-players-pick-up-loot: false
# Log the money player get from selling the fish in the console
# 后台记录玩家销售鱼类所得金额
log-earnings: true

View File

@@ -1,3 +1,7 @@
# YAML/MySQL/MariaDB
# 存储模式
data-storage-method: YAML
# MySQL settings
MySQL:
host: localhost
@@ -5,15 +9,31 @@ MySQL:
user: root
password: password
database: minecraft
table-name: customfishing_data
property:
use-ssl: false
encoding: utf8
timezone: ''
allowPublicKeyRetrieval: false
# Connection pool settings
table-prefix: customfishing
properties:
cachePrepStmts: 'true'
prepStmtCacheSize: '250'
prepStmtCacheSqlLimit: '2048'
useSSL: 'false'
verifyServerCertificate: 'false'
Pool-Settings:
maximum-pool-size: 10
minimum-idle: 10
maximum-lifetime: 180000
idle-timeout: 60000
MariaDB:
host: localhost
port: 3306
user: root
password: password
database: minecraft
table-prefix: customfishing
properties:
cachePrepStmts: 'true'
prepStmtCacheSize: '250'
prepStmtCacheSqlLimit: '2048'
Pool-Settings:
enable: false
maximum-pool-size: 10
minimum-idle: 10
maximum-lifetime: 180000

View File

@@ -3,15 +3,15 @@
minecraft:luck_of_the_sea:
#levels
1:
weight-PM:
weight-add:
silver: 2
gold: 1
2:
weight-PM:
weight-add:
silver: 3
gold: 2
3:
weight-PM:
weight-add:
silver: 4
gold: 3

View File

@@ -18,7 +18,6 @@ messages:
possible-loots: '此处可能钓到: '
split-char: ','
no-loot: '这个地方什么鱼都没有!'
not-open-water: '这里不是开放水域,你将无法获得任何奖励!'
competition-ongoing: '当前有一场钓鱼比赛进行中! 开始钓鱼以加入比赛获取奖励!'
players-not-enough: '玩家数量不足,钓鱼比赛无法如期举行!'
no-rank: '未上榜'

View File

@@ -18,7 +18,6 @@ messages:
possible-loots: 'Possible loots here: '
split-char: ', '
no-loot: 'There''s no fish in this place!'
not-open-water: 'This is not open water and you will not be able to get any rewards!'
competition-ongoing: 'There is currently a fishing tournament in progress! Start fishing to join the contest for a prize!'
players-not-enough: 'The number of players is not enough for the fishing contest to be held as scheduled!'
no-rank: 'No Rank'

View File

@@ -5,8 +5,8 @@ messages:
reload: 'Recarga con éxito.'
no-perm: 'No tienes permiso.'
not-online: 'Los jugadores no están en línea.'
item-not-exist: '此物品不存在!'
player-not-exist: '此玩家不存在!'
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}.'
@@ -18,7 +18,6 @@ messages:
possible-loots: 'Posible pesca aquí: '
split-char: ', '
no-loot: '¡No hay peces en este lugar!'
not-open-water: 'Esto no son aguas abiertas y no podrás obtener ninguna recompensa.'
competition-ongoing: '¡Actualmente hay un torneo de pesca en curso! Empieza a pescar para participar en el concurso y ganar un premio.'
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'

View File

@@ -3,7 +3,7 @@ skeletalknight:
enable: true
# MythicMobsID
mob: SkeletalKnight
mobID: SkeletalKnight
# The level of the mob
level: 0
@@ -29,7 +29,7 @@ skeletalknight:
piranha:
enable: false
mob: piranha
mobID: piranha
name: 'Piranha'
weight: 50
time: 1000000