- ◆ 支持核心
- CatServer
- ◆ 插件前置
- PlaceholderAPI
前言
简介
视频介绍 - 实际效果参考截图
插件部分
以下内容版本过老,正在更新中~~~~~~~~~
机器人部分
Config.yml配置
Language.yml配置
Mysql.yml配置
Redis.yml配置
Rule.yml配置
简介
视频介绍 - 实际效果参考截图
插件部分
以下内容版本过老,正在更新中~~~~~~~~~
机器人部分
Config.yml配置
YAML:
# 如果你想使用作者的QQ机器人检测服务器是否有恶意刷屏和插件异常,请打开
# 如果你想要更高的性能,请关闭此选项(实际上性能伤害并不大)
# 获取机器人请添加作者QQ: 776936629
# 具体配置请参见 redis.yml
isUseRedis: FALSE
# 这个插件必须使用MYSQL作为连接模式。
# 如果你想让插件正常工作,不要改变这个选项
backend: MYSQL
# 指令白名单
whiteOrder: []
Language.yml配置
YAML:
# You can use the title mode (only PlayerMessage)
# For example
# ----------------- Title ----------------
# <title>Your level has reached its upper limit</title> <subTitle>Please use grade elevator</subTitle> <in>10</in> <out>20</out> <keep>70</keep>
# <title> - message in the title
# <subTitle> - message in the subTitle
# <in> – time in ticks for titles to fade in. Defaults to 10.
# <out> – time in ticks for titles to fade out. Defaults to 20.
# <keep> – time in ticks for titles to stay. Defaults to 70.
PlayerMessage:
Error:
# 当没有足够权限使用某项命令时,该消息会被触发
# This message is fired when a command is not authorized enough to use
permissionDenied: "&4Permission denied"
# 当您的数据库中没有任何赛季信息时,该消息会被触发
# This message is triggered when you do not have any season information in your database
noSeason: "&4There is no season"
# 当重载配置文件失败,该消息会被触发
# This message is triggered when to reload profile errors
reloadError: "&4Reload error, Maybe not find"
# 当删除赛季时,未找到赛季信息该消息会被触发
# When deleting a season, this message is triggered if the season information is not found
deleteSeason: "&4Deletion failed, possibly because the season information was not found"
# 当删除赛季时,出错时该消息会被触发
# This message is triggered when an error occurs when deleting a season
deleteSeasonError: "&4Deletion error"
# 当创建赛季时,主题过长或者主题为空或者位置错误时该消息会被触发(长度不可大于12)
# This message will be triggered if the theme is too long or if the theme is empty or in the wrong position when creating a season (length cannot be greater than 12)
createSeasonTheme: "&4Create error, SeasonTheme formal error, The length cannot be greater than 12"
# 当创建赛季时,开始日期格式错误,或者开始日期小于当前日期该消息会被触发
# When creating a season, the start date format is incorrect, or the start date is less than the current date
createSeasonStartTime: "&4The start date format is incorrect. The start date cannot be later than the current date"
# 当创建赛季时,结束日期格式错误,或者结束日期小于当前日期, 或者结束日期小于等于开始日期该消息会被触发
# When creating a season, the end date format is incorrect, or the end date is less than the current date, or the end date is less than or equal to the start date
createSeasonEndTime: "&4The end date format is incorrect. The end date cannot be later than the current date or the start date"
# 当创建赛季时,出错时该消息会被触发
# This message is triggered when an error occurs when creating a season
createSeasonError: "&4Creation error"
Success:
# 当加入对战列队成功时,该消息会被触发
# {{MatchingNum}} 代表有多少人在列队中
# This message is triggered when joining the battle queue is successful
# {{MatchingNum}} is How many People joined the battle queue
joinSuccessfully: "Join success {{MatchingNum}}"
# 当退出对战列队成功时,该消息会被触发
# This message is triggered when exit from the battle queue is successful
exitSuccessfully: "Exit success"
# 当重载配置文件成功时,该消息会被触发
# This message is triggered when to reload profile succeeds
reloadSuccessfully: "Reload success"
# 当删除赛季成功时,该消息会被触发
# This message is triggered when deleting a season is successful
deleteSeasonSuccessfully: "Deletion success"
# 当创建赛季成功时,该消息会被触发
# This message is triggered when creating a season is successful
createSeasonSuccessfully: "Creation success"
Warning:
# 当一个已经加入排位的玩家再次加入排位时,该消息会被触发
# The message is triggered when the player in the queue joins the queue again
joined: "&4You have joined the battle queue"
# 当一个并没有加入排位的玩家退出排位时,该消息会被触发
# This message is triggered when a player who is not in the queue exits the queue
noJoined: "&4You must join the battle queue to use this command"
# 当玩家在比赛中输入非白名单命令时,该消息会被触发
# This message is triggered when the player enters a non-whiteling command during the match
disallowInputInstructions: "&4Do not use this command during battle"
# 当玩家在比赛中使用传送门传送时,会触发此消息
# This message is triggered when a player uses a portal to teleport in a match
disallowPortal: "&4Teleportation to other worlds is prohibited during the battle"
# 当玩家输入未知指令时,该消息会被触发
# This message is triggered when the player enters an unknown command
unknownMessage: "&4Unknown instruction"
Rule:
# 当玩家加入排位时如果他背包存在非法宝可梦,该消息会被触发
# {{PokemonName}} 代表被禁用口袋妖怪的名字,他起到占位符效果
# This message will be triggered when the player ranks if he has an illegal Pokemon in his backpack
# {{PokemonName}} is the name of banned Pokemon
bannedPokemon: "&4Pokemon {{PokemonName}} is forbidden to appear in battle"
# 当玩家加入排位时如果他背包存在禁止技能,该消息会被触发
# {{PokemonMoves}} 代表被禁用口袋妖怪的技能名字,他起到占位符效果
# This message is triggered when the player ranks if he has a forbidden moves in his backpack
# {{PokemonMoves}} is the name of banned Pokemon’s moves
bannedMoves: "&4Moves {{PokemonMoves}} is forbidden to appear in battle"
# 当玩家加入排位时如果他背包存在禁止特性,该消息会被触发
# {{PokemonAbility}} 代表被禁用口袋妖怪的特性名字,他起到占位符效果
# This message is triggered when the player ranks if he has a forbidden ability in his backpack
# {{PokemonAbility}} is the name of banned Pokemon’s ability
bannedAbility: "&4Ability {{PokemonAbility}} is forbidden to appear in battle"
# 当玩家加入排位时如果他背包存在禁止形态,该消息会被触发
# {{PokemonStyle}} 代表被禁用口袋妖怪的形态名字,他起到占位符效果
# This message is triggered when the player ranks if he has a forbidden style in his backpack
# {{PokemonStyle}} is the name of banned Pokemon’s style
bannedStyle: "&4Style {{PokemonStyle}} is forbidden to appear in battle"
# 当玩家加入排位时如果他背包存在非本人的宝可梦,该消息会被触发
# {{PokemonName}} 代表非本人口袋妖怪的名字,他起到占位符效果
# This message will be triggered when the player ranks if there is a Pokemon in his backpack that is not his own
# {{PokemonName}} is the name of Pokemon
mustPokemonOwner: "&4Pokemon {{PokemonName}} The initial trainer must be you"
# 当玩家没有健康的宝可梦时,该消息会被触发
# This message is triggered when the player has no healthy Pokemon
mustHealthyPokemon: "&4You must have a healthy Pokemon"
# You can use the bossBar mode (only BroadcastMessage)
# For example
# ----------------- BossBar ----------------
# 暂时不支持 Suspension of development
BroadcastMessage:
Success:
# 当对战结束如果双方取得平局时,该消息会被触发
# {{PlayerA}} 代表玩家A的名字,他起到占位符效果 || {{PlayerB}} 代表玩家B的名字,他起到占位符效果
# This message is triggered when the match ends if the two sides are tied
# {{PlayerA}} is for PlayerA's name {{PlayerB}} is for PlayerB's name
rankDraw: "Player {{PlayerA}} and Player {{PlayerB}} are tied"
# 当对战结束如果有一方取得胜利时,该消息会被触发
# {{Victor}} 代表胜利者的名字,他起到占位符效果 || {{Loser}} 代表失败者的名字,他起到占位符效果
# This message is triggered when the battle ends if one side wins
# {{Victor}} is for victor's name || {{Loser}} is for loser's name
rankEnd: "Player {{Victor}} wins over {{Loser}}"
ConsoleMessage:
Error:
# 当您以非玩家的身份输入某项命令时,如果该命令必须由玩家执行,该消息会被触发
# When you enter a command as a non-player, the message is triggered if the command must be executed by the player
nonPlayer: "&4You are not a Player"
Redis:
# 当对战异常结束时,QQ机器人向OP发送的内容
# {{PlayerA}} 代表玩家A的名字,他起到占位符效果 || {{PlayerB}} 代表玩家B的名字,他起到占位符效果
# The content that QQ bot sends to OP when the battle ends abnormally
# {{PlayerA}} is for PlayerA's name {{PlayerB}} is for PlayerB's name
battleAbnormal: "The battle between {{PlayerA}} and {{PlayerA}} ends abnormally"
# 当玩家可能存在恶意战斗时,QQ机器人向OP发送的内容
# {{Victor}} 代表胜利者的名字,他起到占位符效果 || {{Loser}} 代表失败者的名字,他起到占位符效果
# What the QQ bot sends to the OP when the player may have a malicious fight
# {{Victor}} is for victor's name || {{Loser}} is for loser's name
battleSpite: "{{Victor}} got the better of {{Loser}}, They probably did it on purpose"
# 当玩家很大可能存在恶意战斗时,QQ机器人向OP发送的内容
# {{Victor}} 代表胜利者的名字,他起到占位符效果 || {{Loser}} 代表失败者的名字,他起到占位符效果
# What the QQ bot sends to the OP when there is a high likelihood of malicious fighting
# {{Victor}} is for victor's name || {{Loser}} is for loser's name
battleSpiteMedium: "{{Victor}} got the better of {{Loser}}, probably on purpose"
# 当玩家极大可能存在恶意战斗时,QQ机器人向OP发送的内容
# {{Victor}} 代表胜利者的名字,他起到占位符效果 || {{Loser}} 代表失败者的名字,他起到占位符效果
# What the QQ bot sends to the OP when the player is most likely to have a malicious fight
# {{Victor}} is for victor's name || {{Loser}} is for loser's name
battleSpiteHigher: "{{Victor}} got the better of {{Loser}}, most likely on purpose"
Mysql.yml配置
YAML:
DataSource:
# 数据库服务器地址
# Mysql host
mySQLHost: 127.0.0.1
# 数据库服务器端口号
# Mysql port
mySQLPort: 8000
# 是否使用SSL连接
# Whether to use SSL connection
mySQLUseSSL: FALSE
# Mysql 连接名
# Mysql user name
mySQLUsername: ROOT
# Mysql 密码
# Mysql password
mySQLPassword: PASSWORD
# Mysql 库名
# Mysql database
mySQLDatabase: DATABASE
Redis.yml配置
YAML:
Jedis:
# Redis 服务器地址
# Redis host
jedisHost: 127.0.0.1
# Redis 服务器端口号
# Redis port
jedisPort: 8000
# Redis 密码
# Redis password
jedisPassword: PASSWORD
# 恶意战斗检测间隔
# 在 n*5、n*10、n*15 秒内,如果QQ机器人监听到恶意行为,它会给你的QQ发送一条消息
# 如果您不清楚此项,请不要更改它
# Malicious battle detection interval
# Within 5n or 10n or 15n seconds, if the QQ robot listens to the malicious behavior, it will send a message to your QQ
# If you are not clear about this, please do not change it
brushInterval: 150
# 排位排名结束检测时间
# 在 n 秒内,如果QQ机器人检测到任何异常,它会给你的QQ发送消息
# 如果您不清楚此项,请不要更改它
# Abnormal battled ended the detection time
# Within n seconds, if the QQ robot detects any abnormality, it will send a message to your QQ
# If you are not clear about this, please do not change it
battleAbnormal: 300
# 恶意对战警告保持时间
# 在 n 秒内,如果QQ机器人没能给你发送消息,我们将会移除该条消息
# 如果您不清楚此项,请不要更改它
# Malicious battle warning hold time
# If the QQ bot fails to send you a message within n seconds, we will remove the message
# If you are not clear about this, please do not change it
battleSpite: 1800
Rule.yml配置
YAML:
# 对战类型 - SINGLE(单打) DOUBLE(双打)
# Battle type SINGLE(1) DOUBLE(2)
battleType: "SINGLE"
# 宝可梦使用数量 - 最小 1 - 最大 6
# Pokemon Num - min 1 - max 6
numPokemon: 6
# 治疗恢复 - 对战开始前,是否将宝可梦恢复至满血(死亡状态宝可梦除外)
# Healing Recovery - Whether to restore pokemon to full health before battle (except pokemon in dead state)
healingRecovery: true
# 设置对战等级上限
# Set the battle level ceiling
levelCeiling: 50
# 将宝可梦等级提升至等级上限
# Raise pokemon level to its maximum level
RaiseToCap: false
# 是否开启宝可梦初训家必须是玩家本人
# When mustPokemonOwner is true, The pokemon owner to use must be yourself
mustPokemonOwner: false
# 队伍预览
# Team preview
teamPreview: true
# 队伍选择时间
# Team select time
teamSelect: 50
# 回合时间
# Turn time
turnTime: 50
# 分级 ou uu ru nu pu
tier: ""
# 是否开启条款
# Open clauses
openClauses: true
# 条款
# Clauses
Clauses:
# 包包条款:玩家不可以在战斗时使用背包中的道具。
bagClause: true
# 接力棒条款:禁止拥有接棒招式的宝可梦。
batonPassClause: false
# 接力仅一次条款:只有一只宝可梦可以拥有接棒招式。
maxOneBatonPass: false
# 喋喋不休规则:禁止拥有喋喋不休招式的宝可梦。
chatter: false
# 降雨规则:禁止拥有降雨特性的宝可梦。
drizzle: false
# 降雨-悠游自如规则:队伍中不可同时存在降雨特性和悠游自如特性。
drizzleSwim: false
# 日照规则:禁止拥有日照特性的宝可梦。
drought: false
# 无限战斗规则:禁止能让战斗无限进行的宝可梦,具体指携带苹野果,并学会回收利用,并学会投掷或治愈波动或痛苦平分的宝可梦。
endlessBattle: false
# 闪避特性规则:禁止拥有沙隐或雪隐特性的宝可梦。
evasionAbility: false
# 闪避招式规则:禁止拥有影子分身或变小招式的宝可梦
evasion: false
# 一站到底规则:禁止逃跑。
forfeitClause: false
# 反转对战规则:属性克制关系反转,原本效果绝佳的变为效果不理想,原本没有效果和效果不理想的变为效果绝佳。不改变特性对属性的影响。
inverseBattle: false
# 携带物品规则:队伍中不可携带重复物品。
noDuplicateItems: false
# 神兽规则:禁止使用神兽。
legendBan: false
# 超级进化规则:禁止携带超级进化石。
megaStone: false
# 心情不定规则:禁止拥有心情不定特性的宝可梦。
moody: false
# 一击必杀规则:禁止拥有一击必杀招式的宝可梦。一击必杀招式包括:地裂,断头钳,角钻,绝对零度。
ohKo: false
# 沙暴规则:禁止拥有沙暴特性的宝可梦。
sandStream: false
# 踩影规则:禁止拥有踩影特性的宝可梦。
shadowTag: false
# 王牌空战规则:使用《宝可梦X / Y》中空中对战的规则。
skyBattle: false
# 催眠规则:战斗中每个队伍只能有一只宝可梦陷入睡眠状态。自己使用睡觉也会触发此规则。
sleepClause: false
# 破壳规则:禁止同时拥有破壳和接棒招式的宝可梦。
smashPass: false
# 冰雹规则:禁止拥有降雪特性的宝可梦。
snowWarning: false
# 心之水滴规则:禁止携带心之水滴的拉帝亚斯或拉帝欧斯。
soulDew: false
# 种类规则:队伍中不可存在重复的宝可梦。
multipleSpecies: false
# 速度规则:如果宝可梦拥有接棒招式,则其不能同时拥有 提升速度的招式/特性 和 提升另一项能力的招式/特性。例如带接棒,高速移动,剑舞的巨钳螳螂。
speedPass: false
# 虚张声势规则:禁止拥有虚张声势招式的宝可梦。
swagger: false
# 天气加速规则:队伍中不可同时存在降雨特性和悠游自如特性 或 日照特性和叶绿素特性 或 沙暴特性和拨沙特性。
weatherSpeed: false
# 是否启用口袋妖怪白名单
# 如果开启此选项,只能使用 blackList 中的宝可梦
# 如果开启此选项,openBlackList 始终为 false
# Whether to enable the pokemon blacklist
# If this option is true, only pokemon in the blackList can be used
# If this option is true, openBlackList is always false
openWhiteList: false
# 当 openWhiteList 开启时只允许使用下列宝可梦
# Only the following pokemon can be used when openWhiteList is enabled
# For example ["pikachu", "ho-oh"]
whiteList: []
# 是否启用口袋妖怪黑名单
# 如果开启此选项 blackList 中的宝可梦将不能出现在战斗中
# Whether to enable the pokemon blacklist
# if this option is true, pokemon in a blackList will no longer appear in combat
openBlackList: false
# 当 openBlackList 开启时下列宝可梦禁止使用
# When openBlackList is true, the following pokemon is prohibited
# For example ["pikachu", "ho-oh"]
blackList: []
# 禁止使用某些技能
# Ban Moves
# For example
# ["Electroweb"]
movesBan: []
# 禁止使用某些特性
# Ban Ability
# For example
# ["Static"]
abilityBan: []
# 禁止使用某只宝可梦的技能
# Ban pokemon Moves
# 宝可梦名称: ["技能1", "技能2"]
# For example
# Pikachu: ["Electroweb"]
pokemonMovesBan: ""
# 禁止使用某只宝可梦的特性
# Ban pokemon Ability
# 宝可梦名称: ["特性1", "特性2"]
# For example
# Pikachu: ["Static"]
pokemonAbilityBan: ""
# 禁止使用某只宝可梦的形态
# Ban pokemon Style
# 宝可梦名称: ["形态1", "形态2"]
# For example
# Raichu: ["Arola"]
pokemonStyleBan: ""