猹のPVP
配置文件
yml
############################
# 插件验证 #
############################
apiKey: "请输入CDKey"
############################
# 数 据 库 #
############################
database:
schema: "cha_plugin"
# mysql数据库账号密码
username: "root"
password: "root"
# mysql数据库地址端口
host: "localhost"
port: "3306"
# 是否共享连接池
share: true
############################
# 系统设置 #
############################
# 需要移除的属性
attribute:
- "魔法攻击"
- "魔法防御"
# 需要固定的属性
attribute-fix:
攻击力: 100
生命力: 100
# PVP房间设置
room:
房间1:
# 玩家1出生点
p1: "pvp_world,0,0,0"
# 玩家2出生点
p2: "pvp_world,10,0,0"
# 进图指令,玩家1和玩家2各执行一遍
cmd:
- "op:heal"
房间2:
p1: "pvp_world,0,0,100"
p2: "pvp_world,10,0,100"
# 匹配条件
condition:
- "%player_level% > 3"
- "'%player_name%' != 'op'"
# 胜负点数
win: 10
lose: 1
# 单局时长(秒)
time: 600
# 每日匹配上限
daily: 10
# 结束后返回出生点
spawn: "world,0,0,0"
# 积分奖励
score:
100:
- "op: say 领取100奖励"
1000:
- "op: say 领取1000奖励"
10000:
- "op: say 领取10000奖励"
# 段位
rank:
0: "青铜"
100: "白银"
200: "黄金"
300: "钻石"
# 排名奖励
monthly:
1:
- "op: say 领取第一名奖励"
2:
- "op: say 领取第二名奖励"
3:
- "op: say 领取第三名奖励"
4:
- "op: say 领取第四名奖励"
5:
- "op: say 领取第五名奖励"
# 每月重置
cron: "0 0 0 1 * ? *"
语言文件
yml
matching-already: "§c你已经在匹配中了"
matching-already-pvp: "§c你已经在PVP中了"
matching-not: "§c你不在匹配中"
matching-no-room: "§c当前PVP房间已满"
matching-start: "§a匹配中..."
matching-stop: "§c匹配已停止"
matching-success: "§a匹配成功,你的对手是:{player}"
matching-daily-max: "§c你今天已经到了匹配上限"
matching-condition-failed: "§c你未满足匹配条件"
win-offline: "§c【获胜】你的对手{player}离开了服务器"
win: "§a【获胜】你击败了{player}"
lose: "§c【失败】你被{player}击败了"
timeout: "§c【失败】PVP超时未决出胜负"
not-start: "§cPVP还未开始"
reward-score-unsatisfied: "§c你的分数还未达到,无法领取奖励"
reward-score-already-claimed: "§c你已经领取过奖励了"
reward-score-not-found: "§c未找到该奖励"
reward-score-success: "§a奖励领取成功"
reward-monthly-already-claimed: "§c你已经领取过奖励了"
reward-monthly-not-found: "§c未满足每月奖励领取条件"
reward-monthly-success: "§a每月奖励领取成功"
title: "§aPVP活动剩余{m}分{s}秒"
duel-invite-send: "§a已发送决斗邀请"
duel-invite-receive: "§a{player}向你发送了决斗邀请,请在1分钟内接受"
duel-invite-accept: "§a{player}接受了你的决斗邀请"
duel-invite-null: "§c没有收到决斗邀请"
rank-null: "暂无排名"